-
#WioTerminal – Posts to interact with a #DigitalTwin Door πͺ with Azure IoT βοΈ and Azure Functions
Hi ! Here is the current set of posts on the integration between the Azure IoT door πͺand my Wio Terminal. References Download Arduino IDE Wiki Seeed – Historgram Wiki Seeed β loading Images Wiki Seeed β Installing the File System Library Wiki Seed – Wifi Connectivity GitHub – Arduino_JSON Wikipedia – X BitMap β read more
-
#WioTerminal – Display a #DigitalTwin Door πͺ state using XBitmap with #AzureIoT βοΈ.
Hi ! In today’s post I’ll share an scenario about: Display the state of a door (open / closed) using an XBitmap in Wio Terminal. The door state information come from an Azure Function interacting with Azure Digital Twin. In my previous posts I wrote on how to get data from an Azure Function and… β read more
-
#WioTerminal – Parsing JSON data from an #Azure βοΈ Function !
Hi ! In today’s post I’ll share an scenario about: Invoke an Azure Function to get JSON data, and Parse the JSON data Yesterday I wrote on how to invoke an Azure Function and get JSON data for my Digital Twin scenario. The response from the function is similar to this one: There are several… β read more
-
#WioTerminal – Getting JSON data from an #Azure βοΈ Function !
Hi ! In today’s post I’ll share an scenario about: Invoke an Azure Function to get JSON data In my Digital Twin scenario, I got an Azure Function that returns the current state of a Digital Twin door. The response from the function is similar to this one: So, once the Wio Terminal has internet… β read more
-
#WioTerminal – Connecting to Wifi πΆ, display local IP and get ready for Azure βοΈ scenarios !
Hi ! Another fast post to cover a super important scenario: Connect to a Wifi network in the Wio Terminal. The code and implementation are extremely simple for this, and with a couple of lines of code, we can connect and also display the local IP. Source Code As usual, the full code is below… β read more
-
#WioTerminal – Buttons and Charts time πππ
Hi ! One of the amazing libraries we have to work with the Wio Terminal is one to create charts. And with, only 20 lines of code (or maybe more), we can create a simple app like this one with 3 bars, and every time you press one Button in the Wio Terminal, the bar… β read more
-
#WioTerminal – 1st steps π£, developer steps !
Hi ! I’ll keep this as a reference post for 1st steps developing apps for WioTerminal. And I’ll share the necessary steps for a Hello World app using a countdown and my office! Developer Environment: Arduino IDE This one is easy, we can use the Arduino IDE. Bonus lesson learned here. It’s important to uninstall… β read more
-
#Python π – concatenate video and add blur effect π¦ using moviepy and scikit-image
Hi ! Today I’ll share another cool sample using moviepy, and I’ll also use scikit-image to add some extra effects. This one is again based on the cat videos, and perform this steps: Using the cat video, open 3 video objects with different segments: 1-2 seconds, 2-4 seconds, 4-6 seconds Resize each video to be… β read more
-
#Python π – change video speed in a more complex scenario π¦ using moviepy
Hi ! Today I’ll share another cool sample using moviepy. This one is easy and based on previous posts: Open video and resize to 460 Open video, resize to 460 and speed to x4 Stack both videos Export to Gif The code is super simple Super, easy. It and the output is a 2MB gif… β read more
-
#Python π – 2 lines to create a gif from a video π¦ using moviepy
Hi ! Today I’ll share another cool sample using moviepy. This one is easy: create a gif from a video file. And in this scenario, I added some extra features Use the Video frames from seconds 1 to 5 Resize the output to 50% of the original file The code is super simple Super, easy.… β read more
-
#Python π – Let’s stack and edit some videos π¦ using moviepy
Hi ! Today I’ll share another cool Python library: moviepy. And, as usual let’s share the code, the best way to explain part of this library capabilities Super, easy. It start with 2 cats videos, create 2 new videos with mirroring effects from the source videos, and create a final video with the 4 videos… β read more
-
#Python – Hand Gesture Recognition π€ποΈπ€ using mediapipe
Hi ! It’s been a while since I shared some code samples, so here we go today with a simple series based on MediaPipe. MediaPipe is a great Machine Learning platform with cross-platform and customizable ML solutions. And with Python support! MediaPipe offers customizable Python solutions as a prebuilt Python package on PyPI, which can… β read more
-
#Coding4Fun β How to control your #drone β with 20 lines of code! (24/N) #AzureIoT
Hi ! Final post, so let’s recap We have a device template representing a drone, tracking accelerometer, battery and temperature values. We have created a new device to twin our drone in Azure IoT Central. And, copy the connect information: ScopeId, DeviceId and Key. Let’s use a “get data from drone demo” and publish this… β read more
-
#Coding4Fun β How to control your #drone β with 20 lines of code! (23/N) #AzureIoT
Hi ! Now that we have a device template created, we can create a new device in our Azure IoT Central portal and start to send information to Azure IoT. We start by creating a new device based on the previous template and it’s time to copy and paste the connection information for this device:… β read more
-
#Python – Working with dates π , formats, and subtract for time difference. Timedelta type rocks!
Hi ! I’m switching from C#9 to Python to write this down, so I avoid to search and write this from scratch again and again. My scenario includes very simple operations with dates, Tag a start date time Do some process, I’ll fake it with random sleep Tag a end date time Calculate the different… β read more
-
#Net5 – C#9 “records” and “deconstruction” super cool feature πππ
Hi ! I’m still learning about C#9, and there is a lot to learn about records. And, between all this information, I Just learn a super cool feature related to records: deconstruction. Let’s start with a simple record definition for a pet. This one includes pet’s name and pet’s age: This is fine, init only… β read more
-
#Net5 – C#9 “Init-only properties” are super cool πππ
Hi ! So this one does not fit in the line “readability improvement”, however is a nice step in order to write cleaner code. Yes, I know that doesn’t make sense, let me try to explain. Let’s start with a simple class with 2 properties. Interesting enough the property Age has a new accessor [init]… β read more
-
#Net5 – C#9 logical operators “is” and “is not” are super cool πππ
Hi ! In the line of good features, that are also nice to read, the new use of is and is not is a huge improvement in readability. As usual, old school validation for objects and types: And now, we can type the validation with some style: I like this new one π, now null… β read more
-
#Net5 – C#9 target-typed new expressions are super cool πππ
Hi ! I know I’m late to the party here, however I’m still enjoying some of the new C# 9 features a lot. I just realized that now, I can create objects in a different way, which is still super clear to read. Disclaimer: some of the new features are cool, however my gut told… β read more
-
#Net5 – C#9 “records”, “with” and “this”, a super cool mix πππ
Hi ! Our next podcast episode is focused on .Net 5. We had an amazing chat around a lot of features, and of course, C# 9 was part of the conversation. I got this amazing post [C# 9.0: Records β Work With Immutable Data Classes] from Tomas Huber, in my reading notes and working with… β read more