<div dir="ltr">thank you, jake. i think have all the parts - just need to pull the inductor, resistor & cap. my plan is to make a pan/tilt/focusable spotlight controlled by dmx :)<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jun 20, 2015 at 7:20 PM, Jake <span dir="ltr"><<a href="mailto:jake@spaz.org" target="_blank">jake@spaz.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">put two 19v laptop adaptors in series with an n-channel mosfet, and have an arduino powered by only the lower 19V adaptor which controls the mosfet.<br>
<br>
put an inductor between the transistor and the LED -, and also put a diode from the inductor (where it connects to the drain of the mosfet) to the + of the LED, where it's connected to the + of the upper 19v laptop adaptor.<br>
put a good capacitor in parallel with the LED, rated for like 50 volts or more.<br>
<br>
in the arduino, set the PWM frequency to the highest it will go - a divisor of 1 will yield 31 or 62 kHz depending on which pin you use.<br>
<br>
connect a knob to one of the analog inputs, and write a program that reads the value of the knob and sets the PWM accordingly - although make the software limit the maximum PWM according to what you determine is the max power the light can handle.<br>
<br>
keep the transistor and LED cool.  Remember that the heatsink of the transistor must not electrically contact anything else - it is the drain (middle pin) electrically.<br>
<br>
of course you can write programs to control the brightness from patterns you create, instead of just looking at the knob.  Or you can make an audio input to one of the analog pins control brightness.  As for controlling servos, you can control 2 servos with an arduino pretty easily, on pins 9 and 10, it's one of the examples that comes with the arduino IDE.<br>
<br>
as for the fan, just connect it to one of the 19v power supplies with a series resistor so it gets the right amount of power.  If it's a 1w 12v fan, you will need a resistor like around 84 ohms, dissipating 0.58 watts. A 100 ohm 1w resistor would be fine, or a 50 ohm resistor if you want the fan to blow faster.<br>
<br>
-jake<span class=""><br>
<br>
On Fri, 19 Jun 2015, Robert Benson wrote:<br>
<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
I'm trying to drive several devices:<br>
<br>
1) 1x 1w 12v fan (pentium 2 cpu cooler)<br>
2) 1x 100w 35v 3a smd led. (I want the led to be dimmable & ideally capable of high<br>
frequency switching :))<br></span>
 *  Forward Voltage (VF): DC 32-34V<br>
 *  Forward current (IF): 3000MA<br>
 *  Out put Lumens: 8000-9500LM<span class=""><br>
3) several other servo/stepper motors for pan/tilt type uses<br>
<br>
with one arduino uno.<br>
<br>
Obviously, the arduino will not power the led so I need a driver for it & maybe even the<br>
motors.<br>
<br>
My research leads me to think that the led wants a constant current of 3 amps & a variable<br>
voltage for dimming. Circuits of this caliber have not been forthcoming in my searches on<br>
the web.<br>
<br>
Thank you for your consideration. Cheers<br>
Robb<br>
<br>
<br>
</span></blockquote>
</blockquote></div><br></div>