Maker Pro
Maker Pro

Arduino LED help

gihanasanka

Aug 14, 2012
22
Joined
Aug 14, 2012
Messages
22
Hi
I would like to know how to run 100 LED bulb from Arduno
Uno board..
I wrote program to Arduno Uno for get 5 out put from board.
it's working properly. when I connect C828 And D400 transistar as driver
cc't to run 100nos led from each channel. but no action from
transistor. (Those transistar are new. )


will I use another method from get it run 100+ led bulb

please help me

Thanks again
 
Last edited:

Harald Kapp

Moderator
Moderator
Nov 17, 2011
13,700
Joined
Nov 17, 2011
Messages
13,700
Show us the schematic of your design (we don't know what C828 or D400 are) and give a bit more information, such as:
- operating voltage of the 100 LED lamp
- operating current of the 100 LED lamp
- types and values of components (indicate on schematic, please)
- supply voltage sused
 

gihanasanka

Aug 14, 2012
22
Joined
Aug 14, 2012
Messages
22
Pls see the attached picture for circut diagrame
 

Attachments

  • IMG_20181122_075507~2.jpg
    IMG_20181122_075507~2.jpg
    187.8 KB · Views: 10

Harald Kapp

Moderator
Moderator
Nov 17, 2011
13,700
Joined
Nov 17, 2011
Messages
13,700
You cannot drive a high side switch (transistors to 12 V) from an arduino with a max. output voltage of 5 V.
You need to use a low side switch:
upload_2018-11-22_7-8-57.png
Note that gnd aof the power bank and of the arduino have to be connected for this to work.
 

Harald Kapp

Moderator
Moderator
Nov 17, 2011
13,700
Joined
Nov 17, 2011
Messages
13,700
That depends on the current consumption of your LEDs which you still haven't posted despite my request in post #2.
Any transistor which can carry the required current and has sufficient current gain can be used.
Or use a logic level MOSFET.
 

(*steve*)

¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd
Moderator
Jan 21, 2010
25,510
Joined
Jan 21, 2010
Messages
25,510
And in general, LEDs require some form of current limiting (for low power LEDs, typically a resistor).
 

gihanasanka

Aug 14, 2012
22
Joined
Aug 14, 2012
Messages
22
I can't understand. Early I done same led pattern display with PIC microcontroller + C828 & B562 transistor. I never using MOSFET. Now I trying do that Arduno .
 

gihanasanka

Aug 14, 2012
22
Joined
Aug 14, 2012
Messages
22
Thanks for advice .
Happy to inform to you I connect 2nos of NOT gate with Arduno out put and also connected two GND line together.. It works. but I think D400 is not enough power to my project. I
 

Harald Kapp

Moderator
Moderator
Nov 17, 2011
13,700
Joined
Nov 17, 2011
Messages
13,700
We can't help you more if you don't reveal the power consumption of your LEDs, despite my asking in post #2 and #6.
 

gihanasanka

Aug 14, 2012
22
Joined
Aug 14, 2012
Messages
22
Dear Sir.

Sorry for inconvenience caused this regard.
my project like this. 90℅ match with this.( I don't know power consumption of this)

I'm planning

5mm Red color 60LED bulb
5mm Blue colour 60 LED bulb
5mm White colour 60 LED bulb
5mm Pink colour 60 LED bulb
5mm Green colour 60 LED bulb
5mm Yellow colour 120 LED bulb use as this attached picture . power supply will 12V/1A transformar.
 

Harald Kapp

Moderator
Moderator
Nov 17, 2011
13,700
Joined
Nov 17, 2011
Messages
13,700
The D400 is good for max. 1 A collector current. I recommend to use it at max. 800 mA, though. Lacking more ata it is up to you to determine whether this is enough for your setup.
 

kellys_eye

Jun 25, 2010
6,514
Joined
Jun 25, 2010
Messages
6,514
60 LEds run at 20mA will consume 1.2A on their own - never mind multiple strings of them.

Your PSU is vastly under rated.
 
Top