What you need to do is not as this simple for a first school project.
DO you at least readed some info about DMX and their timing charts?
anyway, 512 channel will need 9 dip switch indeed. so at least one 8bit pot + another elsewhere.
DMX VAR WORD
DMX.LowByte=PORTB
DMX.8=PORTA.0
The above give you the switch setting, now you just need to be in synch with the DMX break... then count untill you reach the right channel. How to? I know how AND i know my name will NEVER appear on your school report... so try few things, understand how serial communication works at least... then once you have understand it and read ALL links i already sent on various post... we can talk about a little bit more help.
Google have tons of DMX example... even using the most stupid controller in whole world.. 16F84. Ok it was good 10 years ago....
http://www.dmx512-online.com
http://www.erwinrol.com/index.php?stagecraft/dmx.php
Last edited by mister_e; - 27th February 2007 at 22:56.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks