Dubuque, Iowa, USA
Offline
Edison Member
Karma: 13
Posts: 1539
|
 |
« Reply #15 on: May 13, 2012, 12:13:12 am » |
The Transistor as Switch section shows setup. Also read the "Connecting a transistor from the output of an IC" for an explanation of what's going on. Heck, read the whole page and you'll be a lot smarter in the end  The current drawn by a laser pointer is very low so pretty much any N-channel transistor you have will work.
|
|
|
|
|
Logged
|
|
|
|
|
Phoenix, Arizona USA
Offline
Faraday Member
Karma: 27
Posts: 5078
Where's the beer?
|
 |
« Reply #16 on: May 13, 2012, 01:10:33 am » |
Something like this?
Yes! Exactly.  Something you might have to play with is finding the right photo-transistor; most are at best sensitivity in the IR region (look at the datasheet), but you can get ones that are sensitive in other bandwidths.
|
|
|
|
« Last Edit: May 13, 2012, 01:12:04 am by cr0sh »
|
Logged
|
|
|
|
|
0
Offline
Tesla Member
Karma: 50
Posts: 6540
Arduino rocks
|
 |
« Reply #17 on: May 13, 2012, 01:29:07 am » |
I've driven a cheap laser pointer using a transistor without issue. No problem switching it at 38KHz for use with an IR receiver. Interesting. How sensitive are the IR receivers to the visible red spectrum of the cheap laser pointers?
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Sr. Member
Karma: 0
Posts: 340
Arduino rocks
|
 |
« Reply #18 on: May 13, 2012, 01:49:45 am » |
The Transistor as Switch section shows setup. Also read the "Connecting a transistor from the output of an IC" for an explanation of what's going on. Heck, read the whole page and you'll be a lot smarter in the end  The current drawn by a laser pointer is very low so pretty much any N-channel transistor you have will work. Why do I need to use a transistor? If the end result is still the laser being rapidly cycled then what's wrong with just using one of the digi out pins?
|
|
|
|
|
Logged
|
|
|
|
|
Gosport, UK
Offline
Faraday Member
Karma: 19
Posts: 3118
|
 |
« Reply #19 on: May 13, 2012, 02:33:53 am » |
Probably the current drawn is too high.
|
|
|
|
|
Logged
|
|
|
|
|
Dubuque, Iowa, USA
Offline
Edison Member
Karma: 13
Posts: 1539
|
 |
« Reply #20 on: May 13, 2012, 03:01:30 am » |
I've driven a cheap laser pointer using a transistor without issue. No problem switching it at 38KHz for use with an IR receiver. Interesting. How sensitive are the IR receivers to the visible red spectrum of the cheap laser pointers? That's a tough question to answer; given the nature of the coherent beams of lasers it should be sensitive at "any" distance. I quickly got a signal at ~12 meters distance (the longest clear span in my house) without tweaking the laser focus, frequency, or power and didn't take it any farther. My goal was only to build a laser tripwire and I wasn't attempting long distance communication.
|
|
|
|
|
Logged
|
|
|
|
|
Manchester (England England)
Offline
Brattain Member
Karma: 275
Posts: 25481
Solder is electric glue
|
 |
« Reply #21 on: May 13, 2012, 03:33:48 am » |
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Sr. Member
Karma: 0
Posts: 340
Arduino rocks
|
 |
« Reply #22 on: May 13, 2012, 11:53:01 am » |
That's too much info. Why can't I buy some cheap, green laser from eBay and rapidly turn it on/off using a digi out pin (assuming the voltage is not more than the required amount for the laser)?
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Edison Member
Karma: 3
Posts: 1712
|
 |
« Reply #23 on: May 13, 2012, 12:06:42 pm » |
Why can't you? Lol try it or search online if someone did before, I haven't tried it(couldn't get it open) and don't know of anyone who did
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Edison Member
Karma: 23
Posts: 1372
Now, More Than Ever
|
 |
« Reply #24 on: May 13, 2012, 12:10:18 pm » |
Why can't I buy some cheap, green laser from eBay and rapidly turn it on/off using a digi out pin (assuming the voltage is not more than the required amount for the laser)?
It's not the voltage, in that case - it's the current. Do you have a laser pointer or a similar, simple laser module (5V or 3V) at hand?
|
|
|
|
|
Logged
|
Don't Be Upset By The Results You Didn't Get With The Work You Didn't Do
|
|
|
|
Offline
Edison Member
Karma: 23
Posts: 1372
Now, More Than Ever
|
 |
« Reply #25 on: May 13, 2012, 12:19:52 pm » |
Getting something done with a low-power module will be a lot easier than something "high-power". There's not a PnP, "one-size-fits-all" solution for you.
|
|
|
|
|
Logged
|
Don't Be Upset By The Results You Didn't Get With The Work You Didn't Do
|
|
|
|
Manchester (England England)
Offline
Brattain Member
Karma: 275
Posts: 25481
Solder is electric glue
|
 |
« Reply #26 on: May 13, 2012, 01:07:32 pm » |
That's too much info. That makes me sad. You can't be bothered to read this simplified web page. What ever makes you think you are going to understand what to do. Why can't I buy some cheap, green laser from eBay and rapidly turn it on/off using a digi out pin Well that page would have told you. (assuming the voltage is not more than the required amount for the laser)? Hint:- it is.
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Sr. Member
Karma: 0
Posts: 340
Arduino rocks
|
 |
« Reply #27 on: May 13, 2012, 01:14:50 pm » |
(assuming the voltage is not more than the required amount for the laser)? Hint:- it is. If the laser wants 3v, then I just add the appropriate resistor right? Problem solved. Is there something I'm missing or is it not that simple? If I am missing something, why can't it be mentioned in one or 2 sentences? Like this, "That won't work because X, Y, Z"
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Tesla Member
Karma: 50
Posts: 6540
Arduino rocks
|
 |
« Reply #28 on: May 13, 2012, 01:26:26 pm » |
That's a tough question to answer; given the nature of the coherent beams of lasers it should be sensitive at "any" distance. I quickly got a signal at ~12 meters distance (the longest clear span in my house) without tweaking the laser focus, frequency, or power and didn't take it any farther. My goal was only to build a laser tripwire and I wasn't attempting long distance communication. Did you use a modular IR receiver like is used in typical home IR remote controlled electronics? If so, which particular one did you use?
|
|
|
|
|
Logged
|
|
|
|
|
Manchester (England England)
Offline
Brattain Member
Karma: 275
Posts: 25481
Solder is electric glue
|
 |
« Reply #29 on: May 13, 2012, 01:28:47 pm » |
If the laser wants 3v, then I just add the appropriate resistor right? Wrong. why can't it be mentioned in one or 2 sentences? Like this, "That won't work because X, Y, Z" This won't work because a laser presents a varying impedance to the thing driving it and so a simple resistor will not be able to give it the constant current it needs.
|
|
|
|
|
Logged
|
|
|
|
|
|