My main Arduino project for the last few months is trying to design and build a monitor that wirelessly sends an alert to the house when mail has been delivered in the mailbox or a vehicle goes through the front gate. I wanted the sender unit to be solar powered and use an ESP32. Reed... Continue Reading →
Calculating bitmask value for ESP32 external wake up: Google is your friend
Update 14 April 2024: I've discovered that it is not necessary to calculate bitmask values for the ext1 external wakeup with the ESP32. There are predefined definitions that you can use. If you are interested check out my post ESP32: Wakeup from multiple GPIO sources and using predefined pin definitions instead of bitmask I'm currently... 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 →
Experimenting with audio tones using the ESP32 for use in projects
Update 3rd December 2024: I've discovered that the code I had listed here no longer worked with the Espressif ESP32 V3 core that was released a while back. I've updated the post so that the example sketch works with v3. A reader alerted me to the Tone function for Arduino. When I was making my... Continue Reading →
Using an ESP32 to get my WordPress viewing stats
I remember seeing an ESP8266 project years ago that displayed a Youtubers subscriber count on an LED display. I was really impressed by that project. Recently I wondered if a similar thing could be done with wordpress.com stats, in this case not showing subscribers, but daily views. I did come across this response to a... Continue Reading →
Batch processing files with Audacity
In my last post Using Text to Speech online tools to create audio files for Arduino projects I had some info about online text to audio sites I have been using to create audio alert files for projects. The files produced by ttsmp3.com seemed to have a lower audio level than I expected. I found... 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 →