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:
Thu May 05 21:06:56 2016 +0000
Revision:
29:4a11f841dae1
Parent:
28:4b327f1cb9cb
Child:
30:51a4370a88bf
Finalizing Beta;

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 15:b0efafcfbb03 4 #define _CRT_SECURE_NO_WARNINGS
Ayrton_L 15:b0efafcfbb03 5
Ayrton_L 4:cb44bb2eb2f2 6 #include "mbed.h"
Ayrton_L 28:4b327f1cb9cb 7 #include "rtos.h"
Ayrton_L 6:d48f410e7a2d 8 #include "stdint.h"
Ayrton_L 29:4a11f841dae1 9 #include "string"
Ayrton_L 13:81243bd96dfb 10
Ayrton_L 13:81243bd96dfb 11 #include "DMX.h"
Ayrton_L 28:4b327f1cb9cb 12 #include "Settings.h"
Ayrton_L 19:e8b826ab28a8 13 #include "Screen.h"
Ayrton_L 10:33faa2c71dad 14
Ayrton_L 29:4a11f841dae1 15 TextLCD lcd2(p10, p12, p15, p16, p29, p30, TextLCD::LCD20x4);
Ayrton_L 29:4a11f841dae1 16
Ayrton_L 29:4a11f841dae1 17 DMX XLR1(p9);
Ayrton_L 29:4a11f841dae1 18 DMX XLR2(p13);
Ayrton_L 29:4a11f841dae1 19 DMX XLR3(p28);
Ayrton_L 29:4a11f841dae1 20
Ayrton_L 29:4a11f841dae1 21 Settings S;
Ayrton_L 29:4a11f841dae1 22 Screen Sc;
Ayrton_L 29:4a11f841dae1 23
Ayrton_L 29:4a11f841dae1 24 Ethernet eth;
Ayrton_L 29:4a11f841dae1 25
Ayrton_L 29:4a11f841dae1 26 DigitalOut Error1(LED1);
Ayrton_L 29:4a11f841dae1 27 DigitalOut Error2(LED2);
Ayrton_L 29:4a11f841dae1 28 DigitalOut Error4(LED3);
Ayrton_L 29:4a11f841dae1 29 DigitalOut Error8(LED4);
Ayrton_L 29:4a11f841dae1 30
Ayrton_L 29:4a11f841dae1 31 InterruptIn PushButton(p5);
Ayrton_L 29:4a11f841dae1 32 InterruptIn LeftTwist(p6);
Ayrton_L 29:4a11f841dae1 33 InterruptIn RightTwist(p7);
Ayrton_L 29:4a11f841dae1 34 InterruptIn button(p5);
Ayrton_L 29:4a11f841dae1 35
Ayrton_L 29:4a11f841dae1 36 uint32_t I32_CheckHeader(char C_Header[7]);
Ayrton_L 29:4a11f841dae1 37 void I32_PutCursor();
Ayrton_L 29:4a11f841dae1 38
Ayrton_L 29:4a11f841dae1 39 void V_WriteTxt(uint32_t I32_Kolom, uint32_t I32_Rij, char * C_Tekst);
Ayrton_L 29:4a11f841dae1 40
Ayrton_L 29:4a11f841dae1 41 void V_InterruptMenu();
Ayrton_L 29:4a11f841dae1 42 void V_Right();
Ayrton_L 29:4a11f841dae1 43 void V_Left();
Ayrton_L 29:4a11f841dae1 44 void V_WriteMenu();
Ayrton_L 29:4a11f841dae1 45 void V_WriteMenuSettings();
Ayrton_L 29:4a11f841dae1 46 void V_PressOK();
Ayrton_L 29:4a11f841dae1 47 void V_Firmware();
Ayrton_L 29:4a11f841dae1 48 void V_Reset();
Ayrton_L 29:4a11f841dae1 49 void V_OutputMenu(uint32_t I32_Output);
Ayrton_L 29:4a11f841dae1 50
Ayrton_L 29:4a11f841dae1 51 #define FIRMWARE "B-01-10"
Ayrton_L 13:81243bd96dfb 52
Ayrton_L 8:b58bcb8d960b 53 #endif
Ayrton_L 8:b58bcb8d960b 54
Ayrton_L 6:d48f410e7a2d 55
Ayrton_L 4:cb44bb2eb2f2 56
Ayrton_L 4:cb44bb2eb2f2 57