I’ve been learning to use LCD displays with Arduino via the LovyanGFX library. What I wanted was a simple image converter, something that could turn a picture into a data array I could paste into my Arduino sketch and display on the screen. A standalone tool is born By Googling, I found an online one... Continue Reading →
Converting a Potentiometer For Use With a Magnetic Rotary Encoder
I've been experimenting with angle sensor modules to use them as a replacement for those cheap rotary encoders. I like those cheap rotary encoders, but I'm looking for something better where the knob turns smoothly and it doesn't wear out. The cheap encoders wear fairly quickly and then contact bounce can become a problem. Also,... Continue Reading →
Hot and Bothered: DHT22 Temperature Sensor Issues
When I was contemplating building a weather station, the part that I thought would be the most straightforward was measuring temperature. As reality often doesn't match expectations, this has not been the case. I am using a couple of DHT22 temperature and humidity sensors. One for indoor and another for outdoors. I found this Random... Continue Reading →
Building an Anemometer using a Bicycle Hub
In a previous post I looked at an anemometer that I bought from AliExpress that was built around a cheap toy motor. I wasn't happy with it so decided to salvage the cups from it for use in a scratch built one using a bicycle hub. It's been an interesting project and had more challenges... Continue Reading →
Rebuilding a rain gauge using ESP32 with live updates
I've been working on building a weather station over the last few months and while I haven't completed all the sensors, I have a few done including recently a rain gauge. The receiver is based around the "Random Nerd Tutorials ESP-NOW Web Server Sensor Dashboard" in which the data is displayed on a web page.... Continue Reading →
Customizing the Random Nerd Tutorials ESP-NOW Web Server Sensor Dashboard
I've wanted to build a weather station for a long time, probably for at least 30 years. Droughts are common here, and we rely on rain for all our household water. Our house is also quite exposed to strong winds. At one point a neighbour a couple of kilometers away had their roof blown off... Continue Reading →
Converting raw data samples into meaningful results: Calibration and formula generation
So you have a sensor connected to your microcontroller. How do you calibrate it, particularly if the values from the sensor are not linear? That's a problem I have thought about before and it came up again yesterday when I wanted a project to monitor a battery voltage level. The current project that I am... Continue Reading →
Using Text to Speech online tools to create audio files for Arduino projects
I’ve made a couple of projects that play audio alerts using a dfplayer and MP3 files. One in a clock that plays announcements and the other a countdown timer. When I did those, I used onlinetonegenerator.com to convert text to speech. I liked the voices but it doesn’t have an option to save the audio... Continue Reading →
Reliably debouncing rotary encoders with Arduino and ESP32
I love those simple cheap rotary encoders as used in the KY-040 modules as a method of getting user input with Arduino and ESP32 projects. The issue of bounce with them is significant and for years I’ve been looking a reliable method of dealing with it. I thought I had it figured out by either... Continue Reading →
Finally, a decent quality prototype breadboard for a reasonable cost
Getting decent quality prototype breadboards for a reasonable cost is something that has eluded me for years. I think I have finally found a reliable source. Those advertised on eBay or at least the cheaper ones seem that I have previously purchased too often have poor metal connectors inside. It can be difficult to insert... Continue Reading →