Digital Dial Indicator Arduino Data Interface
About In this post, I’ll show you how to read data from one of those generic Digital Dial Indicators using an Arduino. I wanted to map out the bed level of my 3D printer so …
About In this post, I’ll show you how to read data from one of those generic Digital Dial Indicators using an Arduino. I wanted to map out the bed level of my 3D printer so …
In this post, we’ll take a look at interrupts and timers in microcontrollers. I will show you how to implement it with an Arduino and with an ESP8266 or ESP32. When an interrupt is triggered, the microcontroller will pause what it’s doing and immediately run an ISR(Interrupt Service Routine) before returning to where it left off before.
In this post, we’ll take a look at watchdog timers in microcontrollers. I will show you how to implement it with an Arduino and with an ESP8266 or ESP32.Â
Recently, I was using FreeRTOS on an ESP32, so I thought I’d make a post documenting it and showing you how to use it. FreeRTOS is an open-source real-time operating system used for embedded systems.
I started using Wireguard as a VPN to connect into my home network some time ago. In fact I wrote about it in this post about docker containers I run on my home server. It worked fine on my smartphone but when later I tried it on a laptop I got the following errors: Warning: the “Ethernet3” interface has Forwarding/WeakHostSend enabled, which will cause routing loopsRetrying handshake with pear because we stopped hearing back after 15 secondsHandshake for peer 1 did not complete after 5 seconds, Retrying
In this code snippet, we’ll take a look at local functions in C#.Local functions can be declared and used only within another function. This can be useful for organizing your code. For example, if a function gets too long, you would usually break it up into smaller ones, which will fragment your code. This is the perfect case for using local functions to logically group/contain these smaller functions within the parent function.
In this code snippet, we will learn how to call the command line in C#. We will be using a Nuget package called CliWrap which makes it easier compared to using the System.Diagnostics.Process class. But I will also show you how to use the Process class if you don’t want extra dependencies in your project. And it’s still a useful class as it can be used to run any executable (.exe file) from your C# code.
In this post, I will show you how to create a Blazor C# WebAssembly app with a serverless backend utilizing Azure Functions. The data will be persisted to Azure Tables, Blobs and Files Shares in the Azure Storage Account which will also be used to host the backend functions and frontend as a static web page. Finally, we’ll make a CI/CD pipeline to deploy our app.
In this code snippet, we will learn how to use WebSockets in C#. WebSockets allow you to establish a bi-directional(full-duplex) communication channel over HTTP between two devices. This type of connection is long-lived and suitable for real-time data such as video streams, commands or inputs for a multiplayer video game.