In SX Microcontrollers, SX/B Compiler and SX-Key Tool, carish wrote: Yes, I have code that works in both decoding the DMX stream as well as dimming. I am still working on the dimmer part, since it does not perform as well as I would like. Specifically, at low values the lights do not turn on until up around a dimming value of 50. I believe this is due to the the physics of the lamps, since many commercial dimmers provide a "standby" voltage to keep incandescent filaments warm. Also, turning on triacs using the delay algorithm is not very linear, so there is not a lot of energy available at low dimming values; again commercial dimmers try to compensate for this with different dimming profiles. I have the attached the code, as you can see it is set up for 6 channels but can be easily extended to 8. I have not tested at 8 so I cannot swear there is enough bandwidth to successfully operate. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=263685#m285792 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)