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-05-05
Revision:
29:4a11f841dae1
Parent:
28:4b327f1cb9cb
Child:
30:51a4370a88bf

File content as of revision 29:4a11f841dae1:

#ifndef MAIN_H
#define MAIN_H

#define _CRT_SECURE_NO_WARNINGS

#include "mbed.h"
#include "rtos.h"
#include "stdint.h"
#include "string"
 
#include "DMX.h"
#include "Settings.h"
#include "Screen.h"

TextLCD lcd2(p10, p12, p15, p16, p29, p30, TextLCD::LCD20x4);

DMX XLR1(p9);
DMX XLR2(p13);
DMX XLR3(p28);

Settings S;
Screen Sc;

Ethernet eth;

DigitalOut Error1(LED1);
DigitalOut Error2(LED2);
DigitalOut Error4(LED3);
DigitalOut Error8(LED4);

InterruptIn PushButton(p5);
InterruptIn LeftTwist(p6);
InterruptIn RightTwist(p7);
InterruptIn button(p5);

uint32_t I32_CheckHeader(char C_Header[7]);
void I32_PutCursor();

void V_WriteTxt(uint32_t I32_Kolom, uint32_t I32_Rij, char * C_Tekst);

void V_InterruptMenu();
void V_Right();
void V_Left();
void V_WriteMenu();
void V_WriteMenuSettings();
void V_PressOK();
void V_Firmware();
void V_Reset();
void V_OutputMenu(uint32_t I32_Output);

#define FIRMWARE "B-01-10"

#endif