Artnet to DMX

Dependencies:   mbed DMX TextLCD mbed-rtos

/media/uploads/Ayrton_L/dmx.png

Art-NET to DMX converter.

Read Art-NET and process the data so it can be send by 3 XLR3 outputs for DMX. With a 4x20 display you can choose some options. For example what universe you would like on what output.

This is a project we make as our final project of our 2nd year of university. We study Electronics-ICT / Embedded ICT.

We chose for this amazing platform (MBED LPC1768) because it has al the interfaces and pins we need.

main.h

Committer:
Ayrton_L
Date:
2016-02-22
Revision:
6:d48f410e7a2d
Parent:
4:cb44bb2eb2f2
Child:
7:bbd490bf8d43

File content as of revision 6:d48f410e7a2d:

#ifndef MAIN_H
#define MAIN_H

#include "mbed.h"
#include "stdint.h"

#define DMX_channels 512
#define DMX_break 100                                                                                   // 100us (88us -> 1s)
#define DMX_mab 10                                                                                      // 10us (8us -> 1s) mark after break
#define DMX_tussentijd 10                                                                               // 10us (0us -> 1s)
#define DMX_start 0                                                                                     // DMX start code
#define DMX_baud 250000


uint32_t I32_Initiate();
uint32_t I32_SendBreak();

uint8_t UNI1_values[DMX_channels];


Serial UNI1(p9, p10);                                                                                   // Eerste Universe op eerste UART


Timeout DMXTiming;




#endif