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.

Committer:
Ayrton_L
Date:
Mon Feb 22 18:15:07 2016 +0000
Revision:
6:d48f410e7a2d
Parent:
4:cb44bb2eb2f2
Child:
7:bbd490bf8d43
C=>CPP (link errors solved); included mbed.h; Defined Baudrate

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Ayrton_L 4:cb44bb2eb2f2 1 #ifndef MAIN_H
Ayrton_L 4:cb44bb2eb2f2 2 #define MAIN_H
Ayrton_L 4:cb44bb2eb2f2 3
Ayrton_L 4:cb44bb2eb2f2 4 #include "mbed.h"
Ayrton_L 6:d48f410e7a2d 5 #include "stdint.h"
Ayrton_L 4:cb44bb2eb2f2 6
Ayrton_L 4:cb44bb2eb2f2 7 #define DMX_channels 512
Ayrton_L 4:cb44bb2eb2f2 8 #define DMX_break 100 // 100us (88us -> 1s)
Ayrton_L 4:cb44bb2eb2f2 9 #define DMX_mab 10 // 10us (8us -> 1s) mark after break
Ayrton_L 4:cb44bb2eb2f2 10 #define DMX_tussentijd 10 // 10us (0us -> 1s)
Ayrton_L 4:cb44bb2eb2f2 11 #define DMX_start 0 // DMX start code
Ayrton_L 6:d48f410e7a2d 12 #define DMX_baud 250000
Ayrton_L 6:d48f410e7a2d 13
Ayrton_L 4:cb44bb2eb2f2 14
Ayrton_L 4:cb44bb2eb2f2 15 uint32_t I32_Initiate();
Ayrton_L 6:d48f410e7a2d 16 uint32_t I32_SendBreak();
Ayrton_L 4:cb44bb2eb2f2 17
Ayrton_L 4:cb44bb2eb2f2 18 uint8_t UNI1_values[DMX_channels];
Ayrton_L 4:cb44bb2eb2f2 19
Ayrton_L 4:cb44bb2eb2f2 20
Ayrton_L 4:cb44bb2eb2f2 21 Serial UNI1(p9, p10); // Eerste Universe op eerste UART
Ayrton_L 4:cb44bb2eb2f2 22
Ayrton_L 4:cb44bb2eb2f2 23
Ayrton_L 6:d48f410e7a2d 24 Timeout DMXTiming;
Ayrton_L 6:d48f410e7a2d 25
Ayrton_L 6:d48f410e7a2d 26
Ayrton_L 6:d48f410e7a2d 27
Ayrton_L 4:cb44bb2eb2f2 28
Ayrton_L 4:cb44bb2eb2f2 29 #endif