K
Ken
Guest
Hey, I'm pretty new to electronics and I decided to start by building
a simple circuit using some LEDs, some switches, and a DC adapter. Not
very fancy, there are 5 groups of LEDs wired in parallel, each with
its own unique switch, but they all share the DC adapter for power
(only one set of lights needs to be on at one time, so I'm not worried
about regulating the amount of current). Using ohm's law, I
calculated the correct number of LEDs to use in each group to divide
the current down to an appropriate level. Now for my problem:
When i flip any of the switches, every group comes on. I realize
that this is in some way because they all share a common power supply,
but beyond that I'm stuck. I read somewhere that a diode might solve
this. I'm not entirely sure how a diode would help though. If
electricity flows from negative to positive, why do I need to
introduce a new structure for doing that? Or am I not getting the idea
of diodes? I don't even though if that's the right way to go. I read
somewhere else about logic gates, which also seems like a possible
solution. However before I continue, I'd like to try and understand
exactly what's going on. Any help anyone could give would be greatly
appreciated.
a simple circuit using some LEDs, some switches, and a DC adapter. Not
very fancy, there are 5 groups of LEDs wired in parallel, each with
its own unique switch, but they all share the DC adapter for power
(only one set of lights needs to be on at one time, so I'm not worried
about regulating the amount of current). Using ohm's law, I
calculated the correct number of LEDs to use in each group to divide
the current down to an appropriate level. Now for my problem:
When i flip any of the switches, every group comes on. I realize
that this is in some way because they all share a common power supply,
but beyond that I'm stuck. I read somewhere that a diode might solve
this. I'm not entirely sure how a diode would help though. If
electricity flows from negative to positive, why do I need to
introduce a new structure for doing that? Or am I not getting the idea
of diodes? I don't even though if that's the right way to go. I read
somewhere else about logic gates, which also seems like a possible
solution. However before I continue, I'd like to try and understand
exactly what's going on. Any help anyone could give would be greatly
appreciated.