![]() Common cathode or anodeĪll RGB LEDs with individual cords have 4 connections, three for controlling the power supply and one common that closes the circuits of all three power supplies. This post is restricted to LEDs where each color is controlled by its own cord. This post goes through some of the RGB LEDs that are available, both as breakout boards and as simple components. So, by running the sketch/code, the color of the RGB LED can be known.Several products with separate light-emitting diodes (LED) for red (R) green (G) and blue (B) exists, and they require different wiring and sketching. To have a clear understanding, a software sketch is useful. In the case of the common anode, the 2 nd pin is connected to the 5V pin of the board whereas, for the common cathode, the 2 nd pin is connected to the GND pin. The difference between these two wirings lies in the second lead. The schematic diagram can be drawn in two ways for the common anode and common cathode. Memory – This consists of 32KB memory along with 2KB SRAM and 1KB EEPROM.Serial pins – The pins RX0 and TX1 are used for communication for data transfer between peripherals.AREF pin – This is the voltage reference pin.Pins 10, 11, 12 & 13 – These are SPI pins.Pins 3, 5, 6, 9, 10 & 11 – These are PWM pins and the output from these pins are in 8-bit format.Pin 2 and 3 – These are external interrupt pins that get activated when the clock is at either HIGH or LOW. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |