Offline
Newbie
Karma: 0
Posts: 8
|
 |
« on: July 01, 2012, 12:42:46 am » |
I am looking to drive a number of 1157 automotive bulbs utilizing a 12v DC MOSFET configuration paired / breadboarded to my Uno.
1157 bulbs are typically used in automotive applications - you know, night time lights when you're driving and then they brighten and become brake lights.
In my application I need to creatre a functional circuit controlled by a switch that mirrors this wattage brightening effect - I am assuming that MOSFET controlled would work best here.
Like in automotive night time mode, I need the bulbs to run at the standard luminescence that is effected at 10W, the brightened mode at 27w, and I need to turn them off completely. I'd like to code this (seems it would be fairly easy) but the difficulty is determining the hardware to effectively run this circuit (or one of the circuits) from my Uno.
Essentially, what I'm looking around for is a circuit setup that will allow me to control my 12v light/lights (in tandem, two) much like the effect you would get of stomping on your brakes at night by utilizing a momentary normally off switch with instructions coded through arduino. Any advice or tips? I looked around a great deal and couldn't find anything much on this specific topic.
Thanks for your help!
|
|
|
|
« Last Edit: July 01, 2012, 12:45:43 am by moncureww »
|
Logged
|
|
|
|
|
Global Moderator
Boston area, metrowest
Offline
Brattain Member
Karma: 249
Posts: 16579
Available for Design & Build services
|
 |
« Reply #1 on: July 01, 2012, 01:01:45 am » |
Those bulbs do two brightnesses by using two filaments. Are you planning to control the two elements? Controlling 2 Transistors to do would seem pretty straightforward.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 8
|
 |
« Reply #2 on: July 01, 2012, 01:22:48 am » |
Why specifically a transistor? And which sort of transistors would be best for this application? Again, this is a project I've taken on as an educational endeavor - but if a MOSFET configuration would be possible I'd like to proceed in that direction. I have just grown comfortable with pre-coding most of my project using MOSFET's so far - and I just haven't jumped into utilizing transistors for this application.
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Boston area, metrowest
Offline
Brattain Member
Karma: 249
Posts: 16579
Available for Design & Build services
|
 |
« Reply #3 on: July 01, 2012, 02:12:03 am » |
MOSFET is a transistor. Good for controlling higher currents while keeping cool due to very low internal on-resistance. N-channel would be good, can switch 12V on & off using 5v control levels from the Arduino. Search at digikey.com: N-channel mosfet, fets-single, in-stock, logic-level, thru hole, will come up with ~12 pages of choices. Sort by price, then scroll down to find lowest Rds part you can (down in the 50 mOhm (milli0ohm) range) in the package you like and the cost you can accept. That method yields this one as a good example I would think. http://www.digikey.com/product-detail/en/NTD5867NL-1G/NTD5867NL-1GOS-ND/2401422
|
|
|
|
« Last Edit: July 01, 2012, 02:24:28 am by CrossRoads »
|
Logged
|
|
|
|
|
Global Moderator
Boston area, metrowest
Offline
Brattain Member
Karma: 249
Posts: 16579
Available for Design & Build services
|
 |
« Reply #4 on: July 01, 2012, 02:26:28 am » |
Wire 12V to one side of the light, other side to MOSFET, other side of MOSFET to GND. Called Low Side switching. Lots of examples in the forum and playground.
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Tesla Member
Karma: 73
Posts: 6638
Arduino rocks
|
 |
« Reply #5 on: July 01, 2012, 05:50:54 am » |
In the UK these bulbs typically have 5W and 21W filaments, taking 0.4A and 1.75A respectively when on. However bulb filaments take many times more current at startup from cold (when the resistance is much less). The switching device must be able to carry these higher start-up current pulses safely - assume about 8 times the hot current, so lets assume about 15A peak pulses. The FETs need to be rated at least this for current if the power supply is capable of supplying it (and the power supply probably needs to be able to give at least 3 or 4A to guarantee bring the filament up to temperature BTW).
In order to run cool they should also not dissipate lots of heat. Power dissipation in a FET that's on is I-squared-R for R=on resistance. An on-resistance of 0.05 ohm would mean about 150mW dissipation for 1.75A, which is reasonable.
So, we're looking for two _logic level_ n-channel MOSFETs rated at 15A or more, Rds(on) of <= 0.05 ohm for each bulb. Voltage rating of >= twice the supply suggests 30V or more for the voltage rating.
Wiring is Arduino-pin to 150 ohm resistor, other end of resistor to the MOSFET gate. MOSFET source to 0V (ground). MOSFET drain to bulb filament, other side of filament to +12V supply. Adding a 10k resistor between gate and source will hold it switched off while the Arduino resets.
And don't forget it needs to be a logic-level MOSFET.
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Boston area, metrowest
Offline
Brattain Member
Karma: 249
Posts: 16579
Available for Design & Build services
|
 |
« Reply #6 on: July 01, 2012, 01:05:51 pm » |
So you're in agreement this part is ok?
FET Type MOSFET N-Channel, Metal Oxide FET Feature Logic Level Gate Drain to Source Voltage (Vdss) 60V Current - Continuous Drain (Id) @ 25° C 20A Rds On (Max) @ Id, Vgs 39 mOhm @ 10A, 10V Vgs(th) (Max) @ Id 2.5V @ 250µA Gate Charge (Qg) @ Vgs 15nC @ 10V Input Capacitance (Ciss) @ Vds 675pF @ 25V Power - Max 36W
|
|
|
|
|
Logged
|
|
|
|
|
United Kingdom
Offline
Faraday Member
Karma: 131
Posts: 4694
|
 |
« Reply #7 on: July 01, 2012, 01:15:20 pm » |
So you're in agreement this part is ok?
FET Type MOSFET N-Channel, Metal Oxide FET Feature Logic Level Gate Drain to Source Voltage (Vdss) 60V Current - Continuous Drain (Id) @ 25° C 20A Rds On (Max) @ Id, Vgs 39 mOhm @ 10A, 10V Vgs(th) (Max) @ Id 2.5V @ 250µA Gate Charge (Qg) @ Vgs 15nC @ 10V Input Capacitance (Ciss) @ Vds 675pF @ 25V Power - Max 36W
Since you will be using logic level gate drive, the Rds(on) that matters is the one quoted at the Vgs you will actually be using, not the one quoted at 10V. If it really is a logic level mosfet, then it will have a specified Rds(on) for Vgs = 4.5V or thereabouts as well as the one for 10V.
|
|
|
|
|
Logged
|
Formal verification of safety-critical software, software development, and electronic design and prototyping. http://www.eschertech.com
|
|
|
|
Global Moderator
Boston area, metrowest
Offline
Brattain Member
Karma: 249
Posts: 16579
Available for Design & Build services
|
 |
« Reply #8 on: July 01, 2012, 02:22:11 pm » |
Datasheet says 50mOhm at 4.5V. So between 50mOhm and 39mOhm at 5V. Fig 3 & 4 show even lower at low currents.
|
|
|
|
|
Logged
|
|
|
|
|
United Kingdom
Offline
Faraday Member
Karma: 131
Posts: 4694
|
 |
« Reply #9 on: July 01, 2012, 02:29:54 pm » |
50mOhm is the value you should use then, at drain currents up to the one that value is quoted at. Ignore the graphs unless you are feeling lucky, they show typical values, not guaranteed values.
|
|
|
|
|
Logged
|
Formal verification of safety-critical software, software development, and electronic design and prototyping. http://www.eschertech.com
|
|
|
|
0
Offline
Tesla Member
Karma: 73
Posts: 6638
Arduino rocks
|
 |
« Reply #10 on: July 01, 2012, 04:52:41 pm » |
So yes, that ought to be fine. That's the NTD5867NL mentioned already by the look of it. There will be many other possibilities but few will be much cheaper.
|
|
|
|
|
Logged
|
|
|
|
|
|