In this tutorial, we will discuss the concept of interrupt, and how we could setup interrupt to free up from constantly polling the hardware resoruce 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"
NTP Clock Project Revisit and ESP8266 RTC Memory
When I built the NTP Clock project two years ago, I did a quick estimation that the battery will last for about 80 days for a single charge. I was wrong, it only last for 47 days. Of course, my original estimation was not precise but I was wondering why my estimation was far away from my estimation, so I recently decided to take a closer look. Continue reading "NTP Clock Project Revisit and ESP8266 RTC Memory"
Build a PalmTop handheld with STM32G070
For many makers, a project idea sometime may take a very long time to materialised. This project for creating a STM32G070-based PalpTop handheld took me almost a year, starting from the initial idea, to making the final PCB, and still not 100% completed yet. Continue reading "Build a PalmTop handheld with STM32G070"
Make megaTinyCore work for PlatformIO
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"
Install PHP on Apple Silicon Macbook Pro
I recently went through the process of install PHP on macOS Monterey on my MackBook Pro M1 (Apple Silicon), the installation of PHP itself is easy, the codesigning of the PHP module took a little while to figuring out, I thought it would be a good idea to document the walk-through on how I did it. Continue reading "Install PHP on Apple Silicon Macbook Pro"
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 throw 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"