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".
Category: MCU
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"
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"
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"
A better way to setup STM32CubeIDE
I have been using STM32CubeIDE for my STM32 development for past a couple of years, and there are things that I like about the IDE but there are also things that I don't like about it. In this blog I'd like to discuss how I setup the IDE to overcome some of the things that I don't like about the IDE. Continue reading "A better way to setup STM32CubeIDE"
How to Install STM32CubeIDE on Mac and STM32 LoRa Discovery Kit
Recently I got two STM32 LoRa Discovery boards(B-L072Z-LRWAN1) for my LoRa project, and I need to install STM32CubeIDE and an STM32 Expansion Package i-cube-lrwan in order to use the board. It took me a while to figure out everything and I thought it would be good to share how I set everything up. Continue reading "How to Install STM32CubeIDE on Mac and STM32 LoRa Discovery Kit"