The basic code for telling the driver to dim looks like this:terahz - I've got the parts ordered for your LM3409 driver with I2C dimming. Could you post a sketch snippet of the code you're using for dimming?
byte Program = 64; // Program command
byte Device = 96; // Driver Address
int value = 500; // (0-4095)
byte b1 = byte((value / 16));
byte b2 = byte(value % 16);
Wire.beginTransmission(Device);
Wire.write(Program);
Wire.write(b1);
Wire.write(b2 << 4);
Wire.endTransmission();
Then I unplugged everything and took the Hydra with the I2C connection, ground, and 5V off. The only things connected are the power supply, driver, and LEDs. Still does the same thing. I checked as best I could with a high power magnifier but I can't see a short anywhere.
Kinda mixed emotions; yes it works but it doesn't work right!
Any suggestions? I think tomorrow I'll just start over building another driver.
It is unlikely that you got it backwards and still have working LEDs.Now I'm wondering if I've got the LM3409 on backwards. If I'm looking at the board with the heat sink away from me, the little dimple is on the top left side, on the side next to L1. I'm now noticing a small white dot on the silkscreen on the opposite corner. Should the dot on the chip line up with the dot on silkscreen?
How many drivers would i need to run 225 3 watt drivers are they dimable
Ok, could use a little help. I didn't find the lower amp LM3409 lists for THz's design, so I'm going to try to run through the spreadsheet myself. Can some one give me an indication of a good target for frequency in step 2? Up above that section it says Fsw should be between 100 - 1,00kHz. Is that the same frequency and is that 100 Hz or 100kHz to 1,000kHz (and isn't that 1mHz)???
and as a follow up - what is Cout on THz's design? I don't see that referenced in the data sheet, but do see C2 on the output side going to ground - is that it??
OK, I've built two working drivers. I built a "test string" of 6 XT-E CW and 6 XT-E RB. While it will certainly dim, it does not dim as low as I expected. With the minimum value in Terehz's sketch (16), it only dims to what I would call 50 - 60 %. I had hoped that it would dim down to almost nothing.
Any ideas?
Ok, few things here. Can you measure the voltage at the point between R4 and C4 for the highest and lowest values you can use (I assume when you use 15, the LEDs shut off?).
Do the same at the point between U3 and R6.
What is the config of your board? How much current, how many LEDs etc?
If the LM3409 is to hot to touch, something is definitely wrong. Have you seen my video showing how I solder it?
If in fact you don't have to multiply the measured voltage, than 0.01V-0.08V is no good. Are the LEDs really bright?
You can try to remove the lm3409 by placing your board flat on a pan and on the stove. Just keep the heat at medium and watch the board, you will see it melt and you should be able to lift it with tweezers. Then try to resolver it.
Let us know how it goes.
First though, here is my version of the LM3409 design:
http://code.google.com/p/hpled/source/browse/#svn/trunk/lm3409
If the LM3409 is to hot to touch, something is definitely wrong.