Introduction: Light Triggered Motor

Picture of Light Triggered Motor
I haven't seen a light switch for a motor that draws around an amp, so I thought that I would make one. The product works well - if I shine a laser on it, I can trigger it from across a room quite easily.

Also, I am thirteen years old. (Mandatory mention of age for robot's challenge)

Step 1: Materials

Picture of Materials

You will need:

Materials:

A motor. I took one out of a broken Nerf Barricade.

A TIP31 transistor. $0.20 http://www.taydaelectronics.com/tip31c-tip31-npn-transistor-3a-100v.html

A 2N3906 transistor or similar PNP transistor. $0.02 http://www.taydaelectronics.com/2n3906-general-propose-pnp-transistor.html

A battery holder. I used one that held 3 AA's. $0.14 http://www.taydaelectronics.com/aa-battery-holder-5.html

A SFH 314 phototransistor. $0.58 http://www.mouser.com/ProductDetail/OSRAM-Opto-Semiconductors/SFH-314/?qs=K5ta8V%252bWhtbR6gV8hNfmATd6ftDkb0eH0AduyQe8MSk%3d

Perf Board. I used one I had laying around, but you should use Radioshack's miniboard, which costs around $2.19. http://www.radioshack.com/product/index.jsp?productId=2104052

A laser pointer is recommended to activate the light switch.

The total cost came to around $5, with shipping.

Tools:

Soldering Iron
Screw driver
Wire strippers
Optional: Breadboard

Must be able to solder and read schematics

Step 2: Make the Circuit.

Picture of Make the Circuit.

Here is the schematic for the circuit. Before you solder everything, you should test the circuit on a breadboard. To do it, just shine a laser (I just used a 5 milliwatt laser) on the phototransistor. If the motor starts spinning, solder the circuit on perf board.

Helpful stuff:

TIP31 pinout: http://www.hobbytronics.co.uk/image/data/st/tip31.jpg

2N3906 pinout: http://www.reprise.com/host/circuits/images/to-92.gif

The emitter of the phototransistor is the longer lead. The shorter lead of the phototransistor should be soldered to the negative (black) battery holder lead.

Step 3: Enjoy Your Light Activated Motor.

Picture of Enjoy Your Light Activated Motor.

Be creative in how you use it! You could use it to remotely turn on just about anything involving motors. I am going to use mine to make a remotely fired nerf gun.

Step 4: How It Works.

Picture of How It Works.

A phototransistor allows electricity to flow through it when light is shining on it. However, it can't handle enough current for a motor. Transistors can be used as switches when a little positive current is passed to base (in the case of an NPN transistor). When the positive current goes to base, it allows current to pass from the emitter to the collector or from the collector to the emitter (it depends on whether or not the transistor is NPN or PNP).

However, when I tried that with a 2N3904 (an NPN transistor), I found that the transistor didn't allow enough current through to power my motor. To do that, I needed a transistor that allowed more current through, like a TIP31. However, the phototransistor didn't allow quite enough current to switch the TIP31 transistor.

To allow more current to go, I used a PNP transistor. The phototransistor allowed enough negative current to go to the base of the PNP transistor, so that positive current could flow from emitter to the collector. The 2N3906 transistor allowed enough positive current to go to the base of the TIP31 transistor to switch it.

Because the positive lead of the motor is attached to the positive lead of the battery holder, when the TIP31 transistor switched, it allowed negative current to go from the battery case to the motor. The motor was then connected to the positive and negative leads of the batteries, and it begins to spin.

Comments

Vardhanbatavia007 (author)2017-02-02

Loved it bro truly. I was in search of this type of circuit since about 6 months........it is a humble request can you design me a circuit operated on 12v and 1A that is to be used to power a 12v motor along with phototransistor plz

YannL8 (author)2016-04-14

Hi, I have a question for the post owner. If you are still around let me know.

Thanks

Yann

JackANDJude (author)2013-12-29

Very good. It works with the transistors in Snap Circuits, too. Thanks for posting!

dsandds2003 (author)2012-07-15

Can you use higher voltages to drive a larger motor?

seraine (author)dsandds20032012-07-16

By this, do you mean using this with motors that are more than 4.5 volts? If so, I believe that the motor you use can be up to 40 volts. I base this on the fact that the maximum collector emitter voltage on the TIP31 datasheet is 40.

About This Instructable

5,671views

11favorites

License:

Bio: I am 14 years old, and I'm interested in many different things - electronics, chemistry, robotics, basketball, chess and much, much more.
More by seraine:Arduino Ticking Time BombMotion Activated ServoLow Voltage Electrical Igniters
Add instructable to: