Main > Main Forum

LED control idea

<< < (6/16) > >>

Trimoor:
You don't need transistors.  The diode lets you use the same switch for both the encoder and the light.

cholin:
Oh okay, I get it, so basically I just use one diode per switch and it powers the light and the switch?  Could you perhaps draw a crappy diagram for me as to where in the circuit I would place the diode, and not to mention, where I would place resistors?

Just so I dont look stupid, if you see, I dont even need diodes!  The only problem I was having with that is the fact that I didnt know how much the iPac gives out!  For example, if the iPac sends 1 volt out and the switch has 1 volt going through it to ground when its pressed, that 1 volt will be what is hooked up to the light, and frankly, thats not enough.  My only concern was that it would not supply enough power.  Could someone verify the power outages from an iPac PLEASE

Trimoor:

--- Quote from: cholin on February 14, 2005, 10:16:59 pm ---Oh okay, I get it, so basically I just use one diode per switch and it powers the light and the switch?

--- End quote ---
Yes.

The voltage of the ipac is irrelevent.  The diode keeps the ipac and LED seperate.  The LED is powered through a seperate power supply, which can be obtained from the PC, or from the USB cable.  Powering the LED off the ipac switch readers is not a good idea.

Once again, here is the circuit.  Hopefully you can understand it with labels.

cholin:
*Colin downloads the picture*

Thanks alot, I get it!  Basically, the switch works as normal, and the diode allows them to use a common ground!  You're a genious!  May I ask, how do you know all this?

Wienerdog:
GENIUS!!!

Looking at Kelseys picture of the pacman panel, it would be cool to make the red up, down, left, right triangles around the pacman stick out of a red plastic lit up from below by an LED using this method.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version