Product Manual

Bi-color LED  Plug   

 

 

       

 

 

 

    Updated on 19 June 2017 

 

Product Manual: Bi-color LED Plug   

   



Index 

 

Introduction



Specification



Variants  2  Supported cables:



Details



How to interface?



Example Codes Arduino​

7  7   

 

                            Elint Labz (​www.elintlabz.in​) 

Page 1 of 8 

Product Manual: Bi-color LED Plug   

Introduction  Bi-color  LED  is  a  handy little component that emits two colors RED & GREEN and  is  available  in  a  single  LED  package.  ​Bi-color  LED  plug  has  a  bi-color  LED  with  two  current  limiting  resistors  which  can  be  used  as  indicator  in  various  projects.  This  PCB  design  enables  you  to  bend  the  Bi-color  LED  to any position as per the  user’s need and also this plug can be mounted anywhere using screws.  ·

     

Specification  ● Operating voltage: 5V  ● Size: 20mm x 15mm 

Variants  ●

None 

Elint Labz (​www.elintlabz.in​) 

Page 2 of 8 

Product Manual: Bi-color LED Plug   

Supported cables:  ● 4-4 A 

  Details 

  Bi-color  LED  plug  is  a  digital  output device. It has a interfacing port with four pins  denoted  as  G,  V  ,  D1  and  D2.  Here  G  represents  Ground  ,  V  represents  VCC  and  D1  and  D2  represents  Data  pin1  &  Data  pin2  respectively,  through  which  Bi-color  LED  can  be  controlled.  Red  color  is  controlled  by  controlling  the  voltage  at  the  data pin 1 (D1). Similarly Green color is controlled by data pin 2(D2).   

State of D1 pin on the  Bi-color LED PLUG 

State of D2 pin on the  Bi-color LED PLUG 

  HIGH 

  LOW 

Bi-color LED plug  response 

RED

  LOW 

  HIGH    GREEN

  HIGH 

   HIGH  ORANGE

Elint Labz (​www.elintlabz.in​) 

Page 3 of 8 

Product Manual: Bi-color LED Plug   

  LOW 

  LOW  OFF

 

  How to interface?  Always use 4-4A cable to interface Bi-color LED plug with the controller board.  While  connecting  make  sure  that  the  black  wire  of  the  cable is connected to the  G pin on both sides.    In  the  below  given  pictures  one  can  see  4-4A  cable  is  used  to  connect  Bi-color  LED  plug  to  the  Pluguino  Board.  The  data  pin  1  (D1)  &  data  pin  2  (D2)  of  the  Bi-color  LED  plug  are  connected  to  the  GPIO  pins  11  &  12  respectively  on  the  controller  board.  By  controlling  the  voltage  at  the  11th  and  12th  GPIO  pin  of  the  controller board one can control the Red and Green LEDs respectively.   

Elint Labz (​www.elintlabz.in​) 

Page 4 of 8 

Product Manual: Bi-color LED Plug   

Elint Labz (​www.elintlabz.in​) 

Page 5 of 8 

Product Manual: Bi-color LED Plug   

In  this  example,  we  are  going  to  demonstrate  the  working  of  the  Bi-color  LED  plug.  Initially  Red  color  LED  blink  once  with  the  delay  of  one  second  and  after  that  Green  color  LED  blink  once  with  the  delay  of  one  second  and  finally  both  Red and Green color blink simultaneously with the delay of one second.    

           

Elint Labz (​www.elintlabz.in​) 

Page 6 of 8 

Product Manual: Bi-color LED Plug   

Example Codes  Code 1 : Arduino  Objective:  Red  color  LED  turns  ON  for  one  second  followed by Green color for  one  second  and  finally  both  Red  and  Green  color  turn  ON  simultaneously  for  one second.  #define RED_LED 11 #define GREEN_LED 12 color

​// 11th pin is used to control RED color ​// 12th pin is used to control GREEN

void​ ​setup​() { pinMode(RED_LED ,OUTPUT); pinMode(GREEN_LED ,OUTPUT); } void​ ​loop​() { digitalWrite(RED_LED, HIGH); delay(​1000​); digitalWrite(RED_LED, LOW); delay(​1000​); digitalWrite(GREEN_LED, HIGH); delay(​1000​); digitalWrite(GREEN_LED, LOW); delay(​1000​); digitalWrite(RED_LED, HIGH); digitalWrite(GREEN_LED, HIGH); delay(​1000​); digitalWrite(RED_LED, LOW); digitalWrite(GREEN_LED, LOW); delay(​1000​); }

​// define 11th GPIO pin as OUTPUT pin ​// define 12th GPIO pin as OUTPUT pin

​// ​// ​// ​// ​// ​// ​// ​// ​// ​// ​// ​// ​// ​//

Turn ON RED color wait for a second Turn OFF RED color wait for a second Turn ON GREEN color wait for a second Turn OFF GREEN color wait for a second Turn ON RED color Turn ON GREEN color wait for a second Turn OFF RED color Turn OFF GREEN color wait for a second

Output video: ​https://youtu.be/anmHrSQjiuk

        

Elint Labz (​www.elintlabz.in​) 

