Arduino Forum
>
Topics
>
Home Automation and Networked Objects
>
12v PWM LED control
Print
Go Down
Pages:
[1]
Topic: 12v PWM LED control
(Read 4967 times)
previous topic
-
next topic
AJB2K3
Full Member
Posts: 140
Karma: 0
[add]
Everything I am is classified under the official secrets act!
http://www.ajb2k3.co.uk
12v PWM LED control
Jun 05, 2011, 06:54 pm
I've ordered my first Arduino with the intention of using it to control my 12V LED lighting,
However seeing that I haven't done anything remotely micro-controller related for over 10 years I have no idea how to convert the Arduino's pwm to the required 12V PWM.
What do I use?
Sorry for the noobish post but my knowledge is 10 years out of date!
Magician
Faraday Member
Posts: 3,003
Karma: 283
[add]
Per aspera ad astra.
Re: 12v PWM LED control
#1
Jun 05, 2011, 07:00 pm
Transistor.
Plus google and books.
You can start with this one:
http://tronixstuff.wordpress.com/
CrossRoads
Global Moderator
Unlimited Eagle board sizes available.
Brattain Member
Posts: 45,741
Karma: 2063
[add]
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
http://www.crossroadsfencing.com/BobuinoRev17/
Re: 12v PWM LED control
#2
Jun 05, 2011, 07:14 pm
Simple to do:
example of 12V wallwarts here
http://www.mpja.com/prodinfo.asp?number=17563+PD
Designing & building electrical circuits for over 25 years. Screw Shield for Mega/Due/Uno, Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at my website.
AJB2K3
Full Member
Posts: 140
Karma: 0
[add]
Everything I am is classified under the official secrets act!
http://www.ajb2k3.co.uk
Re: 12v PWM LED control
#3
Jun 05, 2011, 08:57 pm
I thought you would say transisitor but I didn't think it could handle PWM!
Would the humble 2n2222 be of use?
Sorry for the noobish post but my knowledge is 10 years out of date!
CrossRoads
Global Moderator
Unlimited Eagle board sizes available.
Brattain Member
Posts: 45,741
Karma: 2063
[add]
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
http://www.crossroadsfencing.com/BobuinoRev17/
Re: 12v PWM LED control
#4
Jun 05, 2011, 09:12 pm
Sure. Default switching speed is only 490 Hz, 2n2222 can handle that just fine.
Just keep an eye on the total current thru the parts so you don't smoke anything.
From arduino thru NPN base, thru the NPN C-E, and thru the LED(s).
Designing & building electrical circuits for over 25 years. Screw Shield for Mega/Due/Uno, Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at my website.
Print
Go Up
Pages:
[1]
Loading...