So, I just bought my 2nd EED (I broke the 1st one) and currently having an issue.
The sample code from the product page works fine.
However, when I made my own code and uploaded it, that’s when the problem started.
The EL-Wires does not turn off at all when it’s supposed to be turned off.
I used a multimeter to check the AC voltage and it’s just fluctuating from 100-103v.
I have uploaded this pretty simple code on my Arduino UNO board if it would help.
**//
int LED1=2;
int LED2=3;
int LED3=4;
int LED4=5;
int LED5=6;
int LED6=7;
int LED7=8;
void setup() {
Serial.begin(115200);
// The EL channels are on pins 2 through 9
// Initialize the pins as outputs
// channel A
pinMode(LED1, OUTPUT); // channel C
pinMode(LED2, OUTPUT); // channel D
pinMode(LED3, OUTPUT); // channel E
pinMode(LED4, OUTPUT); // channel F
pinMode(LED5, OUTPUT); // channel G
pinMode(LED6, OUTPUT); // channel H
pinMode(LED7, OUTPUT); // channel H
}
void loop() {
digitalWrite(LED1, HIGH);
digitalWrite(LED2, HIGH);
delay(100);
digitalWrite(LED3, HIGH);
digitalWrite(LED4, HIGH);
delay(100);
digitalWrite(LED5, HIGH);
digitalWrite(LED6, HIGH);
delay(100);
digitalWrite(LED7, HIGH);
delay(100);
digitalWrite(LED7, LOW);
delay(100);
digitalWrite(LED5, LOW);
digitalWrite(LED6, LOW);
delay(100);
digitalWrite(LED3, LOW);
digitalWrite(LED4, LOW);
delay(100);
digitalWrite(LED1, LOW);
digitalWrite(LED2, LOW);
delay(100);
}
//**
As you can see, it is pretty simple.
The EED should turn on the EL Wires 2 at a time, then, when it reached the 7th wire, it will turn the EL Wires off 2 at a time again.
When I plug in the Arduino to the power source, it performs the 1st part of the code which is turning the EL Wires ON. But, it does not turn them OFF.
Then, I tried the same code on some LEDs and it’s working just fine.