DMX Light

DMX Receiver Light using Lumiled 3W LED
Tilt/PAN using Servo, RGB

1 Like

Sweet! What LED driver are you using?

i am using a TIP41C with a 0.81 ohm resistor and a 2n3904 to make a current source.

That Give me 1 Amp constant current in the Led

Cool, thanks for the schematic. Is the output pretty stable with changes in the input voltage or voltage drop of the LEDs?

The Current is pretty stable but:
1A in the TIP 41, the more voltage you have to loose in the transistor, the more it will heat, so your better to keep the supply voltage as low as possible.
BTW i did not draw the control ON/OFF transistor, it is another 2n3904 actually in parallel of Q2, but the base is control by a PWM output (with a 10K resistor) of the arduino.

It looks nice!
Have you made the reciever with an Arduino?
Would you be so kind to show the code?


Sure, i did not want to make a repost of the code, you can find it in this post. and it it work with 0012 and probally 0015 but not 0013 and 0014

That post doesn't have your working code.
You haven't posted you working code :slight_smile:

Yep the code was there, i will repost it here:

#include <Servo.h>

#define myubbr (16000000L/16/250000-1)
Servo servo1; Servo servo2;

char oldDMX;
volatile unsigned char DMX[64];
volatile int DMXChannel=0;

  char temp,temp1;
  temp1 = UCSR0A;
  temp = UDR0&0xFF;
  if ((temp1 & (1<<FE0))||temp1 & (1<<DOR0)) //Break
    DMXChannel = 0;
  else if (DMXChannel<(char)25)

void setup()

  servo1.attach(9); //analog pin 0
  servo2.attach(10); //analog pin 1
  UBRR0H = (unsigned char)(myubbr>>8);
  UBRR0L = (unsigned char)myubbr;
  UCSR0B |= ((1<<RXEN0)|(1<<RXCIE0));//Enable Receiver and Interrupt RX
  UCSR0C |= (3<<UCSZ00);//N81

void loop()

Where are the DMX signals going in, which pin? And thru a MAX485?
Also, the bottom servo you have, is that a 360 degree servo?