Page 7 of 8 

Product Manual: Bi-color LED Plug   

Contributors  List of interns & other contributors who have worked for developing this manual   

Sai Supraja N  http://www.elintlabz.in/profile-1808 

     

Elint Labz (​www.elintlabz.in​) 

Page 8 of 8 

Bi-color LED Plug

Jun 19, 2017 - In this example, we are going to demonstrate the working of the Bi-color LED plug. Initially Red color LED blink once with the delay of one second and after that Green color LED blink once with the delay of one second and finally both. Red and Green color blink simultaneously with the delay of one second.

4MB Sizes 1 Downloads 283 Views

Recommend Documents

LED Plug [v2]
Product Manual: LED Plug. Introduction. This version of LED plug has an LED, SMD resistors and a transistor. In this plug. CTBC 547B transistor is used, It has a ...

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 O

Sorghum bicolor
internode length, number of leaves, stay green trait, brix content, fresh cane weight, millable cane weight, juice weight, juice volume, sucrose percentage, juice extractability percentage, cane yield, juice yield, sucrose yield. Phenotypic and genot

Bi-colour LED Plug ​ [v2]
Nov 27, 2017 - electronics & programmable development hardware more accessible. Elint Labz as a platform helps developers & young engineers from prototyping to product development. We provide open source hardware solutions and small quantity manufact

TSOP Plug
Nov 27, 2017 - TSOP, an IR receiver, outputs a constant HIGH signal when it is idle and as it receives data from the remote, it tends to invert the data. i.e when an IR LED of the remote is transmitting data onto the TSOP, every time the IR led goes

Relay​ ​Plug
Index. 1. Introduction. 2. Specification. 3. Operating​ ​voltage:​ ​5V. 3. Variants. 4 .... To activate the relay Plug the corresponding data pin on the controller board to ... Normally Open Contact (NO): ​NO contact is also called 'make co

Cheap New Eu To China Plug Adapter Socket Plug Converter ...
Cheap New Eu To China Plug Adapter Socket Plug Conve ... lectrical Outlet Free Shipping & Wholesale Price.pdf. Cheap New Eu To China Plug Adapter Socket ...

Bicolor Cat Mask by Barth Dunkan.pdf
Bicolor Cat Mask by Barth Dunkan.pdf. Bicolor Cat Mask by Barth Dunkan.pdf. Open. Extract. Open with. Sign In. Main menu.

Rotary sensor plug
A Rotary potentiometer is a three terminal variable resistor with a rotating contact that forms an adjustable voltage divider. An adjustable potentiometer can open.

Joystick Plug
3. Variants. 4. Supported cables. 4. Details. 4. How to interface? 5. Example Codes. 7. Arduino. 7. Contributors. 8. Elint Labz (​www.elintlabz.in​). Page 1 of 7 .... Supported cables. ○ 4-4A. Details. Joystick plug is a analog input device to

Buzzer plug [v 1.1]
manufacture development boards based on micro-controller & microprocessors, breakout boards ... the user's need and also this plug can be mounted anywhere using screws. ... to the Buzzer plug and 4 pin end of the cable is connected to the.

Slide switch plug
#define second_led 13 ​//second LED is connected to 13th pin. #define first_datapin 10 ​//D1 of slide switch is connected to. 10th pin. #define second_datapin ...

THERMISTOR PLUG [v2]
Nov 27, 2017 - manufacturing services using a design from manufacturing framework. ... large, predictable and precise change in electrical resistance when ...

USB—A—Plug - CQHAM.ru
Opendous inc. deeded this hardware design into the Public Domain. Opendous Inc. Title: Upconverter—iOOMHl—13LO—SMS3926—CX2147. Size: A4 i Date: ...

Buzzer Plug
output pin. } /* the loop function runs over and over again forever*/ void​ ​loop​(). {. digitalWrite(Buzzer_pin, HIGH); ​// activate the buzzer delay(​1000​);. ​// wait for a second. digitalWrite(Buzzer_pin, LOW); ​// deactivate the

Thermistor Plug
Nov 27, 2017 - As in the name company (Elint Labz) – Electronic intelligence (​ELINT​) is intelligence gathered by the use of ... intelligent electronics & EL is committed to help achieve electronics literacy in India. No matter the vision ...

Object Sensor Plug
Nov 27, 2017 - 4. Supported cables: 5. Details. 5. How to interface? 5. Example Codes. 7. Code 1: Arduino. 7. Elint Labz (​www.elintlabz.in​). Page 1 of 6 ...

LED-mirror layout - GitHub
We defined all pixelsstrips in the screen as one big row (MAX config during startup). This all means every byte of pixel data controls 4 leds at a time. And MAX ...

The LED Block Cipher
AddConstants: xor round-dependent constants to the two first columns ..... cube testers: the best we could find within practical time complexity is ... 57 cycles/byte.

Led matrix PCB - GitHub
Alarm Clock. TITLE. Led matrix PCB. REV. PART #. CLK-PC-01. DOCUMENT #. UNITS. INCHES. SIZE. B. DATE 2/8/2015. CLK-DWG-01. BENOIT FRIGON.