I'm looking for a solution I have an Ar Drone that I'm modding with LEDs and looking for something that can get my 11.1V LEDs flashing it looks pretty light weight and small enough to connect to my Ar Drone's shell how can I buy one of these flasher switches from you thanks.
Set up a repeating loop counting from 0 to 255. Turn the output on at the start of the loop, and turn it off when the counter gets to the power value you want.
For instance, for 1/2 power, the turn-off value would be 128. The light would be on for the first half of the cycle and off for the second half. For 3/4 power, turn it off when the count reaches 192. As long as the whole cycle takes <30msec or so, it will look smooth; the pulses will be too fast to see. Aim for about 10msec if possible.
I'm looking for a solution I have an Ar Drone that I'm modding with LEDs and looking for something that can get my 11.1V LEDs flashing it looks pretty light weight and small enough to connect to my Ar Drone's shell how can I buy one of these flasher switches from you thanks.
BigMacBook1300 9 months ago
@BigMacBook1300
It is an home made pcb with CMS for have a small one.
for the 11 ou 12V you have just to put a transistor .
this one is made with a pic, but if you need jest a simple dimmer a NE555 can do it.
If you want a special sequence it will be programmed..
freepicbasic 9 months ago
Hi i have to do a pwm as a project now but im i cant do it works could you send me an email with the code u used?
ZKST 3 years ago
Set up a repeating loop counting from 0 to 255. Turn the output on at the start of the loop, and turn it off when the counter gets to the power value you want.
For instance, for 1/2 power, the turn-off value would be 128. The light would be on for the first half of the cycle and off for the second half. For 3/4 power, turn it off when the count reaches 192. As long as the whole cycle takes <30msec or so, it will look smooth; the pulses will be too fast to see. Aim for about 10msec if possible.
FlyByPC 3 years ago