| Main > Main Forum |
| LED control idea |
| << < (5/16) > >> |
| cholin:
Okay, well I also know little about diodes, so you would need to explain how they work and which ones to get. And Trimoor, you use it? Meaning you have the same idea as me? Could you take a few photos PLEASE for me? Is it nice in the end? |
| Trimoor:
I used the LED to indicate when the admin switch is pressed. I did not wire up a whole CP, but it would certainly work to do so. I sold the CP to a friend, so I can't get pictures right now, but it was covered in shrinktube anyway. Diodes are pretty simple: they allow electricity to pass through only in one direction. The direction is indicated by a colored band near one end. Diode tutorial Any old diode will work for this application. I used a pack of cheapies from radio shaft. They're called 'switching diodes', but anything will work for this. radio shaft diodes Any competent employee will know what you want if you ask for a 'pack of cheap switching diodes', so you might have trouble at radio shaft. I can modify the circuit to include an all-on switch if you want. All-off is easy--just disconnect the LED power supply. |
| cholin:
The power shouldnt be too hard, neither should the off, BUT I dont see how making electricity flow one way only would help...so what? How would that do anything? |
| Trimoor:
It prevents it from flowing in the wrong direction. It keeps it from interfering with the encoder. Inside the encoder is a pullup resistor, which makes the LED light improperly. It can keep it lit even when the button is not pressed. If nothing else, it will help protect the encoder from damage if you wire it up wrong. |
| cholin:
Exactly, it keeps it from flowing in the wrong direction, but how exactly does that replace the transistors? All this does is use a power supply, make sure it goes one way. I need to use a small voltage to allow a larger voltage...right? |
| Navigation |
| Message Index |
| Next page |
| Previous page |