2 ms·
Just tested with my power supply, and the minimum V_on seems to be about 2.7V. So if I want to drive all 10 in series, I'll need 30V+. If I had three banks in a
by mafuyu 8y ago
Just tested with my power supply, and the minimum V_on seems to be about 2.7V. So if I want to drive all 10 in series, I'll need 30V+. If I had three banks in a 4,3,3 configuration, I could get away with a 12V power supply as well, which would be nice since I already have a bunch of 12V 5A wall warts.
I already got the board you linked, supposedly configured for 700 mA. Haven't tested yet. The datasheet for the part says it can go up to 2A[0], so I could potentially modify the feedback circuit for 1A, which would reach the full 3W rating of the LEDs.
One issue with that driver chip is that the PWM/enable is active low, so I think I may just stick an inverter on the output of the Mesh Bee. The SDK for the NXP part has changed since the ZLL repo was updated, and I haven't had much luck getting it to compile myself.
[0]: http://www.xlsemi.com/datasheet/XL4001%20datasheet.pdf http://www.xlsemi.com/datasheet/XL4001%20datasheet.pdf
- bb88 8y agoSo note the I/V curve on the diode [3]. The minimum on at 2.7V is probably going to be the "knee" voltage. Sending 1A through the led will be a higher voltage. The easiest way to test it is to get a multimeter, and put 1A through the led, then measure the voltage across the diode, and that will be the voltage you're targeting. (or you can just use one of the 700ma current regulators for a good estimate, placing the enable to ground.) Also keep in mind that those current regulators are buck converters and they're not 100% efficient (no regulator is, really). So you're going to want to add 20-30% more power at a minimum on top of the load you're planning on driving with it. And if you're going to drive 12V of LED's, expect to need 15-18V to drive the buck converter. That's because of the way buck converters work. The feedback voltage on that chip is a fixed 1.2V and that's used as an internal voltage reference (I guess because they didn't add one into the chip). They have a circuit diagram for that part, and it looks like CS and Rcs are the most important things on that sheet. CS is the "Current Sense" that measures the voltage across the current sense resistor (Rcs). They give the formula for Calculating Rcs to get to 1A (ILED = 0.155 / Rcs), and I get .15 ohm for Rcs at 1A. Then you can either replace it with another sense resistor with something like this [2], or an appropriate length of copper wire [1] to give you the correct resistance. As far as the PWM/enable inversion goes, just invert it in software. 100% full duty cycle would be off and 0% would be on. If you have a Raspberry PI laying around you can easily set one of the pins to PWM to test out your inverter code [4]. I'm going down a similar path to build a UV light box for exposing PCB's and the like. Best of luck! [1] http://hyperphysics.phy-astr.gsu.edu/hbase/Tables/wirega.html http://hyperphysics.phy-astr.gsu.edu/hbase/Tables/wirega.htm... [2] https://www.mouser.com/ProductDetail/Bourns/CRM2512-FX-R150ELF?qs=sGAEpiMZZMtlleCFQhR%2fzU6toPXne%2f2bcqkBL6Zg3wE%3d https://www.mouser.com/ProductDetail/Bourns/CRM2512-FX-R150E... [3] https://www.electronics-tutorials.ws/blog/i-v-characteristic-curves.html https://www.electronics-tutorials.ws/blog/i-v-characteristic... [4] https://circuitdigest.com/microcontroller-projects/raspberry-pi-pwm-tutorial https://circuitdigest.com/microcontroller-projects/raspberry...
- therein 8y agoWhy do you want to drive the 10 LEDs in series?