I have this quick question which I couldn't answer looking at the web or forums.
Can DOUT module provide PWM led brightness control? Or do I have to use the AOUT module instead of PWM?
Best Regards.
Edited by Lambolico, 17 August 2012 - 21:11.
Posted 17 August 2012 - 19:48
Edited by Lambolico, 17 August 2012 - 21:11.
Posted 18 August 2012 - 10:04
Posted 18 August 2012 - 17:52
Posted 19 August 2012 - 17:08
Posted 21 August 2012 - 17:52
Posted 21 August 2012 - 19:13
Posted 21 August 2012 - 23:51
If it is high enough, it won´t be noticed by the human eye, but certain camcorders/webcams can be affected by it, when both pwm and cam run at fixed "frame" rates, it creates interference, kind of a "moiré effect" over time, hard to explain
The short answer is that using PWM on DOUT to do individual brightness control on a large number of LEDs is not possible as it would overload the Core.
Edited by Lambolico, 21 August 2012 - 23:54.
Posted 22 August 2012 - 01:27
Edited by Hawkeye, 22 August 2012 - 01:45.
Posted 22 August 2012 - 13:56
Posted 22 August 2012 - 23:25
Edited by Duggle, 22 August 2012 - 23:31.
Posted 24 August 2012 - 22:35
Posted 25 August 2012 - 00:40
Those are good news for me
I plan to drive 100-150 leds, no need to extra hardware is nice. I will ask for your code when I get into the software stage.
Thank you all.
Posted 25 August 2012 - 12:34
If using RGB Leds, I suggest that you experiment with the different value of R,G, and B current limiting resistors before soldering 100's of resistors for LEDs. I think the sensitivity/brightness of the Red, Green, Blue is usually not matched. With, for example, only 8 levels of brightness digitally, it is best if you can normalize the RGB colour balance with the resistors. Basically with all RGB LED's "on" you want to see pure "white"!
I'll post the code to this thread in a day or two. (I don't have access ATM).
Posted 15 September 2012 - 10:36
mios32_srio.h 2.8K
3 downloads
mios32_srio.c 11.41K
4 downloads
mios32_dout.h 1.64K
2 downloads
mios32_dout.c 7.19K
2 downloadsPosted 16 September 2012 - 20:18
Buy TK a Beer Disclaimer: buying TK a beer gets you absolutely nothing in return likesuchas firmware enhancements, technical advices and MIDIbox troubleshooting assistance.
0 members, 0 guests, 0 anonymous users