Community Question

I just decided to redo one of my TIP122 Transistor Switching Circuits (mainly because I needed a break from working - there is nothing wrong with the 2 that are already in my Hearoid). So now's as good a time as any to do a small tutorial :)

This has become an evolving tutorial with additional information and options available being added. The change log at the end of this post explains changes made. Any additional information will be added as and when discovered.

Parts needed:
1 x TIP120 or TIP122 Darlington Transistor or IRL3103PBF Mosfet (see notes at the end)
1 x 1k ohm Resistor
1 x Small Piece of Strip Board (7x5 holes)
1 x Pin Header (1x2)
1 x Servo Extension
Solder
Soldering Iron
Cutters

Extra parts needed (if inductive load):
1 x 1n400x Diode as required

Search for part numbers in google or ebay or use your preferred supplier.

The Schematic:
User-inserted image

User-inserted image

Underside of Board:
User-inserted image
The optional connections are for Diode D1 covered at the end of this post.

Method:
1. Solder the TIP transistor to the strip board so each pin is on a separate strip of copper
User-inserted image

2. Solder the resistor from the Base of the transistor to a spare copper strip
User-inserted image

3. Cut off the end of a Servo Extension and strip back the wires
4. Solder the Black wire of the Servo Extension to the strip connected to the Emitter of the transistor
5. Solder the White wire of the Servo Extension to the strip connected to the end of the resistor (not the transistor end)
6. Solder the Red wire to a spare copper strip
User-inserted image

User-inserted image

7. Use a small off cut from the Servo Extension and solder one end to the strip of the Collector of the transistor
8. Solder the other end of the off cut to a spare copper strip next to the Red wire.
User-inserted image

9. Solder the Pin Header to the copper strips with the red and black wires soldered
User-inserted image

10. Job done. Plug the Servo Extension in to a Digital port on the EZB and connect the circuit that needs switching to the Pin Header, I do this with another Servo Extension (as I have hundreds of them)
User-inserted image

Or a JST connector works very well also
User-inserted image


Adding the Diode
If using the circuit for a motor or other inductive load a diode needs adding between the transistor Collector and Emitter. This is easily added in to the above circuit.

11. Bend the leg on the Diode so it will fit though 0.1" hole spacing
User-inserted image

12. The band on the diode is to connect to the Collector and the other end to the Emitter. It will drop in to two spare holes.
User-inserted image

13. Solder in place and cut off the excess legs.
User-inserted image

14. All done. You should have something like this.
User-inserted image

Additional notes
You may also use a Mosfet for this switching circuit. A IRL3103PBF mosfet can replace the TIP120/122 Darlington transistor. The circuit is the same however the pins on a Mosfet are named Gate, Drain and Source. The mosfet fits in the same place as the Darlington with the Gate to the left (replacing the Base of the Darlington).

Updates:
Edit 1 (2013.03.07): Underside of board diagram added.
Edit 2 (2013.03.07): For some circuits a diode is needed as shown in the first schematic. The board here does have space for a diode (C4 to D4 - would have to be with legs bent to accommodate 0.1" spacing) however I have not shown one - watch this space :)
Edit 3 (2013.03.07): Underside of board optional connections for D1 added.
Edit 4 (2013.03.07): Added diode information.
Edit 5 (2013.03.18): Added IRL3103 Mosfet information.
Tymtravler
Commented May 2013
@Rich from what I read and my limited understnding of electronics in this post could this board be able to run a 7.2 DC motor like a servo, this would solve my vertical lift issues.
P.S. great job on the drawing and the step by step assembly, SO what would you charge me to make me one and if I could run this board like a servo I would need 3.
Rich
Commented May 2013
Yes, just ensure you include the diode. There would be only 1 direction and no control other than on/off.

Think of it as if its a simple switch.

Edit: Just noticed the last part. If it wasn't for the shipping costs I'd send one over for free (it's about £1 worth of parts). If you really don't want to go through making it yourself I'll look at shipping costs, I'd guess it's about $5 or $10
Tymtravler
Commented May 2013
This would be perfect Rich for my 1watt blue ray laser.
Thanks again
serkan90
Commented November 2013
@Rich: It is a very nice tutorial to make the switching circuit by using TIP122 transistor and the most important thing we don't need the relay but I am concerned about the position of diode whether it should be between base and collector to protect the microcontroller from the back current of load or it should be between the collector and emitter as you placed. Can you tell me the reason why you placed it between the emitter and collector?

electronic manufacturing services
Rich
Commented November 2013
That's the schematic that's floating around everywhere on the internet and the schematic I used to produce the perf board version, so that's the reason it's where it is.

An alternative position was mentioned in post 5. Personally I've never needed to use the diode as I have never used the circuit with an inductive load.
Question
AvatarRich
Asked on Wednesday, March 6, 2013