This article described how to add the protection circuit to 18650 battery the CORRECT WAY and how I build my own battery charger and an IoT power supply subsystem which consists of a battery charger, a 3.3v/5v boost/buck converter with very low quiescent current. Continue reading "Design my own TP4056 Li-Ion Charger and IoT Power Supply Subsystem"
Author: Henry Cheung
Fix a Wireless Doorbell with ESP-NOW
One of my long-waiting outstanding projects is to fix this no-frill SoundTech doorbell. I finally done it, by replacing the RF transmitter/receiver used by the doorbell with ESP-NOW. Continue reading "Fix a Wireless Doorbell with ESP-NOW"
ATtiny3227 Programming – UART
AThis tutorial will look into the USART controller within the ATtiny3227, and focus on setting up the serial USART on the Modern AVR platform.
Build a SHT40-based temperature and humidity monitor
This is just another weekend project. I need a temperature and humidity monitor, instead of buying one from Ikea, I decided to make one with a Sensirion SHT40 sensor and a ATtiny824 MCU.
Continue reading "Build a SHT40-based temperature and humidity monitor"
How to drive a segment LCD glass with GPIO
A while back when browsing Aliexpress, I saw this 4-digit segment LCD glass that selling for slightly more than USD1.00, so I bought it out of curiosity and this article describes on how to drive the LCD glass with GPIO, no dedicated LCD controller used.
Continue reading "How to drive a segment LCD glass with GPIO"
ATtiny3227 AVR Programming – Interrupt
In this tutorial, we will discuss the concept of interrupt, and how we could setup interrupt to free up from constantly polling the hardware resource and handling certain task in the "background".
ATtiny3227 Business Card + Clock + Development Board
Hackaday.io is having a 2024 Business Card Contest between May and July 2024, I decided to enter the contest with my own design. This describes my design process from planning to the completion for a business card that can be used as real time clock with 3-year battery life and can also be used as an ATtiny3227 development board. Continue reading "ATtiny3227 Business Card + Clock + Development Board"
ATtiny3227 AVR Programming – GPIO
In this tutorial, we will discuss how to programming GPIO pin to perform I/O functionalities by altering the bits of various GPIO registers of ATtiny3227.
ATtiny3227 AVR programming – Introduction
This is the begining of a series of tutorials for ATtiny3227 AVR programming, focusing on bare metal/register programming, with ATtiny3227 as the target MCU (but applicable to all Modern AVRs such as ATtiny 0, 1 & 2 series, ATmega 0-seris, and AVR Dx-sereis), with a development environment based on VSCode editor, a makefile, and avr-gcc c-compiler.
Continue reading "ATtiny3227 AVR programming – Introduction"
Fixing Hantek DSO5102P “Save to USB” issue
I recently bought a Hantek DSO5102P oscilloscope, everything work, except the "Save To USB" button doesn't actually save any data to the USB. This is a short article on how I find the solution for the problem. Continue reading "Fixing Hantek DSO5102P “Save to USB” issue"