top of page
image_123927839.JPG

Wiring

In this setup, there are a total of 36 LED lights. The negative wires of each LED are soldered together in rows of 6, and these rows are connected to a common grounding point. The positive wires of the LEDs are individually connected to distinct pins on the Arduino Mega. In our project, the negative wires are color-coded as red or blue, while the positive wires are white. The yellow wires serve as junctions where all 36 negative wires are joined together. Lastly, there is a thicker blue wire that establishes the connection between the board and the computer.

Individually, each LED has 2 prongs: a positive wire  and a negative wire. The positive wire of each LED is connected to a unique pin on the Arduino Mega, which allows us to control them independently. 

To ensure that all LEDs share the same ground connection, we use a technique called "common ground." This involves connecting all the negative wires of the LEDs together. In our project, the negative wires of each LED are soldered together in rows of 6. So, there will be a total of 6 rows, each containing 6 negative wires.

Once the negative wires are soldered in rows, we connect them to a single point called the common ground. This common ground point is then connected to the ground pin on the Arduino Mega. By doing so, all 36 LEDs are effectively connected to the same ground reference.

This setup allows us to control each LED individually through their respective pins on the Arduino Mega while ensuring they share a common ground connection for simple electrical organization.

circuit.png

BrainyBoard

©2023 by BrainyBoard. Proudly created with Wix.com

bottom of page