List:
Adapter AC/DC 220v 12v
Arduino Nano 33 IoT (and a USB cable)
3 MOSFET transistors IRLB8721
3 resistors 120 ohm
RGB LED strip
3 resistors 10K ohm
(OPTIONAL) 1 resistor 240 ohm
(OPTIONAL) 1 LED diode
AND of course, a breadboard and all sizes of jumper wires
I bought most of the stuff at a small technical store in the Technical University of Sofia. The LED strip is from "OMEGA LIGHT", and I ordered the Arduino online.
Copy and paste everything in the document except for the highlighted comments. Please, read the highlighted instructions and follow them carefully. At almost every part of the code, there is a thorough explanation so that you can understand it.
The chosen sensors in the code are those that surround ACS. In order to change them, you should go to https://airsofia.info/, click on a sensor, and copy its sensor number. There is a more detailed explanation in the beginning of the Docs.
This is only the prototype to build a general idea of how it is supposed to look like. Please, follow the diagram above when connecting the jumper wires to the Arduino.
A semiconductor device used to switch/control electronic electrical power. They control the current to determine how much of each base color is projected to get the desired final color.
What controls the transistors is the programmed the Arduino. It tells the transistor how much to open its gate so a certain amount of current can pass through it and the LED lights.
How the transistor is used: The current flows through the source, the LED strip is connected to the drain, and the Arduino is connected to the gate.
Summary: the current from the power supply flows through the LED strip>drain>source>ground(GND)