The cathode of each LED are connected together and are found on a single common pin of the LED package, hence it is a common cathode device. The two colour LED is basically two LEDs in one LED package. Principle of Operation of the Two Colour Common Cathode LED Module PWM on these pins is available, but optional, so the LED module can be switched on and off, or PWM controlled. The right pin of the LED module connects to pin 5 of the Arduino through a 220 Ohm resistor.Īrduino pins 5 and 6 were chosen to control the LEDs because they are both PWM pins. The middle pin of the LED module is connected to pin 6 of the Arduino through a 2k2 resistor. Arduino Uno and USB cable (can also use an Arduino MEGA)Ĭommon Cathode 2 Colour LED Module Arduino Circuit DiagramĪs can be seen in the circuit diagram, the left pin of the LED module is connected to a GND pin of the Arduino.See the circuit diagram below that shows how to connect the two colour LED module to an Arduino. Common Cathode 2 Colour LED Module Arduino Breadboard Circuit Common Cathode Dual LED Arduino Circuitīelow is an image of the circuit built on breadboard in this tutorial using an Arduino Uno. These modules may be called any one of the following, depending on which kit they are from:įor the pinout and circuit diagram of the dual colour LED module, see Geekcreit common cathode 2 colour LED module pinout reference. Two Colour LED Modules from the 37 in 1 Sensor Kit for Arduino One module contains a 5mm LED and the other module contains a 3mm LED as shown in the image below. The 37 in 1 sensor kit module for Arduino contains two 3-pin LED modules that both have a dual colour LED. This tutorial shows basic use of the two dual colour LED modules with Arduino, first without PWM and then with PWM (Pulse Width Modulation).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |