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: Programming
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"
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"
Do you know Arduino? – sprintf and floating point
I like Arduino devices, but I don't quite like Arduino IDE. Among all the reasons, one is its printf()
and sprintf()
implementation on floating point support. Continue reading "Do you know Arduino? – sprintf and floating point"
Shortest Path Algorithm Revisit with Golang
I wrote a shortest path algorithm about a year ago using Python and later on port it into JavaScript, I recently revisit the algorithm and port it into Golang and compare the performance of three versions on two different hardware platforms. Continue reading "Shortest Path Algorithm Revisit with Golang"
A Better way to install Golang (Go) on Raspberry Pi
I recently want to install Golang(Go) on my Raspberry Pi, and realised that the easy way to install Golang may not be the better way to install Golang on Rasperry Pi. Continue reading "A Better way to install Golang (Go) on Raspberry Pi"