Connect with us

Reading Serial Data

Discussion in 'Microcontrollers, Programming and IoT' started by BStrizzy, Mar 16, 2015.

Scroll to continue with content
  1. BStrizzy


    Mar 16, 2015
    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
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day