Product Manual 

LED Plug        

 

            Updated on 05 June 2017     

Product Manual: LED Plug 

Index  Index



Introduction



Specification



Variants



Supported cables:



Details



How to interface?



Example Codes



Code 1: Arduino



 

                               

Elint Labz (​www.elintlabz.in​) 

 

Page 1 of 6 

Product Manual: LED Plug 

Introduction 

LED  plug has a LED with a current limiting resistor which can be used as indicator  in  various  projects.  This  PCB  design  enables  you  to  bend the LED to any position  as  per  the  user’s  need  and  also  this  plug  can  be  mounted  anywhere  using  screws. This plug is available in different colors.   

   

Specification 

● Operating voltage: 5V  ●

Size: 15mm x 20mm 

Variants  1.

Diffused  a. Red  b. Yellow  c. Green 

2. Clear  a. IR 

Elint Labz (​www.elintlabz.in​) 

 

Page 2 of 6 

Product Manual: LED Plug 

b. UV  c. White  d. Red  e. Yellow  f.

Green 

g. Blue 

Supported cables:  1.

3-3 A 

2. 4-3 A 

  Details 

LED plug is a digital output device. It has a interfacing port with three pins named  as G, V & D. Here G represents Ground , V represents VCC and D represents Data  pin through which LED is controlled.   

How to interface? 

Use either of the supported interface cables to connect this LED plug to the  controller board. If 4-3A cable is to be used then 3pin end of the cable is  connected the LED plug. If 3-3A wire is to be used then any end of the wire can  be connected to the LED plug. Always ensure that black wire of the cable is  connected to the G pin.    In the below given pictures one can see 4-3A cable is used to connect LED plug  to the Pluguino Board. The data pin of the LED plug is connected to the 12th GPIO  pin on the controller board. By controlling the voltage at the 12th GPIO pin of the  controller one can control the state of the LED.   

Elint Labz (​www.elintlabz.in​) 

 

Page 3 of 6 

Product Manual: LED Plug 

Elint Labz (​www.elintlabz.in​) 

 

Page 4 of 6 

Product Manual: LED Plug 

State of D pin on the LED PLUG 

LED plug response 

   LOW 

Elint Labz (​www.elintlabz.in​) 

 

Page 5 of 6 

Product Manual: LED Plug 

   HIGH 

In this example, we are going to blink an LED with 1 second delay that means LED turns  ON for one second and turns OFF for another second. 

Example Codes  Code 1: Arduino  void setup() { pinMode(12,OUTPUT); // define 12th GPIO pin as OUTPUT pin } void loop() { digitalWrite(12,HIGH); delay(1000); digitalWrite(12,LOW); delay(1000); }

// making 12th pin HIGH so that LED turns ON // wait for 1 second delay so that LED stays ON for 1 second // making 12th pin LOW so that LED turns OFF // wait for 1 second delay so that LED stays OFF for 1 second

Output video: https://www.youtube.com/watch?v=bZyLzyPsPK8  

Elint Labz (​www.elintlabz.in​) 

 

Page 6 of 6 

LED Plug

Jun 5, 2017 - In this example, we are going to blink an LED with 1 second delay that means LED turns. ON for one second and turns OFF for another second. Example Codes. Code 1: Arduino void setup(). {. pinMode(12,OUTPUT); // define 12th GPIO pin as OUTPUT pin. } void loop(). {. digitalWrite(12,HIGH); // making ...

3MB Sizes 2 Downloads 334 Views

Recommend Documents

No documents