
EL Lamp Driver shield
Reproduction cost: $5
License
:Public Domain
Creation time:2025-03-31 20:03:34Update time:2025-04-27 01:26:19
Description
EL lamp driver shield for Arduino. Capable to drive up to 4 lamps or wires with a length up to 5 meters. Sequencing of the lights through Arduino program and dimming using soft PWM. Effects of slow turning on and off under the software control, set the PWM frequency higher than 50 Hz to avoid flickering. Power supply coming from the ARDUINO UNO board in the range 7..12VDC, the USB power supply is not sufficient to generate the 6V for the IMP803 integrated circuit full power switching (180VAC).
Hardware user instructions:
- Complete the board received from JLCPCB with the ARDUINO pass through connectors (1 x 6pin, 2 x 8 pin, 1 x 10pin, single in line, pitch 2.54mm)
- Set the jumpers to select the set "A" of outputs (5,6,9,10) or set "B" outputs (4,7,8,11) to allow the simultaneous driving of 8 EL wires or 8 EL patches.
- Plug over the ARDUINO UNO board (powered by the jack, not the USB).
- Connect the USB and upload the sketch in the ATMEGA328 MCU
Software user instructions:
- The ENABLE output enables (when high) the 6V DC/DC converters. When low the full circuit is powered down.
- Each EL wire driver output ELXY (when high) enables the light of the correspondent EL wire. Dimming with PWM at a frequency of at least 50Hz. When low the wire is off.
Arduino minimal example for the effect shown in video (ramp up/down with ten levels dimming):
#define EL1A 5
#define EL1B 4
#define EL2A 6
#define EL2B 7
#define EL3A 9
#define EL3B 8
#define EL4A 10
#define EL4B 11
#define ENABLE 13
unsigned int a,b;
unsigned char i, p1, p2, p3, p4;
signed char s1,s2,s3,s4;
void setup()
{
pinMode(EL1A,OUTPUT);
pinMode(EL1B,OUTPUT);
pinMode(EL2A,OUTPUT);
pinMode(EL2B,OUTPUT);
pinMode(EL3A,OUTPUT);
pinMode(EL3B,OUTPUT);
pinMode(EL4A,OUTPUT);
pinMode(EL4B,OUTPUT);
pinMode(ENABLE,OUTPUT);
digitalWrite(EL1A,LOW);
digitalWrite(EL1B,LOW);
digitalWrite(EL2A,LOW);
digitalWrite(EL2B,LOW);
digitalWrite(EL3A,LOW);
digitalWrite(EL3B,LOW);
digitalWrite(EL4A,LOW);
digitalWrite(EL4B,LOW);
digitalWrite(ENABLE,HIGH);
p1=2;
p2=9;
p3=2;
p4=9;
a=0;
s1=1;
s2=1;
s3=-1;
s4=-1;
}
void loop()
{
if (p1!=0) digitalWrite(EL1A,HIGH);
if (p2!=0) digitalWrite(EL2A,HIGH);
if (p3!=0) digitalWrite(EL3A,HIGH);
if (p4!=0) digitalWrite(EL4A,HIGH);
for (i=0;i<11;i++){
if (i==p1) digitalWrite(EL1A,LOW);
if (i==p2) digitalWrite(EL2A,LOW);
if (i==p3) digitalWrite(EL3A,LOW);
if (i==p4) digitalWrite(EL4A,LOW);
delay(1);
}
a++;
if (a==5) {
a=0;
p1=p1+s1;
if (p1==10) s1=-1;
if (p1==0) s1=1;
p2=p2+s2;
if (p2==10) s2=-1;
if (p2==0) s2=1;
p3=p3+s3;
if (p3==10) s3=-1;
if (p3==0) s3=1;
p4=p4+s4;
if (p4==10) s4=-1;
if (p4==0) s4=1;
}
}
Design Drawing

BOM


Add to Album
0
0
Share
Report
Project Members
Followers0|Likes0
Related projects

Comment