Ks0226 keyestudio EASY plug Yellow Piranha LED Module

From Keyestudio Wiki
Jump to: navigation, search
Keyestudio EASY plug Yellow Piranha LED Module


Introduction

This is a special LED module. When connecting to ARDUINO, after programming, it can emit beautiful yellow light. Of course, you can also control it by PWM. It will be like fireflies at night.
You can combine with other sensors to do various interactive experiments.
Note: this module should be used together with EASY plug control board.You can also choose other LED modules to emit different light color like blue, red, green and white.


Specification

  • Interface: Easy plug
  • Sensor type: Digital
  • Working voltage: 5V
  • Easy to use
  • Useful for light projects


Connect It Up

Connect the EASY Plug LED module to control board using an RJ11 cable. Then connect the control board to your PC with a USB cable.
thumb

Sample Code

Copy and paste below code to Arduino IDE and upload.

int led =6;
void setup()
{
pinMode(led, OUTPUT);//Set Pin6 as output
}
void loop()
{
digitalWrite(led, HIGH);//Turn led on
delay(2000);
digitalWrite(led, LOW);//Turn led off
delay(2000);
}


What You Should See

The LED will flash on for two seconds, then off for two seconds. If it doesn’t, make sure you have assembled the circuit correctly and verified and uploaded the code to your board.
thumb


Resources

Download the PDF:
https://drive.google.com/open?id=1C3Lc0d-eFVM1izalwWIKwy-KkTnByfth



Buy from