TOP

EL Shield

From Wiki 来自痴汉的爱
Jump to: navigation, search
EL Shield 02.jpg

Contents

Introduction

This shield is used to control EL devices. It can control 4 EL devices simultaneously. The controlling method is as simple as controlling an LED. Driven by PWM, it can create a colorful and florid effect by controlling each EL wire with a simple program. Combined with our EL Inverter, it can drive an EL wire as long as 15m, which provides infinite possibility for your design. Besides, the Shield is covered by Acrylic board, which enhances user's safety.

Model:SLD01106P

Specifications

Operating Voltage: 5V
Invertor interface: JST 2.0
Control channel interface: 2P - 2.5SM socket

Interface

EL Shield interface.jpg

Demonstration

Here is a simple demo involving EL shield, 4 EL tapes and the custom invertor that accompanies EL shield.
Hook all things up like the picture below.

http://www.seeedstudio.com/wiki/File:EL_Shield_Hardware_Installation.jpg

Upload the code below to your microcontroller.

// EL test code 
 
void setup(){
 for(int i = 4; i<8; i++)
 { 
  pinMode(i, OUTPUT);
 }
}
 
void setEL(int ch) // set a certain EL on
{ 
 for(int i = 4; i<8; i++) // all off
 digitalWrite(i, LOW);
 digitalWrite(ch+3, HIGH); // ch on
} 
 
int count = 0; 
 
void loop()
{ 
 setEL(count%4 + 1);
 delay(200);
 if(count++ == 1000)
 { 
  count = 0;
 } 
}

Resources


Personal tools
Namespaces

Variants
Actions
Navigation
Support
Start here|开始探索
Learn|学习
Product|产品线
Category|分类
Toolbox