How to Program an ATtiny using the Arduino

Learn how to program the ATtiny85 using the Arduino as a ISP and why use a microcontroller instead of the Arduino for your projects.

The programming guide used was from: http://hlt.media.mit.edu/wiki/pmwiki.php?n=Main.ArduinoATtiny4585

Learn more at http://www.insidegadgets.com

Duration : 0:9:8


Related Reading:

Uncategorized

Be Sociable, Share!

24 thoughts on “How to Program an ATtiny using the Arduino

  1. thank you for …
    thank you for letting me try it by myself, I did realize that we need to upload the ISP program? first before uploading the ATtiny program.

  2. Yes that was the? …
    Yes that was the? Problem 😀
    Now i used the 0022 version of Arduino Software and it works.
    Thank you very much 🙂

  3. Hi, I think I know …
    Hi, I think I know what’s happening, you are using Arduino 1.0 (or higher) software with? the older ATtiny45/85 core. You need to view the new HIT tutorial and grab the new ATtiny Core here: hlt.media.mit(dot)edu/?p=1695

  4. Hay 🙂 Good Vid.

    Hay 🙂 Good Vid.
    But its not? working 🙁

    Blink.cpp:8:21: error: Arduino.h: No such file or directory
    Blink.cpp: In function ‘void setup()’:
    Blink:10: error: ‘OUTPUT’ was not declared in this scope
    And some more errors
    Do you know what it means?
    Thanks

  5. What version of the …
    What version of the IDE are you using? I’m using version 1.0. And nothing works only? errors

  6. Hi, the 168 is like …
    Hi, the 168 is like the 328, it just has less RAM so that won’t be the issue. Please double check your wiring. Can you confirm you uploaded the ArduinoISP sketch (without the ATtiny85 connected) and then after that you connect the ATtiny85 and upload your ATtiny85 sketch? Another thing to try is? to disable the auto-reset on the Arduino by connecting a 120 Ohm resistor from 5V to Reset.

  7. I’m assuming that …
    I’m assuming that this relates to ArduinoISP. I think it’s because the sketch already uses the serial pins (0 and 1) to communicate to your computer so you shouldn’t use pins 0 or 1 for anything else. If this is happening in a different sketch and assuming that sketch doesn’t use serial, could? you link me to the sketch?

  8. Hello, this video …
    Hello, this video is very interesting, but I have a question. Can you tell me why when I change the number of pins 13? to 0, the program tells me that the output has not been declared for this scope? Thanks 😉

  9. thanks man! your …
    thanks man! your video might have less pixles than minecraft… but at least you make a better tutorial than the guys at makezine!!!
    p.s.? i subbed! =)

  10. I get the same …
    I get the same thing when? trying it with Arduino software version 1. It works fine in Arduino 0022, however.

  11. Looks to be an …
    Looks to be an issue with the ArduinoISP sketch, I found someone else having problems too and they? provided a patch that should work: code(dot)google(dot)com/p/arduino/issues/detail?id=730

  12. Hello,
    After the …

    Hello,
    After the two expected errors, I am getting a third? one.

    avrdude: stk500_paged_write(): (a) protocol error, expect=0x14, resp=0x64
    avrdude: stk500_cmd(): protocol error

    Do you have any idea what this could be ?

  13. always wanted to …
    always wanted to get to grips with these, and this? video has helped! cheers insidegadgets.

  14. buts thats not …
    buts thats not possible we cannot use the attiny? 45 85 library for attiny 2313!!and there are no other lib for attiny2313

  15. Yes you do, if you …
    Yes you do, if you search for? arduino-tiny, download the latest version and then place it into the Arduino\hardware directory like we did in this video.

    Connect Arduino Pin 13 to ATtiny2313 Pin 19 (SCK), Arduino Pin 12 to ATtiny2313 Pin 18 (MISO), Arduino Pin 11 to ATtiny2313 Pin 17 (MOSI) and Arduino Pin 10 to ATtiny2313 Pin 1 (Reset).

  16. hey dont we need …
    hey dont we need another library for the attiny 2313??? could u just xplain me how to do it? (p.m me)

Leave a Reply