Maker Pro
Maker Pro

Reading Serial Data

Hi All,

I have quick question concerning on how to receive serial data on my raspberry pi. I have found ample information about how to set up my raspberry pi to receive serial data, which seem straight foward. My question is how do I take the data I receive and do something useful with it. I am going to try and receive data from a dmx driver (LED lighting driver). Once I have this connection made and the raspberry pi is receiving the data I want to be able to interpret this data and then control LED light depending on the data transmitted.

Information on DMX protocal;

"At the datalink layer, a DMX512 controller transmits asynchronous serial data at 250 kbit/s. The data format is fixed at one start bit, eight data bits, two stop bits and no parity." - wikipedia

Any help or advice to help me achieve this would be great.

I will be doing the programming in C. I would say I am an intermediate C programmer.

Thank you
 
Top