Programming the new ATtiny from Arduino using UPDI [Beginner Tutorial]

Published at : 23 Dec 2025

This tutorial shows how to make a cheap and simple UPDI Programmer and upload a sketch to the new ATtiny micro controller series. The programmer is made from an old Arduino Nano and requires only two additional passive components. The megaTinyCore library provides an Arduino core to start developing. A short blink sketch demonstration should provide a good start for every beginner in this matter.

Links to the github projects:
https://github.com/SpenceKonde/jtag2updi
https://github.com/SpenceKonde/megaTinyCore
Boards package url:
http://drazzy.com/package_drazzy.com_index.json
!!! This method stopped working with the latest megaTinyCore versions. Installing v.1.x like in this video works though. good luck!

Dave darko's K.I.T.T. badge: https://www.tindie.com/products/davedarko/kitt-knight-rider-blinky-led-badge/
My Halloween Badge: https://www.tindie.com/products/bitluni/killer-badge-kit/

Links to the parts (affiliate links):
Arduino nano clone ($2):
https://aliexpress.bitluni.net/nano
https://amazon.bitluni.net/nano
Electrolytic Capacitors 12Values (120pcs $1.60):
https://aliexpress.bitluni.net/elecCaps
Metal Film Resistors 30 Values (600pcs $2.65):
https://aliexpress.bitluni.net/resistors
ATTiny ($0.65):
https://link.bitluni.net/attiny

SOP16 SSOP16 Break Out Board (20pcs $2):
https://aliexpress.bitluni.net/sopBreakOut
SOP16 Programming Adapter ($2.20 shipped):
https://aliexpress.bitluni.net/sop16Adapter
5mm LEDs (different colors 100pcs for ~$1):
https://aliexpress.bitluni.net/leds5mm
Breadboard Set (~$3.50):
https://aliexpress.bitluni.net/breadboardSet


My camera and lens (4k 60fps):
https://amazon.bitluni.net/gh5

plz share :-)

Check out my Tindie store to get some of my creations:
https://www.tindie.com/stores/bitluni

Consider supporting my lab on Patreon for some extras and frequent updates:
https://www.patreon.com/bitluni

I'm also thankful for any donation on PayPal:
https://paypal.me/bitluni

Twitter: @bitluni
reddit: r/bitluni

#electronics #diy #tutorial