Page 1 of 1

ATTINY2313 connection

Posted: Wed Jan 09, 2013 8:22 am
by studioeng
Hi,

I am wiring my own ATTINY2313 'fuse fixer' on a breadboard but I am having a few problems working out the pin connections.
I am using an external 12V supply via a transistor setup.

I know I am being really thick, but could these pin connections please be verified for me.

Code: Select all

ATTINY2313 => ATMEGA328P
1 => 12V
2 => NC
3 => 19
4 => NC
5 => 26
6 => 17
7 => 16
8 => 28 / (25*)
9 => 14
10 => GND 
11 => 27 / (15*)
12 => 2
13 => 3
14 => 4
15 => 5
16 => 6
17 => 11
18 => 12
19 => 13
20 => 5V

* Is this pin connection required or can it be ignored with an ATTINY2313?
I have tried to fix the fuses of an ATTINY2313 but have been unsuccessful, I am not sure if the chip is completely dead or my wiring is wrong. After so many bad attempts I wouldn't be surprised if it is dead now.

Many thanks

Re: ATTINY2313 connection

Posted: Sat Jan 12, 2013 11:31 am
by mightyohm
Using this schematic as a reference (and I recommend getting the kit), here's a corrected pinout:
http://mightyohm.com/files/hvrescue21/H ... ematic.png

Code: Select all

ATTINY2313 => ATMEGA328P
1 => 12V
2 => NC
3 => 3
4 => NC
5 => 9
6 => 4
7 => 5
8 => 6
9 => 11
10 => GND 
11 => 12
12 => 14
13 => 15
14 => 16
15 => 17
16 => 18
17 => 19
18 => 23
19 => 24
20 => 5V
You should check this yourself to be sure.

Note that the later versions of the Arduino sketch won't work with the original HV shield schematics without modifications. In particular, the 12V switch signal is reversed. If you look around on this forum you'll find some notes from others who have ported the latest code to the old hardware.