Arduino Nano RGB Led controlled by 3 Potentiometers

preview_player
Показать описание
Wiring:

Potentiometers:
Red Potentiometer:
One end to 5V
The other end to GND
Middle pin to A0
Green Potentiometer:
One end to 5V
The other end to GND
Middle pin to A1
Blue Potentiometer:
One end to 5V
The other end to GND
Middle pin to A2

RGB LED:
Anode (longest pin) to 5V through a 220Ω resistor.
Red cathode to a 220Ω resistor, then to D9.
Green cathode to a 220Ω resistor, then to D10.
Blue cathode to a 220Ω resistor, then to D11.
Wiring Configuration:

Ensure the potentiometers are connected to the correct analog pins (A0, A1, and A2).
Confirm the resistors and LED connections match the specified pins (D9, D10, and D11).

Debugging:

Use the Serial Monitor to verify the potentiometer readings and the corresponding mapped values.

Schematic available with link above.
Рекомендации по теме
Комментарии
Автор

Tolong buat untuk audio volume saya sangat berterima kasih kepada anda

RodokBocor