Ks0229 keyestudio EASY plug Digital Green LED Module: Difference between revisions

From Keyestudio Wiki
Jump to navigation Jump to search
(Created page with "==EASY plug Digital Green LED Module== <br>500px|frameless|thumb<br> ==Introduction== This LED module emits shiny green light, ideal for Arduino starter...")
 
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
==EASY plug Digital Green LED Module==
[[image:KS0101图.jpg|thumb|600px|right|Keyestudio EASY plug Digital Green LED Module]]
<br>[[File:KS0228-1.png|500px|frameless|thumb]]<br>


<br>
==Introduction==
==Introduction==
This LED module emits shiny green light, ideal for Arduino starters. It can be easily connected to IO/Sensor shield.
The LED light module has a shiny color, ideal for emitting green light. It can be easily connected to Arduino IO/Sensor shield.<br>
Note: this module needs to be used together with EASY plug control board. You can also choose other LED to emit different color of light like blue, red, yellow and white.<br>
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, red, yellow and white.<br>
 
<span style=color:red> '''Special Note:''' <br>
The sensor/module is equipped with the RJ11 6P6C interface, compatible with our keyestudio EASY plug Control Board with RJ11 6P6C interface. <br> If you have the control board of other brands, it is also equipped with the RJ11 6P6C interface but has different internal line sequence, can’t be used compatibly with our sensor/module. </span><br>
<br>


==Specification==
==Specification==
* Interface: Easy plug
* Interface: Easy plug
* Sensor Type: Digital
* Sensor type: Digital
* PH2.54 socket
* PH2.54 socket
* Enables interaction with light-related works
* Easy to use
* Size: 33.7*20mm
* Useful for light projects
* Weight: 5g


==Connection Diagram ==
<br>
<br>[[File:KS0228-2.png|500px|frameless|thumb]]<br>
== 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.
<br>[[File:Ks0228.jpg|600px|frameless|thumb]]<br>
<br>


==Sample Code==
==Sample Code==
Copy and paste below code to [http://wiki.keyestudio.com/index.php/How_to_Download_Arduino_IDE Arduino IDE] and upload.
<pre>
<pre>
int led = 9;
int led =6;
void setup()
void setup()
{
{
pinMode(led, OUTPUT);     //Set Pin9 as output
pinMode(led, OUTPUT);//Set Pin6 as output
}
}
void loop()
void loop()
{
{
        digitalWrite(led, HIGH);   //Turn on led
digitalWrite(led, HIGH);//Turn led on
        delay(2000);
delay(2000);
        digitalWrite(led, LOW);   //Turn off led
digitalWrite(led, LOW);//Turn led off
        delay(2000);
delay(2000);
}
}
</pre>
</pre>


==Resources ==
<br>
==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.
<br>[[File:Ks0229 green.png|600px|frameless|thumb]]<br>
 
<br>
 


'''Datasheet'''
http://www.keyestudio.com/files/index/download/id/1499912316/


==Buy from ==
http://www.keyestudio.com/easy-plug-digital-green-led-module.html


[[category:Module]]
[[category: EASY Plug]]

Latest revision as of 08:31, 8 January 2021

Keyestudio EASY plug Digital Green LED Module


Introduction

The LED light module has a shiny color, ideal for emitting green light. It can be easily connected to Arduino IO/Sensor shield.
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, red, yellow and white.

Special Note:
The sensor/module is equipped with the RJ11 6P6C interface, compatible with our keyestudio EASY plug Control Board with RJ11 6P6C interface.
If you have the control board of other brands, it is also equipped with the RJ11 6P6C interface but has different internal line sequence, can’t be used compatibly with our sensor/module.


Specification

  • Interface: Easy plug
  • Sensor type: Digital
  • PH2.54 socket
  • 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