circusautomatic / cthuloid

"An Autonomous Theater"
2 stars 2 forks source link

Hardware issue when trying to control an rgb led with the tlc59711 #5

Closed plankatron closed 6 years ago

plankatron commented 6 years ago

From various tests I believe there is a problem in how the light board pcb is designed. It initially came up when controlling a single 100w led at 10khz with a 16 bit pwm resolution. We found that the useable values were constrained by about half, this is to say that visually the top or low end values would yield no real visual difference in light intensity. We fixed this in a way by running at 1khz and a 470uf cap on the output for smoothing which resulted in a much broader range of useable values.

Now we are using the tlc59711 led driver to generate a high frequency and high bit signal and the output is severely restricted, initial thoughts of the hardware problem being the Arduino start to seem false and that the real culprit is the lightboard design. Thus this issue is being started to try to figure out the problem and to design a solution.

plankatron commented 6 years ago

Basic test

Now the real work of figuring out what is causing this and how to get a much larger range from this signal.

plankatron commented 6 years ago

Tlc59711 info and data sheets : http://www.ti.com/product/TLC59711 Adafruit product page : https://www.adafruit.com/product/1455 Wiring to Arduino : https://learn.adafruit.com/tlc5947-tlc59711-pwm-led-driver-breakout/connecting-to-the-arduino

flintiii commented 6 years ago

So would it be useful to eliminate the Arduino?

plankatron commented 6 years ago

modular-led-mosfet11_schem Also a link to the parts list : http://organize.7rnx.net/projects/sad-robot-workspace/wiki/PCB#Parts-List

plankatron commented 6 years ago

Thinking that this could work as a simplified circuit design but it still needs to invert the signal somehow?

rfp30n06le-arduino-lightbulb

flintiii commented 6 years ago

These pictures are excellent!

flintiii commented 6 years ago

I am wondering if you can accomplish the inversion you need in software...

plankatron commented 6 years ago

info for dimming led's with the esp32 https://techtutorialsx.com/2017/06/15/esp32-arduino-led-pwm-fading/