Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

How to Program an ATtiny using the Arduino

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
8,270
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jan 26, 2011

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

  • likes, 1 dislikes

Link to this comment:

Share to:

Uploader Comments (insidegadgets)

  • Hi i m trying to program the ATTiny85 with an Arduino Diecimila and i get this error

    avrdude.exe: Expected signature for ATtiny85 is 1E 93 0B ...

    and i don´t know why

    also i noticed that in the guide they call for an Arduino with a 328 chip and my diecimila has a 168, idk if that could be the reason?

  • @andromorfo 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.

  • 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 ;)

  • @MrTony95 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?

  • 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/ardu­ino/issues/detail?id=730

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

  • @francisroan Have PM'd you

see all

All Comments (31)

Sign In or Sign Up now to post a comment!
  • Great. Thanks for making and uploading.

  • duel-milan-ovay thats what it says ^^

  • Real dumb question as I'm a hardware newbie. Where or how does the attiny "store" the "program"?

  • @insidegadgets Thanks man, the resistor solved the problem

  • Dwueh-mill-a-noveh

  • 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! =)

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more