AThis tutorial will look into the USART controller within the ATtiny3227, and focus on setting up the serial USART on the Modern AVR platform.
Category: AVR
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"
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"
Arduino-Compatible Development Board with ATtiny3217
ATtiny3217 is a modern AVR microcontroller chip from Microchip that could potentially replace ATmega328p that is widely used in official Arduino boards, and here is how I build an Arduino compatible development board based on ATtiny3217. Continue reading "Arduino-Compatible Development Board with ATtiny3217"