Ks0233 keyestudio Green LED Module: Difference between revisions
Keyestudio (talk | contribs) (Created page with "==Introduction== This is a green LED module. The main function is to control a plugin LED on and off. When connecting to ARDUINO, after programming, it will emit green light...") |
Keyestudio (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
==Introduction== | |||
<br> | |||
== Introduction == | |||
This is a green LED module. The main function is to control a plugin LED on and off. | This is a green LED module. The main function is to control a plugin LED on and off. | ||
When connecting to ARDUINO, after programming, it will emit green light color. | When connecting to ARDUINO, after programming, it will emit green light color.<br> | ||
The pin pitch of 3Pin is 2.54mm. | The pin pitch of 3Pin is 2.54mm. | ||
This LED module has 3 Pins; - pin is connected to ground, + pin is connected to VCC(3.3-5V), S pin is for signal control; you can set the High or Low level to control the LED on and off. | This LED module has 3 Pins; - pin is connected to ground, + pin is connected to VCC(3.3-5V), S pin is for signal control; you can set the High or Low level to control the LED on and off. <br> | ||
You can combine with other sensors to do various interactive experiments. | You can combine with other sensors to do various interactive experiments. <br> | ||
You can also choose other LED modules to emit different light color like blue, white, yellow and red. | You can also choose other LED modules to emit different light color like blue, white, yellow and red. | ||
<br>[[File:Ks0233-1.png|400px|frameless|thumb]]<br> | |||
<br> | |||
== Features == | |||
* Control interface: Digital | |||
* Working voltage: DC 3.3-5V | |||
* Pin pitch: 2.54mm | |||
* LED color: green | |||
* Easy to use | |||
* Useful for light projects | |||
<br> | |||
== Connect It Up == | |||
Connect the LED module to control board using three jumper wires. Then connect the control board to your PC with a USB cable.<br> | |||
<br>[[File:Ks0233-2.png|600px|frameless|thumb]]<br> | |||
<br> | |||
== Upload the Code == | |||
Copy and paste below code to Arduino IDE and upload. <br> | |||
<pre> | |||
int led = 7; | |||
void setup() | |||
{ | |||
pinMode(led, OUTPUT); //Set Pin7 as output | |||
} | |||
void loop() | |||
{ digitalWrite(led, HIGH); //Turn off led | |||
delay(1000); | |||
digitalWrite(led, LOW); //Turn on led | |||
delay(1000); | |||
} | |||
</pre> | |||
<br> | |||
== What You Should See == | |||
The LED will flash on for one second, then off for one second, repeatedly and alternately. <br> | |||
If it doesn’t, make sure you have assembled the circuit correctly and verified and uploaded the code to your board. <br> | |||
<br> | |||
==Resources == | |||
'''Download the PDF:'''<br> | |||
<br> | |||
==Buy from == | |||
*[https://www.keyestudio.com/keyestudio-super-bright-emitting-color-piranha-led-module-green-p0406-p0406.html '''Official Website''' ] | |||
*[https://www.aliexpress.com/store/product/Keyestudio-Super-bright-emitting-color-Piranha-LED-module-GREEN/1452162_32815072555.html?spm=2114.12010612.8148356.13.3c6c2933a14ywm '''aliexpress store'''] | |||
[[category: Module]] | |||
Revision as of 10:55, 17 April 2019
Introduction
This is a green LED module. The main function is to control a plugin LED on and off.
When connecting to ARDUINO, after programming, it will emit green light color.
The pin pitch of 3Pin is 2.54mm.
This LED module has 3 Pins; - pin is connected to ground, + pin is connected to VCC(3.3-5V), S pin is for signal control; you can set the High or Low level to control the LED on and off.
You can combine with other sensors to do various interactive experiments.
You can also choose other LED modules to emit different light color like blue, white, yellow and red.
Features
- Control interface: Digital
- Working voltage: DC 3.3-5V
- Pin pitch: 2.54mm
- LED color: green
- Easy to use
- Useful for light projects
Connect It Up
Connect the LED module to control board using three jumper wires. Then connect the control board to your PC with a USB cable.
Upload the Code
Copy and paste below code to Arduino IDE and upload.
int led = 7; void setup() { pinMode(led, OUTPUT); //Set Pin7 as output } void loop() { digitalWrite(led, HIGH); //Turn off led delay(1000); digitalWrite(led, LOW); //Turn on led delay(1000); }
What You Should See
The LED will flash on for one second, then off for one second, repeatedly and alternately.
If it doesn’t, make sure you have assembled the circuit correctly and verified and uploaded the code to your board.
Resources
Download the PDF: