|
Forum Index : Microcontroller and PC projects : reception DMX with MM+ or MMX
| Author | Message | ||||
| frederic Newbie Joined: 30/03/2018 Location: FrancePosts: 15 |
Hi everyone, i need to get DMX (input) on MM+ or MMx, to command something, relays/motors i use RS485 on COM1 with speed at 230400, is it the good speed ? i have also problem with "BREAK an MAB" some one does something like this ? thanks in advance frederic |
||||
| panky Guru Joined: 02/10/2012 Location: AustraliaPosts: 1116 |
Hi Frederic, Welcome to the forum. The DMX environment looks interesting - but at the recommended 250K bps, may be a challenge, particularly the timing of the the Break and Make After Break sections at the start of a packet. COM1 on a Micromite 2 (the 170 chip) can go up to 282000 so that part would be OK for the required 250000 bps As for the CD slots, a 512 byte long string would do the job and just cycle through it when sending a packet. For the starting mark and break timing, the Armmite version of MMBasic allows microsecond timing with the SYNC command. For the standard Micromite, you would have to play around with some dummy statements to reach the desired times (92uS and 12uS respectively), possibly using and external AND gate to enforce the Break. This site about DMX has quite a good write up on the format and timing of DMX. panky ... almost all of the Maximites, the MicromMites, the MM Extremes, the ArmMites, the PicoMite and loving it! |
||||
| The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |