Pages: [1]   Go Down
Author Topic: 12v PWM LED control  (Read 2613 times)
0 Members and 1 Guest are viewing this topic.
2nd star on the right
Offline Offline
Jr. Member
**
Karma: 0
Posts: 96
Everything I am is classified under the official secreats act!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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?
Logged

Sorry for the noobish post but my knowledge is 10 years out of date!

Montreal
Offline Offline
Edison Member
*
Karma: 23
Posts: 2487
Per aspera ad astra.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Transistor.
Plus google and books.
You can start with this one:

http://tronixstuff.wordpress.com/
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 443
Posts: 23834
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Simple to do:


example of 12V wallwarts here
http://www.mpja.com/prodinfo.asp?number=17563+PD
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

2nd star on the right
Offline Offline
Jr. Member
**
Karma: 0
Posts: 96
Everything I am is classified under the official secreats act!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I thought you would say transisitor but I didn't think it could handle PWM!

Would the humble 2n2222 be of use?
Logged

Sorry for the noobish post but my knowledge is 10 years out of date!

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 443
Posts: 23834
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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).
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Pages: [1]   Go Up
Jump to: