Pages: 1 [2]   Go Down
Author Topic: 12v 5v power supply, and transistor question  (Read 2175 times)
0 Members and 1 Guest are viewing this topic.
Down Under (Australia), SA
Offline Offline
Jr. Member
**
Karma: 0
Posts: 83
Newbie is an understatement
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Why not buy a 12v regulated wall wart, and power the Arduino from it as well as the lights, through either barrel jack or the Vin pin? That way, you don't need to mess around with regulators.

Your schematic isn't right. You need to connect the -ve side of the 15v input to Arduino ground and the source terminal of the mosfet (and the ground terminal of any regulators you may be using). The resistor goes between the mosfet gate terminal and the Arduino output pin.
because the arduinos regulator can not supply enough current to run the LEDs and it would over heat
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 596
Posts: 33271
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
because the arduinos regulator can not supply enough current to run the LEDs and it would over heat
No the power to run the LEDs will not come from the arduino but directly from the 12V.
Logged

Down Under (Australia), SA
Offline Offline
Jr. Member
**
Karma: 0
Posts: 83
Newbie is an understatement
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
because the arduinos regulator can not supply enough current to run the LEDs and it would over heat
No the power to run the LEDs will not come from the arduino but directly from the 12V.
hmmm
i will still use the two regulators, it will  give me some good soldering practice and will ceramic caps work
Logged

Global Moderator
Boston area, metrowest
Online Online
Brattain Member
*****
Karma: 512
Posts: 26212
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

So you're gonna end up with this:


* Regulators & N-channel PWM.jpg (37.69 KB, 960x720 - viewed 20 times.)
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.

Down Under (Australia), SA
Offline Offline
Jr. Member
**
Karma: 0
Posts: 83
Newbie is an understatement
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

well i wont need the resistor between the LEDs and the mosfet because i am using a pre-made LED strip.
with the resistor between the arduino and the mosfet what value should it be and with the caps for the regulators will 50 Volt Ceramic Capacitors work well.

P.S. the data sheet calls for 0.22uF and 0.1uF
« Last Edit: November 29, 2011, 08:40:30 am by tigerbomb8 » Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 596
Posts: 33271
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
he caps for the regulators will 50 Volt Ceramic Capacitors work well.
Yes they are the best thing to use.
Logged

Global Moderator
Boston area, metrowest
Online Online
Brattain Member
*****
Karma: 512
Posts: 26212
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

Gate resistor: 100, 120,150, whatever's handy in that range
.22 & .1 are okay.
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 [2]   Go Up
Jump to: