Artnet to DMX
Dependencies: mbed DMX TextLCD mbed-rtos
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@4:cb44bb2eb2f2, 2016-02-22 (annotated)
- Committer:
- Ayrton_L
- Date:
- Mon Feb 22 17:48:53 2016 +0000
- Revision:
- 4:cb44bb2eb2f2
- Child:
- 6:d48f410e7a2d
Start of main.h; Initialise function
Who changed what in which revision?
User | Revision | Line number | New 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 | 4:cb44bb2eb2f2 | 5 | |
Ayrton_L | 4:cb44bb2eb2f2 | 6 | #define DMX_channels 512 |
Ayrton_L | 4:cb44bb2eb2f2 | 7 | #define DMX_break 100 // 100us (88us -> 1s) |
Ayrton_L | 4:cb44bb2eb2f2 | 8 | #define DMX_mab 10 // 10us (8us -> 1s) mark after break |
Ayrton_L | 4:cb44bb2eb2f2 | 9 | #define DMX_tussentijd 10 // 10us (0us -> 1s) |
Ayrton_L | 4:cb44bb2eb2f2 | 10 | #define DMX_start 0 // DMX start code |
Ayrton_L | 4:cb44bb2eb2f2 | 11 | |
Ayrton_L | 4:cb44bb2eb2f2 | 12 | uint32_t I32_Initiate(); |
Ayrton_L | 4:cb44bb2eb2f2 | 13 | |
Ayrton_L | 4:cb44bb2eb2f2 | 14 | |
Ayrton_L | 4:cb44bb2eb2f2 | 15 | uint8_t UNI1_values[DMX_channels]; |
Ayrton_L | 4:cb44bb2eb2f2 | 16 | |
Ayrton_L | 4:cb44bb2eb2f2 | 17 | |
Ayrton_L | 4:cb44bb2eb2f2 | 18 | Serial UNI1(p9, p10); // Eerste Universe op eerste UART |
Ayrton_L | 4:cb44bb2eb2f2 | 19 | |
Ayrton_L | 4:cb44bb2eb2f2 | 20 | |
Ayrton_L | 4:cb44bb2eb2f2 | 21 | |
Ayrton_L | 4:cb44bb2eb2f2 | 22 | #endif |