One output of an Arduino Mega provides a square wave at about 1kHz and this drives the direction inputs of all the modules and the enable inputs come from the rest of the PWM outputs. The dimming is rubbish at the bottom end, as expected, because the PWM outputs are only 8bit, but otherwise it works fine.
Hi DrV
Thanks for your post. Really useful. Am just looking at building this using an ESP8266 and a few L298Ns. I'm hoping to receive ArtNet over wifi and then drive 10bit PWM to get slightly better dimming at the bottom end.
Can you please clarify for us how the 1kHz square wave is wired into the direction inputs of the H Bridge? Did you use a logic inverter for one of the inputs? My understanding is that if both direction inputs are high or both low no current will flow. Thanks.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.
Dimming 31V LED Festoons
in Lighting
Posted
Hi DrV
Thanks for your post. Really useful. Am just looking at building this using an ESP8266 and a few L298Ns. I'm hoping to receive ArtNet over wifi and then drive 10bit PWM to get slightly better dimming at the bottom end.
Can you please clarify for us how the 1kHz square wave is wired into the direction inputs of the H Bridge? Did you use a logic inverter for one of the inputs? My understanding is that if both direction inputs are high or both low no current will flow. Thanks.