JAPAN JACK socket: an external source (a power supply, usually) must be connected to this socket, with the positive pole going to the central part of the jack, and the value must be ranging between 6 V and 20 V, even though the range recommended by the manufacturer is 7÷12 V, thus it is not advisable to use voltages that are lower than 7 V or greater than 12 V, if not in the case of a real need; 6 V may not guarantee a proper stabilization on the part of the regulator, it is in fact needed to consider the voltage fall of the protection diode, placed in series at the regulator’s input (whose purpose is to preserve the board from destruction in the case of polarity inversion on the jack); while values above 12 V would create an excessively high drop-out (an electric potential difference between the regulator’s input and output) that would cause a pointless overheating of the regulator, even with low levels of current draw.
– 12 V Power Supply: I = 2 / (12-5) = 2 / 7 = 285mA
– 9V Power Supply: I = 2 / (9-5) = 2/4 = 500mA
– 7 V Power Supply: I = 2 / (7-5) = 2/2 = 1A
This post is a summary that covers how to turn your arduino board into an ISP programmer and use it to program an ATtiny85 or 45 8-pin microcontroller.
The instructions in this post are based on the following two tutorials written by David Mellis:
Arduino board as ATtiny programmer >> http://hlt.media.mit.edu/?p=1706
Programming an ATtiny w/ Arduino 1.0.1 >> http://hlt.media.mit.edu/?p=1695
If you get fed up with all the wires, see how to make your own ATtiny programming shield for Arduino:
Un autre blog sur l'electronique
Un blog sur l'electronique