-
1Get your parts!
As a bare minimum you will need
- an Arduino (I used a Nano) with a USB interface (cable, USB-serial adapter if not already on your Arduino)
- an ATtiny 0 series in some connectable form. I used a SOIC to 0.1" adapter PCB on a breadboard
- a computer. I used a Win10 machine and haven't tried it on other platforms so YMMV.
- jumper wires/leads x3 for the connection between Arduino and ATTiny (VCC, GND and UPDI). If you are feeling fancy, you can add 2x more wires and use the common voltage rails on your breadboard.
- a 4.7k resistor to go in series with the UPDI wire
- OPTIONAL (but recommended) - an LED with current-limiting resistor (>220 Ohm)
-
2Do initial software downloads and installations
The details of this instruction are in this log, so as not to clog up the instructions.
-
3Programme your Arduino to be the jtag2updi hardware programmer
I popped the details of this step in this log.
-
4Connect to the ATtiny and blink it
-
5Set up Atmel Studio and tell it to use your jtag2updi Arduino hardware programmer
-
6Write code in Atmel Studio, compile it and upload it to your ATtiny
This log will get you uploading code to your ATtiny from Atmel Studio, using the hardware programmer we have made from an Arduino.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.