Programming the ATtiny10 with an Arduino

The ATtiny10 – along with its younger siblings that go by the names ATtiny 4, 5, and 9 – are the smallest microcontrollers Atmel makes. With only 32 bytes of RAM and 1 kB of Flash, there’s still whole lot you can do with this tiny six-pin chip. [feynman17] figured out a way to program this chip using an Arduino, allowing him to throw just about anything at this absurdly small microcontroller.

The ATtiny10 doesn’t use the familiar ISP programming header found on other Atmel-based boards. Instead, it uses the exceedingly odd Tiny Programming Interface to write bits to the Flash on the chip. [feynman17] realized he could use the Arduino SPI library to communicate with this chip and built a small programming shield with just a few resistors and a 8-pin DIP socket to mount an ATtiny10 breakout board.

After writing a sketch to upload a .hex file from the Arduino serial console, [feynman] had a programmed ATtiny10, ready to be dropped into whatever astonishingly small project he had in mind.

As for what you can do with this small microcontroller, chiptunes are always an option, as is making a very, very small Simon clone. It may not be a powerhouse, but there’s still a lot you can do with this very inexpensive microcontroller.

Comments

  1. jwcxz says:

    I’ve been playing with these things for a while and they’re absolutely fantastic; I have a whole slew of projects I want to use them for. The Arduino-as-a-programmer idea is a great one. I ended up using an FTDI serial converter, which is painfully slow.

  2. GeriBoss says:

    This reminds me of a voltage meter I made once; I used an ATTINY13 and it was like 95% full ;)

  3. sergioambort says:

    hi,
    ‘maleherusement’ i only can get some ATtiny11 instead.
    have anyone know to do a similar way but with ATiny11?

  4. Oscar G says:

    Thank you for the detailed instructions. Getting the tiny chip soldered to a board was a nightmare though, but LED blink actually DID work on the first try! This programmer is a work of art, thank you for sharing.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 92,138 other followers