Need help adding a on off IR LED/Phototransistor as switch

  • Thread starter Thread starter mac37m
  • Start date Start date
  • Tags Tags
    Ir Switch
mac37m
Messages
1
Reaction score
0
I'm building a small project and would like some assistance from you folks.
I have this motor 5rpm -12vdc and I'm using a Class 2 plug in transformer (input 12VDC 60Hz 23W - output 12VDC 1000mA) to power it up.

I would like to add a IR LED/Phototransistor between the two to act as a on off switch.
when a solid item goes between the LED and phototransistor it will stop or turn the motor off
and when it's clear it will turn on.
the distance of the IR LED/Phototransistor will be about two inches.



project_1.JPG


thanks in advance.
 
on Phys.org
for a small application like this motor, you should invest in an arduinio. By doing this all you really have to worry about is a handful of line of code, and the usage of a NPN transistor, a flyback diode (to prevent current surge damaging electronic components when the motor stops)

if you go this way, this youtube video should help out:
http://www.youtube.com/watch?v=js4TK0U848I&feature=relmfu
 

Similar threads

  • · Replies 14 ·
Replies
14
Views
3K
Replies
4
Views
2K
  • · Replies 42 ·
2
Replies
42
Views
20K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 4 ·
Replies
4
Views
19K
Replies
37
Views
8K
Replies
2
Views
2K
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K