0

I am trying to write data to a DMX receiver via USB to RS485 cable. I can see the correct data frames, but for the packet to follow the DMX protocol, I need a break and MAB signal. So my question is, is there a way to generate such signals? My thoughts were to write hi and lo signals with delays to the serial port but I have not found a way to do this in VS C#.

JasonMArcher
  • 14,195
  • 22
  • 56
  • 52
Gmann45
  • 21
  • 3
  • The DMX bus timing is far too critical to ever be able to generate it reliably on a regular PC. You'll need to go shopping for a dedicated DMX controller, companies like Enttec are Sweetlight are in that business. – Hans Passant Aug 13 '14 at 20:23

1 Answers1

0

There is an example (though not in .NET but you can translate it) here:

How to control DmxSimple over serial

And use the SerialPort class to send the data down your cable

Jon
  • 3,230
  • 1
  • 16
  • 28
  • 1
    If possible I would not like to use Arduino, I would also like to be able to customize the DMX packet, i.e. send packet with a different start byte. I don't see how I could use this method without using Arduino. – Gmann45 Aug 13 '14 at 20:14
  • Translate the C code into C#. Look at the data they are sending to the serial port. I was using it as an example, you don't need an Arduino to talk to the DMX receiver. – Jon Aug 13 '14 at 20:16