In many cases, you need to run Arduino code on smaller devices. You have that large Arduino UNO Board that costs about $14 but you need to use only one or two pins to control something simple as a relay or an LED.
Instead, you can use that cheaper ATTiny Microcontroller with the same performance.
This can be both cost and size effective solution. And also you saved your beloved Arduino UNO board for more projects to try.
In this post, we'll see how to simply program ATTiny Microcontroller using Arduino UNO board.
Program ATTiny using Arduino UNO
This setup can be used to program any ATTiny Microcontroller ( ATTiny45 or ATTiny85 ).
- ATtiny85 (or ATtiny45)
- 10uF electrolytic capacitor
- 220ohm 1/4 watt resistor
- hookup wire
Arduino +5V --- ATtiny Pin 8
Arduino Ground --- ATtiny Pin 4
Arduino Pin 10 --- ATtiny Pin 1
Arduino Pin 11 --- ATtiny Pin 5
Arduino Pin 12 --- ATtiny Pin 6
Arduino Pin 13 --- ATtiny Pin 7
Thank you for reading.