I like Arduino devices, but I don't quite like Arduino IDE. Among all the reasons, one is its printf()
and sprintf()
implementation on floating point support. Continue reading "Do you know Arduino? – sprintf and floating point"
Getting started with STM32 and things you need to be aware of
Getting started with STM32 development isn’t as smooth as setting up an Arduino or ESP32 for me for various reasons, and I hope my experience in setting it up, and the things you need to be aware of will help any one interested with this article. Continue reading "Getting started with STM32 and things you need to be aware of"
Measure pH with a low-cost Arduino pH sensor board
I recently bought an Arduino pH sensor kit for measuring pH value of my hydroponic setup, it cheap but has very little information/document on how to use it, so I decided to figure it out myself on how it works and how to use it. Continue reading "Measure pH with a low-cost Arduino pH sensor board"
Build an ESP32 Web Server and IR Remote
My TV remote control is corroded by leaking battery and no longer working reliably, so I decided to build my own TV remote control with an ESP32 that running as a web server and IR remote control so that I can uses my iPhone to interactive with it via web browser. Continue reading "Build an ESP32 Web Server and IR Remote"
Mount a hard disk to Raspberry Pi as root file system
For past 3 years this web site was running on a Raspberry Pi with a 16GB SD card. I have a couple of old hard disks with me, so I recently decided to replace the SD card of this web site's Raspberry Pi with a hard disk. Continue reading "Mount a hard disk to Raspberry Pi as root file system"
Using a Thermistor with Arduino and Unexpected ESP32 ADC Non-linearity
I recently accidentally bought 5 pieces of thermistor, so I tried it out on both of my Arduino and ESP32 modules, and I have surprise findings on both Arduino and enchanted unexpected ESP32's ADC linearity issue. Continue reading "Using a Thermistor with Arduino and Unexpected ESP32 ADC Non-linearity"
Shortest Path Algorithm Revisit with Golang
I wrote a shortest path algorithm about a year ago using Python and later on port it into JavaScript, I recently revisit the algorithm and port it into Golang and compare the performance of three versions on two different hardware platforms. Continue reading "Shortest Path Algorithm Revisit with Golang"
A Better way to install Golang (Go) on Raspberry Pi
I recently want to install Golang(Go) on my Raspberry Pi, and realised that the easy way to install Golang may not be the better way to install Golang on Rasperry Pi. Continue reading "A Better way to install Golang (Go) on Raspberry Pi"
Control Raspberry Pi GPIO using node-RED
I wrote about how to control Raspberry Pi GPIO via web browser without using web framework or full blow web server about a year ago, today I'd like to introduce you an easier way to control Raspberry Pi GPIO via browser using node-RED. Continue reading "Control Raspberry Pi GPIO using node-RED"
A node-RED inspired D3 Dashboard Gauge
I recently works on an IoT project which involving of rendering a dashboard using node-RED. I was wondering whether I could build a node-RED inspired dashboard gauge using D3.js JavaScript library, so I built one as a side project. Continue reading "A node-RED inspired D3 Dashboard Gauge"