Arduino IDE Setup & Board Manager Guide
Install
Grab the Arduino IDE 2.x from arduino.cc — it's a full rewrite from the old 1.x IDE with proper autocomplete, a real debugger, and a much better serial monitor. If a tutorial specifically requires 1.x for compatibility reasons that's rare, but 2.x is the right default install.
Adding Non-Official Boards
Stock IDE only knows official Arduino boards. For ESP32, ESP8266, or other third-party boards, add their package URL:
- File > Preferences > "Additional Boards Manager URLs"
- Add the URL (ESP32: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json)
- Tools > Board > Boards Manager > search for the platform > Install
Picking the Right Board + Port
Tools > Board > select your exact board model (not just "generic ESP32" if a more specific match exists — pin mappings and partition schemes can differ). Tools > Port > select the COM port your board enumerated on (unplug/replug and watch the port list if you're unsure which one it is).
Driver Issues (Windows Especially)
Boards using a CH340 or CP2102 USB-serial chip (most clones, ESP32 dev boards) need a separate driver install on Windows — genuine Arduino-brand boards with the ATmega16U2 USB chip work driver-free. If your board doesn't show up as a COM port at all, this is almost always the cause — search for "CH340 driver" for your OS.
First Upload
- File > Examples > 01.Basics > Blink
- Select your board + port
- Click Upload (right arrow icon)
- Watch the onboard LED blink — that's your "hello world"
Library Manager
Sketch > Include Library > Manage Libraries — search, install, and version-pin libraries here rather than manually downloading .zip files. Far less error-prone and handles dependencies automatically for well-maintained libraries.
Related Guides
- Getting Started with Flipper Zero: The Complete Beginner Guide
- Getting Started with ESP32: GPIO, WiFi, and Your First Project
- Getting Started: First Sketch to First Project
- How to Program Addressable LED Strips: WS2812B Patterns, Effects, and Power Design
- How to Use the ESP32-CAM: Video Streaming, Motion Detection, and Time-Lapse
- I2C vs SPI vs UART: How to Choose and Use Serial Communication Protocols
- How to Use Sensors with Arduino and ESP32: Temperature, Distance, Load, Current, and Hall Effect
- How to Control Motors with Arduino and ESP32: Stepper, DC, and Servo Drivers