Back to photostream

Evil Mad Science ATtiny2313 target board with wires

The '2313 is my favorite AVR and these target boards are great. Cheap and capable. I used the internal oscillator and was able to keep the USART pins open for debugging or future expansion.

 

Since I had an ATtiny2313 but no shift registers, this AVR is using its built-in 8-bit shift register to perform the mundane task of emulating the 16-bit parallel-in, serial-out shift register found in Super Nintendo controllers. Only 12 bits are connected or connectable to buttons. The AVR gives me built-in pullup resistors and a secure place to solder all the wires. This part has the perfect pin count for this task.

 

The ATtiny2313 costs about $2.00 in single quantities. 8-bit shift registers (you will need two chained together) cost about $0.55 in onesies. If you don't feel like chaining two 8-bit shift registers together, you can get all 16 bits in a single part for about $25.00!

 

The target board is from evilmadscience.com/tinykitlist/112-tiny2313

 

The code is my own answer to electronics.stackexchange.com/questions/8924/does-anyone-...

3,282 views
0 faves
0 comments
Uploaded on January 29, 2011
Taken on January 29, 2010