max_loser
Published © CC BY-NC-SA

Control a LED Spotlight set-up with an Arduino via DMX

The task was to control a lighting system with an Arduino via DMX.

IntermediateWork in progress3 hours21,341
Control a LED Spotlight set-up with an Arduino via DMX

Things used in this project

Hardware components

Arduino UNO
Arduino UNO
×1
Seeed Studio DMX 512
×1
Marvell DMX cable
×1
C.H.I.P. LED Spotlights
×1
DPTechnics Dupont Jumper Cable
×1

Software apps and online services

Arduino IDE
Arduino IDE

Story

Read more

Custom parts and enclosures

3d Print DMX 512 Housing

3d Print DMX 512 Housing

3d Arduino Uno Housing

3d Arduino Uno Housing

Schematics

Arduino connection

DMX 512 Connection

Code

Arduino_music_sensitive_DMX

Arduino
Arduino Code in combination with DMXSimple.h libary and a LED headlight (DMX Information)
Function: Music sensitive via DMX control
#include <DmxSimple.h>

void setup() {

 DmxSimple.usePin(3);
 //DmxSimple.maxChannel(6);
 DmxSimple.write(1, 255);

}

void loop() {
     
  {
    DmxSimple.write(1,12); //Kanal 1 - Funktionsauswahl - einschalten
    DmxSimple.write(1,151); //Kanal 1 - Funktionsauswahl - sound wechsel
     DmxSimple.write(3,151); //Kanal 3 - Funktionsauswahl - sound wechsel Geschwindigkeitsanpassung
     
    DmxSimple.write(2,48);  //Kanal 2 - Farbanpassung - rot
    delay(5);
    DmxSimple.write(2,52);  //Kanal 2 - Farbanpassung - grn
    delay(5);
    DmxSimple.write(2,62);  //Kanal 2 - Farbanpassung - blau
    delay(5);
    
    }
  
 }

Credits

max_loser

max_loser

1 project • 3 followers

Comments