Ks0101 keyestudio EASY plug Digital White LED Module

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


Introduction

This LED light module has a shiny color, ideal for Arduino starters. It can be easily connected to IO/Sensor shield.
Note: this module needs to be used together with EASY plug control board.You can also choose other LED modules to emit different light color like blue, green, yellow and red.


Specification

  • Interface: Easy plug
  • Sensor type: Digital
  • PH2.54 socket
  • Easy to use
  • Useful for light projects


Technical Details

  • Dimensions: 34mm*20mm*18mm
  • Weight: 4g


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 = 9;
void setup()
{
pinMode(led, OUTPUT);//Set Pin9 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=1d2znemGo2CTEMjoWg7gV5ZPsGnayIOWC



Buy from