Program a ATtiny Using an Arduino

preview_player
Показать описание
Easy step by step guide to how to program an ATtiny using an Arduino.
I've also completed a step by step guide on my Instructables page which has all of info you need including, parts used, how to make the developer board, wiring diagram etc.

Instructable

Additional Board Manager URL (to be pasted into preferences):

Blink Script:
//We will replace "LED_BUILTIN" with "4" since ATtiny does not have a built-in led!
void setup() {
// initialize digital Pin 3 of ATtiny 13(defined in hardware as 4) as an output.
pinMode(4, OUTPUT);
}
// the loop function runs over and over again forever
void loop() {
digitalWrite(4, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(4, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
}
Рекомендации по теме
Комментарии
Автор

That was awesome. Thanks for putting this together.

lint
Автор

Cool! I’ve been wanting to do this for awhile but have been too lazy to do the research.

mikebond
Автор

I get this error message when trying to burn the bootloader "avrdude: stk500_cmd(): programmer is out of sync" repeatedly and some error message at the end saying " read operation not supported for memory "flash"
avrdude: failed to read all of flash memory, rc=-2 ", any idea what it could be?

Electronics.Engineer
visit shbcf.ru