I want to figure out when a cup has been removed. I saw a video of a firefighter themed table that could tell when a cup was removed, said it was via IR sensor.
**broken link removed**
As far as I have figured out by myself, i think I need something along the lines of this:
http://www.me.umn.edu/courses/me2011/robot/technotes/irbeam.html
Instead of a direct exposure from the IR LED to the sensor, I think both detector and IR bulb will be pointed through the glass at the cup and the reflection will (hopefully) turn on the IR sensor. I'm worried if the acrylic that the IR LED will be shining through will reflect the IR LED regardless of cup presence...
My question is a very basic one: How do I make this design toggle between two different colored LED's? My limited knowledge tells me I need something equivalent to a multiplexer *lol.* My goal is that the home team colors will be lit when the cups are down, and once dominated by the away team, THEIR colors will be the only ones left after all the home cups are gone. I'm actually a computer science student so my experience in circuit design is limited to a few basic classes (that also means I can't recognize some of the symbols used in circuit schematics), but I have done a bunch of solder projects on my own. I've pretty much forgotten how to calculate what resistors are needed though...
Budget is the main concern here... If anyone has any other ideas/suggestions for implementation, feel free! Remember, this is a beerpong table so best if it can be kept "under the glass."
So, in summary,
1. Does the approach seem sound? Is it OK to stream 20 of these things together with no change to the resistors and such? I will be working most likely at 12v, I'm using computer type 4 pin molex...neon cold cathodes will be going in the table as well. It won't be connected to a computer power source but rather one of those wall plug thingies that have a single wire w/ molex plug...they're used to test molex devices (do I need AC or DC?).
**broken link removed**
2. 850nm LED and 880nm phototransistors...will this pair work out or do the wavelengths have to be exactly the same?
3. What resistors will I need?
4. Is the wire gauge I use in this project important? Connected in parallel with the 12v lights/IR/neon cathodes, there will be 220v hair dryer fans being used (floating ball holder). What gauge wire should I use between those fans and what gauge after the 12v molex? Do I need anything special to properly connect insulate the 220v fan wires besides solder and shrink? I'd prefer not to use the 12v wall wart and the hairdryer plugs separately connected on one split extension cable...would like this to be a slightly more waterproof, self contained, and safe application.
Thanks!
**EDIT** Now using reed switches. My schematic so far:
http://farm4.static.flickr.com/3384/3600122858_f718836296_b.jpg
Excuse the handwriting, that's an "LED chaser" circuit at the end. It was suggested to me by someone else that I use CMOS/MOSFETs instead of transistors...
**broken link removed**
As far as I have figured out by myself, i think I need something along the lines of this:
http://www.me.umn.edu/courses/me2011/robot/technotes/irbeam.html
Instead of a direct exposure from the IR LED to the sensor, I think both detector and IR bulb will be pointed through the glass at the cup and the reflection will (hopefully) turn on the IR sensor. I'm worried if the acrylic that the IR LED will be shining through will reflect the IR LED regardless of cup presence...
My question is a very basic one: How do I make this design toggle between two different colored LED's? My limited knowledge tells me I need something equivalent to a multiplexer *lol.* My goal is that the home team colors will be lit when the cups are down, and once dominated by the away team, THEIR colors will be the only ones left after all the home cups are gone. I'm actually a computer science student so my experience in circuit design is limited to a few basic classes (that also means I can't recognize some of the symbols used in circuit schematics), but I have done a bunch of solder projects on my own. I've pretty much forgotten how to calculate what resistors are needed though...
Budget is the main concern here... If anyone has any other ideas/suggestions for implementation, feel free! Remember, this is a beerpong table so best if it can be kept "under the glass."
So, in summary,
1. Does the approach seem sound? Is it OK to stream 20 of these things together with no change to the resistors and such? I will be working most likely at 12v, I'm using computer type 4 pin molex...neon cold cathodes will be going in the table as well. It won't be connected to a computer power source but rather one of those wall plug thingies that have a single wire w/ molex plug...they're used to test molex devices (do I need AC or DC?).
**broken link removed**
2. 850nm LED and 880nm phototransistors...will this pair work out or do the wavelengths have to be exactly the same?
3. What resistors will I need?
4. Is the wire gauge I use in this project important? Connected in parallel with the 12v lights/IR/neon cathodes, there will be 220v hair dryer fans being used (floating ball holder). What gauge wire should I use between those fans and what gauge after the 12v molex? Do I need anything special to properly connect insulate the 220v fan wires besides solder and shrink? I'd prefer not to use the 12v wall wart and the hairdryer plugs separately connected on one split extension cable...would like this to be a slightly more waterproof, self contained, and safe application.
Thanks!
**EDIT** Now using reed switches. My schematic so far:
http://farm4.static.flickr.com/3384/3600122858_f718836296_b.jpg
Excuse the handwriting, that's an "LED chaser" circuit at the end. It was suggested to me by someone else that I use CMOS/MOSFETs instead of transistors...
Last edited: