Electronics Projects

Although I’m a software guy at heart, I’ve been dabbling on the hardware side since my father and I built Heathkit stereos and TVs way back in the 60s and I had a job in high school laying out 6 layer circuit boards on a light table.

Here are the YouTube videos I’ve made, grouped by project.

The ESP32 Microcontroller and how to Develop and Debug It

You’ll note that I’m a big fan of the ESP32 microcontroller and I use it in all of my projects. It’s a dual-core design and has built-in Wifi and Bluetooth, two UARTs, SPI and CANbus, Flash memory and RAM plus dozens of analog and digital input/output pins. I started building code using the Arduino tools, but have now switched to VS Code + Platform IO.

Learning how to write and debug code on the ESP32 is so tricky that I made a 37 minute long video about it, essential viewing for any ESP32 developer!

The EV Fuel Gauge – EVFG

This circuit board can be used by anyone converting an old gas car to electric. When you remove the gas tank, the gas gauge in your dashboard has no signal going to it, so it will always sit at Empty. This board reads your battery pack voltage by Wifi or direct connection, and using calibration values you set via Wifi parameters, sends a voltage to the gauge representing the State of Charge of the battery pack. It can also light up the Low Fuel light at a percentage you set.

ESP32 Protoboard Aka The Mango Board

This is a board I built to help me to design new circuit boards. It lets me build up a design using USB power and communication, FTDI program flashing, high-precision A/D and breadboard jumper access to every pin. Future versions will include USB-C and CANbus.

PM 2.5 Pollution Sensor

A friend had an idea to build a low-cost PM 2.5 pollution sensor and upload the data to a central web server which would display the data against a map. I did 2 versions of the board but the sensor was difficult to work with an unreliable for readings. I see there’s a new Bosch sensor on the market and I’d like to update the design to use it.

Thailand Coins Digital Money Jar

I saw a product on AliExpress to count the value of coins as you put them into a jar. There was no version available to count Thai coins, so I built this prototype.

The DC Current and Voltage Sensor

This was an early project I intended to use in my Toyotron electric motorbike but couldn’t get it working well due to the terrible development environment for the Atmel chip I chose for the design. This board is the major reason I switched to the ESP32.