ATtiny3227 Business Card + Clock + Development Board

ATtiny3227 Business Card PCB assembled

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 – Introduction

vscode terminal screen for running make command

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

NTP Clock project revisit

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"

How to Install STM32CubeIDE on Mac and STM32 LoRa Discovery Kit

STM32 LoRa_development with STM32CubeIDE

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"