KS0016 Keyestudio White LED Module: Difference between revisions

From Keyestudio Wiki
Jump to navigation Jump to search
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 6: Line 6:
You can combine with other sensors to do various interactive experiments.  
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, green, yellow and red.<br>
You can also choose other LED modules to emit different light color like blue, green, yellow and red.<br>
<br>[[File:Ks0016-1.png|600px|frameless|thumb]]<br>
<br>[[File:Ks0016-1.png|400px|frameless|thumb]]<br>


<br>
<br>
Line 19: Line 19:
<br>
<br>
== Connect It Up ==
== 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.
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:Ks0016-2.png|600px|frameless|thumb]]<br>
<br>[[File:Ks0016-2.png|600px|frameless|thumb]]<br>


Line 44: Line 44:
The LED will flash on for one second, then off for one second, repeatedly and alternately. <br>
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>
If it doesn’t, make sure you have assembled the circuit correctly and verified and uploaded the code to your board. <br>
 
<br>[[File:Ks0017.png|600px|frameless|thumb]]<br>


==Resources ==
==Resources ==


'''PDF and Code''' <br>
'''PDF and Code''' <br>
https://drive.google.com/open?id=1R9bW1I2BBReAV3jSuhDvS1xFqgR8uzY2
https://fs.keyestudio.com/KS0016


<br>
<br>


==Get One Now ==
==Get One Now ==
*[https://www.keyestudio.com/free-shipping-keyestudio-ps2-joystick-module-compatible-with-arduino-p0468-p0468.html     '''Get From Official Website''' ]
*[https://www.keyestudio.com/keyestudio-super-bright-emitting-color-piranha-led-module-white-p0402-p0402.html   '''Get From Official Website''' ]


*[https://www.aliexpress.com/store/product/Free-shipping-Dual-axis-XY-Joystick-module-for-Arduino/1452162_2053015123.html?spm=2114.12010615.8148356.1.41412b93TeG5T7  '''From Aliexpress''']
*[https://www.aliexpress.com/store/product/NEW-free-shipping-Keyestudio-Piranha-LED-Module-for-Arduino/1452162_32707331634.html?spm=2114.12010615.8148356.35.50061efaJ01ywX  Shop on aliexpress]




<br>
<br>
[[Category: Module]]
[[Category: Module]]

Latest revision as of 09:08, 8 January 2021


Introduction

This is a white LED module. The main function is to control a plugin LED on and off. When connecting to ARDUINO, after programming, it will emit white 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, green, yellow and red.

thumb


Features

  • Control interface: Digital
  • Working voltage: DC 3.3-5V
  • Pin pitch: 2.54mm
  • LED color: white
  • 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.

thumb


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.

thumb

Resources

PDF and Code
https://fs.keyestudio.com/KS0016


Get One Now