Well, I need to determine whether a red (or blue, which may require a different sensor) LED is on, based solely on its light output.
Here's the scenario:
A red LED flashes on and off from about a foot and a half away, behind a pane of plexiglass/glass. I need a way to detect whether or not it is on, and then send a signal to some small setup that will trigger a motor or actuator or something. The catch: Similarly-coloured lights are also flashing around it.
Here's what I'm thinking:
A few lenses to focus in on a spot the set distance away, with a light sensor (HELP! What to buy for a red LED/blue LED?) behind them. This goes to some mysterious IC, etc etc.
Thoughts?
The best way to determine whether an LED in on using light.
Moderator: Moderators
-
bicostp
- Moderator
- Posts: 10491
- Joined: Mon Mar 07, 2005 5:47 pm
- Steam ID: bicostp
- Location: Spamalot
- Contact:
What about an infrared emitter/detector pair? (You can get them at Rat Shack, and one of their detectors comes with a housing that blocks visible light.)
It may get tripped by TV remotes, though. (They use rapid blink sequences.)
It may get tripped by TV remotes, though. (They use rapid blink sequences.)
Twitter
http://www.pcwgaming.com" onclick="window.open(this.href);return false;
If you want a Dropbox account, please use my referral link
http://www.pcwgaming.com" onclick="window.open(this.href);return false;
If you want a Dropbox account, please use my referral link
Using a laser(maybe a cheap laser pointer) and a photoresistor in a small housing with a hole only big enough for the laser beam to go in might work if you wanted the light to still be visible.
I think focusing the LED light with lenses onto a small enough spot for a sensor to pick up only one LED while there are others flashing would be quite difficult, but if you find a way, more power to you!
I think focusing the LED light with lenses onto a small enough spot for a sensor to pick up only one LED while there are others flashing would be quite difficult, but if you find a way, more power to you!
-
Super Cameraman
- Posts: 1123
- Joined: Mon Feb 27, 2006 6:25 pm
Maybe get a cheap camera with a zoom and use a computer program. That old Lego Mindstorms program could detect motion, and that was years ago. I'm sure there's some free program that could emulate a key press on a keyboard when it detects motion in a certain part of the image...
There's my $0.02.
There's my $0.02.
If you're looking at this post and it was made before 2008, just ignore it.
Just out of interest, what is it for?
www.DSminded.com - Mod it. Play it. Love it.
GameCube #1: Black DOL-001 Qoob Pro - 1.3c bios + SDGekko + Controller port LED's
GameCube #2: DOL-001 GCp Project victim
Xbox #1: v1.4 with DuoX chip + EvoX/XBMC dash. 40GB HDD upgrade.
GameCube #1: Black DOL-001 Qoob Pro - 1.3c bios + SDGekko + Controller port LED's
GameCube #2: DOL-001 GCp Project victim
Xbox #1: v1.4 with DuoX chip + EvoX/XBMC dash. 40GB HDD upgrade.