Welcome to Laser Pointer Forums - discuss green laser pointers, blue laser pointers, and all types of lasers

LPF Donation via Stripe | LPF Donation - Other Methods

Links below open in new window

ArcticMyst Security by Avery

Help with work with transistors as a switch.

Fiddy

0
Joined
May 22, 2011
Messages
2,726
Points
63
G'day,

So i bought one of these dummy cameras that pan when they sense motion.

$T2eC16d,!zQE9s3stYU9BR4Reu8BDg~~60_57.JPG


What i want to happen is:

Once motion is detected, the pan motor turns on and starts panning the camera, at the same time i want a 445nm laser with a vertical line generator lens to 'scan' the room, the camera will stop panning after 20seconds or so and i want the laser to turn off also.

So i thought id use a NPN transistor and tap off the motor that pans the camera, you follow me?

This is what ive come up with.
pantiltlaser.png


Would that work as intended? what transistor should i look at for running a ka$io diode at about 1W?

Any help would be appreciated :D

-Fiddy.
 





Things

0
Joined
May 1, 2007
Messages
7,517
Points
0
What voltage is the motor operated at? Keep in mind that if it pans back across the room, side to side, then it's probably being driven by a H-bridge, thus the line you've drawn as positive on the motor won't always be positive.
 

Fiddy

0
Joined
May 22, 2011
Messages
2,726
Points
63
it runs from 3xAAA's so ~4.5V nah its too cheap for that, it just runs 1 speed one way, the gearbox sorts out the panning action.
 

djQUAN

0
Joined
May 27, 2013
Messages
1,154
Points
63
can you take a hi-res picture of the board that controls the panning motor?
 

Fiddy

0
Joined
May 22, 2011
Messages
2,726
Points
63
i can but whats the point of that? it just runs in one direction.
 

djQUAN

0
Joined
May 27, 2013
Messages
1,154
Points
63
So we can see how the motor is switched. If you're lucky, we could even run the motor off the same battery as the laser diode.
 

Fiddy

0
Joined
May 22, 2011
Messages
2,726
Points
63
its just a small transistor that turns on the motor
 

Things

0
Joined
May 1, 2007
Messages
7,517
Points
0
Anyway yeah, your diagram will work. You could use a MOSFET and you probably wouldn't even need the base resistor.
 

Fiddy

0
Joined
May 22, 2011
Messages
2,726
Points
63
interesting, mosfet ay? theyd be better for fully on or fully off ye?
 

djQUAN

0
Joined
May 27, 2013
Messages
1,154
Points
63
what's the part number on the transistor that switches the motor?

I'd be careful of the mosfet. Since the motor is inductive and it might produce voltage spikes at turn off, which could destroy mosfet gates. The motor controller should have a reverse biased diode connected across the motor to absorb the spike.
 

Fiddy

0
Joined
May 22, 2011
Messages
2,726
Points
63
i doubt it would have anything like that, its really cheap. the motor is small and drives the gearbox via a small rubber band/belt
 

djQUAN

0
Joined
May 27, 2013
Messages
1,154
Points
63
your circuit in your first post would work but you have to use a different resistor (50ohm is too low) how much current/laser power do you intend to use?
 

Fiddy

0
Joined
May 22, 2011
Messages
2,726
Points
63
ill be going for a boost driver so around 1.6A input current.
 

djQUAN

0
Joined
May 27, 2013
Messages
1,154
Points
63
Ow. that's a little higher than a transistor can handle with minimal losses. As Things mentioned, you can use a mosfet which is better at high currents but you'll need a logic level mosfet due to the low voltage (4.5V) to turn it on.

something like IRL2703PBF should work and use a gate resistor about 4.7kohm just to protect from spikes from the motor.

Edit: yes a relay can also work but keep in mind a solid state relay has more losses/voltage drop compared to a mechanical one.
 
Last edited:




Top