Instructables

How do you program a attiny13a?

I'm thinking about getting some attiny13a micro-controllers. But how do you program them. I've seen http://www.instructables.com/id/Ghetto-Programming%3a-Getting-started-with-AVR-micro/ but that's for the attiny2313. Thanks in advance!

AndyGadget5 years ago
The 13A is an 8 pin, stripped down version of the 2313 and looking around, looks to be out of production. Are you really committed to this or could you pick up the 2313? It appears to have a much greater following, more abilities and is a current product. If you really do need to use the 13A, I would expect the programming cycle to be the same (but check) so you could build the 2313 programmer with an 8 pin socket and pins swapped around accordingly. The standard compiler should work as you usually specify what device you're programming for at the beginning of the process. It will then adapt the code file to suit.
computergeek (author)  AndyGadget5 years ago
Thanks, That makes sense.
vxir2 years ago
This blog describes using attiny13a (and a few other chips): http://effluviaofascatteredmind.blogspot.com/2012/01/transdescending-arduino-going-cheap-and.html

And here's some code to get Arduino users started:
https://github.com/gandrewstone/avrez
dkhawk4 years ago
I made an Instructable on this topic. You don't really need the Olimex board, you could go with some like the minimalist target board over at Evil Mad Scientist. (I built one for my attiny 2313 work, but wanted to try this board since it has a clock.)

http://www.instructables.com/id/Blinky-LED-using-an-attiny13-a-USBTiny-programmer/
gmoon5 years ago
The ATtiny13 is NOT out of production (the 13A was an improved version and might have been dropped for the low-voltage ATtiny13V.) They are very popular, low-cost AVRs and Atmel isn't going to stop making them anytime soon.

The ATtiny2313 is a nice chip also, but do your home work: the 2313 has more pins, memory, better serial support, but doesn't have an ADC (analog-digital converter.)

Compare AVRs on this page at AVRFreaks, which also has EOL (end-of-life) information...
Whoops - apologies. I had a quick look around and saw the 'not recommended for new designs' tag. I missed the updated versions.
No worries ;-)
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!