I recently build myself a Li-Ion/Li-Po battery capacity tester, this article discuss the theory behind a battery capacity tester and how I build it.
Continue reading "Build a Li-Ion/Li-Po Battery Capacity Tester"
I recently build myself a Li-Ion/Li-Po battery capacity tester, this article discuss the theory behind a battery capacity tester and how I build it.
Continue reading "Build a Li-Ion/Li-Po Battery Capacity Tester"
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"
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"
AThis tutorial will look into the USART controller within the ATtiny3227, and focus on setting up the serial USART on the Modern AVR platform.
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"
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"
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".
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"
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.
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"