(Another) DIY LED Controller - Simple Arduino Style

that kinds of confusing me why you lable it led


Shikyung, those are just variables inherited from the original sketch for Arduino... I was just too lazy to change it... my apology....

thats why i included thesee...

PHP:
/*|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||  R E L A Y   P A R T  |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||*/
/*|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||  S I M P L E   O N   A N D   O F F   F E A T U R E |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||*/




To all,

sorry for not answering back..... I am done moving my stuff from old house to new.... but my tank is still in the old.... its so chaotic right now, i dont know where to even put it... you see boxes everywhere..... I dont even have a computer table setup yet... so im doing this on the floor...


Plus, i still need to do the PAR reading..... lol.... CRAZY!!!!!

Thanks to all that answer questions here on my behalf......
 
Mine's now up and running with the lights and temperature reading. I did order a 20x4 LCD as the 16x2 was getting too crowded.

For those with PWM what drivers are you using and how far down do they go? I don't like how the 48P only goes down to about 10%. I'd like to go down much further.
 
Mine's now up and running with the lights and temperature reading. I did order a 20x4 LCD as the 16x2 was getting too crowded.

For those with PWM what drivers are you using and how far down do they go? I don't like how the 48P only goes down to about 10%. I'd like to go down much further.

you can actually can if you want to... instead of divide by 10 then you can do 20 or 50 or 100 steps

You just need to change the sketch....
 
Sorry, maybe I wasn't clear. I already got the sketch changed so I am doing 0 to 255 in single steps. That's not the problem. The problem is that the Meanwell 48P doesn't work below 11%. So it doesn't turn on until then and I'd like to be more gradual during sunrise and sunset.
 
I think the D's are half of what the P's are (low end) so you should have be able to have better dimming with your D's.

Not sure what you meant here... but I have both Ps and Ds running on 10 steps designed for Ds...

I want to rewrite it so I can have my blues on Ds and my white on Ps so my white can have the PWM sketch and the blue ones will have the analog sketch...

Ive been wanting to do that... just been swamped... now I want to know if what happens to you also happens to my Ps... because the last time i checked it, it really go way down...
 
From what I understood is that the D's start at about 5% where the P's start at around 11%. So when the P's actually start lighting up the LED's it's at 11%. So the controller starts ramping up, but nothing happens until about 10%.


Meanwell ELN-60 Spec sheets. See page 3.

http://www.meanwell.com/search/eln-60/default.htm

I didnt know that, I thought that that is only true if you are giving it a 10v analog signal... and with pwm it goes down to 0....
 
From what I understood is that the D's start at about 5% where the P's start at around 11%. So when the P's actually start lighting up the LED's it's at 11%. So the controller starts ramping up, but nothing happens until about 10%.


Meanwell ELN-60 Spec sheets. See page 3.

http://www.meanwell.com/search/eln-60/default.htm

I have that same problem and a possible solution I´m testing is add a resistor from pwm pin to transistors (2n2222) colector, the value of that resistor I guess will be arround 170k to 200k but still testing with a potentiometer to later implement with resistors.

Anyway... this is just a test and it makes it a bit smoother.
 
I have that same problem and a possible solution I´m testing is add a resistor from pwm pin to transistors (2n2222) colector, the value of that resistor I guess will be arround 170k to 200k but still testing with a potentiometer to later implement with resistors.

Anyway... this is just a test and it makes it a bit smoother.

But thats like puttin a pot inline, thus changing maximum output to what ever resistor you have...
 
Sorry for my lack of updates of my progress building this thing I have been busy at work and I got my new 60g cube in last week so I have been switching tanks here is the new tank all up and running.

IMG_20110415_182550.jpg


I will make a post later when I finish up some stuff.
 
Back
Top