How to Blink a LED with ATtiny10 Microcontroller

Published at : 23 Dec 2025

This is a video in which I write a blink program for ATtiny10 AVR 8-bit microcontroller. The same program also works on ATtiny9, ATtiny5 and ATtiny4 which belong to the same family like ATtiny10 microcontroller. This time I decided to use Notepad for writing the code, avr-gcc for compiling and avrdude for uploading the code to ATtiny10, using command-line of course :-) For uploading the code, I use USBasp programmer with the latest firmware supporting TPI programming interface. At the end of the video I show you how to use make utility for easier compiling.

You can find all source files I use in the video on https://github.com/zeroamps/Microcontrollers and Linux tools for Windows on http://mingw-w64.org/.

🛠 Tools which I use in the video 🛠
➟ ATtiny10
https://s.click.aliexpress.com/e/_ALZJKp
➟ SOT23/SOP10 to DIP10 Adapter
https://s.click.aliexpress.com/e/_Alvpiv
➟ USBasp Programmer
https://s.click.aliexpress.com/e/_977rmx
➟ 10-Pin to 6-Pin Adapter
https://s.click.aliexpress.com/e/_AsFVSj
➟ 10-Pin Ribbon Cable
https://s.click.aliexpress.com/e/_A5ZboP
➟ Small Breadboards
https://s.click.aliexpress.com/e/_AN0LsH
➟ Leds
https://s.click.aliexpress.com/e/_9wFhJN
➟ Resistors
https://s.click.aliexpress.com/e/_AB0kpN
➟ Dupont Wires
https://s.click.aliexpress.com/e/_9zcKan
➟ Pin Headers
https://s.click.aliexpress.com/e/_AYWcmF
➟ Printed Circuit Boards
https://s.click.aliexpress.com/e/_9wwBt5

Stay creative and keep on tinkering 😊