Grove - EL Driver is designed for driving EL Wires.It integrates a very small inverter to drive the EL Wire, so you can easily light up the EL Wire with just one single Grove cable.
Here we show how to use Arduino to control the state of the LED.
1. Connect the Grove - EL Driver to Base Shield's digital port 2' with 4pin Grove Cable.Of course you can change to other valid digital ports if it's necessary and the definitions of the port should be changed too.Connect a EL Wire to EL Driver J1 port with the given cable in product package.
2. Plug it onto the Arduino/Seeeduino. Connect the board to PC using USB cable.
3. Copy the demo code to your sketch, then upload to Arudino or Seeeduino board. Please click here if you do not know how to upload.
You will see the LE Wire blink every second.
/************************* 2014 Seeedstudio ************************** * File Name : GroveELDriverDemoCode.ino * Author : Seeedteam * Version : V1.0 * Date : 11/12/2014 * Description : Demo code for Grove - EL Driver *************************************************************************/ #define ELPin 2 //connect EL Driver to digital pin2 void setup() { // initialize the digital pin2 as an output. pinMode(ELPin, OUTPUT); } void loop() { digitalWrite(ELPin, HIGH); // set the EL Wire on delay(500); // for 500ms digitalWrite(ELPin, LOW); // set the EL Wire off delay(500); }
Revision | Descriptions | Release |
---|---|---|
v1.0 | Initial public release | Dec 11,2014 |
If you have questions or other better design ideas, you can go to our forumor wishto discuss.
Copyright (c) 2008-2016 Seeed Development Limited (www.seeedstudio.com / www.seeed.cc)