Madhuborn2win
Newbie level 4
hi friends ! i need to connect 30 LEDs in parallel to microcontroller 89v51 as a single pin output.. i tried a lot but i couldn't.. please help me with some ideas..
Madhu..
Madhu..
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
How much current would be required to light the 30 LEDs in parallel?
How much current can the single output pin supply?
You will need a buffer/driver type of circuit, to supply that much current; probably a single-transistor circuit (basically a small amplifier), or some paralleled digital inverter/drivers outputs, or maybe a comparator (or several, depending on their current-sink rating). There are lots of ways to do it, once you realize that the single output pin cannot supply that much current. Just use it to trigger something that can provide that much current.
Use some transistor like 2N3904 NPN or something like that and switch it ON/OFF by connecting it, via series resistor, to your uController's output pin. Hang as many LEDs as you want on the collector side of NPN. Now,They will get their required currents from the source instead, because uController will not be able to provide a sufficiently large current all by itself on a single pin.
Use some transistor like 2N3904 NPN