- Arduino IDE
- USB cable (Type A to Type B)
- Arduino Uno board
# Windows check (PowerShell):
Test-Path $env:ProgramFiles\Arduino\arduino.exe- Launch Arduino IDE
- Navigate to
Tools > Board > Arduino AVR Boards > Arduino Uno - Set port under
Tools > Port:- Windows:
COMx(x = number from Device Manager) - macOS:
/dev/cu.usbmodemXXXX - Linux:
/dev/ttyACMx
- Windows:
Install libraries using the Arduino IDE:
- FastLED by Daniel Garcia
- Tone by Brett Hagman
Alternatively, use the CLI:
# CLI alternative (if using Arduino CLI):
arduino-cli lib install FastLED
arduino-cli lib install Tone- Connect Arduino via USB
- Remove UNO 6-channel knob expansion board
- Compile the code
- Upload to the board
- Verify connection:
arduino-cli board list
- Compile and upload the sketch:
arduino-cli compile --fqbn arduino:avr:uno arduino-cli upload -p /dev/cu.usbmodemXXXX --fqbn arduino:avr:uno
- Port Not Found:
- Reinstall CH340G drivers
- Try a different USB cable