Ks0226 keyestudio EASY plug Yellow Piranha LED Module

From Keyestudio Wiki
Jump to: navigation, search

EASY plug Yellow Piranha LED Module


thumb

Introduction

This is a special LED module. When you connect it to ARDUINO, after program, it can emit beautiful yellow light. Of course, you can also control it using PWM. It will be like fireflies at night. Isn’t it cool? We can also combine it with other sensors to do various interesting interactive experiments.
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, green, red and white.

Specification

  • Interface: Easy plug
  • Sensor Type: digital
  • Working Voltage: 5V
  • Pin Pitch: 2.54mm
  • Size: 33.7*20mm
  • Weight: 3g


Connection Diagram


thumb

Sample Code

int ledPin = 11; // define digital pin 11
void setup()
{
pinMode(ledPin, OUTPUT);// define LED pin as output
}
void loop()
{
analogWrite(ledPin,255); //set the LED on, regulate light brightness, ranging from 0-255, 255 is the brightest
delay(1000); // wait for a second
digitalWrite(ledPin, LOW); // set the LED off
delay(1000); // wait for a second
}

Resources

PDF

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

Buy from

Official Website

http://www.keyestudio.com/easy-plug-yellow-piranha-led-module.html