The megaTinyCore work great when using with Arduino IDE, but not so with PlatformIO. This is my quest on making the megaTinyCore work for PlatformIO. Continue reading "Make megaTinyCore work for PlatformIO"
ESP8266 NTP clock with NTP update and Charlieplexing
I had a classic Ikea clock that damaged by the leaking battery, during the new year cleaning, my family decided to through it away, I took it back from trash bin and thinking of a weekend tinkering project to turn it into a digital clock. Continue reading "ESP8266 NTP clock with NTP update and Charlieplexing"
Converting UYue Preheater into a Solder Reflow Hot-plate
This article talks about how I hack a UYue 946 preheater and convert it into a solder reflow hot-plate. Continue reading "Converting UYue Preheater into a Solder Reflow Hot-plate"
The simplest button debounce solution
Recently I came across a piece of code which is nearly 50 lines long, plus several global variables, a state machine, all it does is to debounce two buttons. Button debounce does not to be this complicate, in this article I will show you probably the simplest button debounce solution. Continue reading "The simplest button debounce solution"
Arduino-Compatible Development Board with ATtiny3217
ATtiny3217 is a modern AVR microcontroller chip from Microchip that could potentially replace ATmega328p that is widely used in official Arduino boards, and here is how I build an Arduino compatible development board based on ATtiny3217. Continue reading "Arduino-Compatible Development Board with ATtiny3217"
A review on Seeed Studio pH and EC Sensor Kits – Part 2
This is the second part of the two-parts review on Seeed Studio's ph and EC Sensor Kits. In this part, I will take a closer look at EC Sensor Kit and how to measure EC with an Arduino. Continue reading "A review on Seeed Studio pH and EC Sensor Kits – Part 2"
A review on Seeed Studio pH and EC Sensor Kits – Part 1
For the past several months, I've been searching for a cost-effective pH and EC sensor kit and I evaluate Seeed Studio's new pH sensor kit and EC sensor kit this week. Continue reading "A review on Seeed Studio pH and EC Sensor Kits – Part 1"
ESP-01 Range Test with ESP-Now Protocol
I recently did a range test over a pair of ESP-01 running ESP-Now, by no means its a comprehensive test, but it gives a better understanding of ESP-01 wireless performance and the ESP-Now protocol. Continue reading "ESP-01 Range Test with ESP-Now Protocol"
Do you know Arduino? – A PROGMEM Practical Example
In previous article we've learnt all about the PROGMEM with simple code snippets. In this article, we will take a look at an LCD library for Arduino that I developed before and see how we could apply what we've learnt on PROGMEM to reduce the usage of SRAM. Continue reading "Do you know Arduino? – A PROGMEM Practical Example"
Do you know Arduino? – PROGMEM demystified
The PROGMEM keyword is a variable modifier, it tells the compiler to "keep this variable in flash memory", instead of loading it into SRAM. Th PROGMEM is useful for Arduino Boards that have limited SRAM, but yet many Arduino users and even some library developers don't use it. Continue reading "Do you know Arduino? – PROGMEM demystified"