Software Setup ‐ Arduino IDE - tildemark/ESP32-OLED-GME12864-78 GitHub Wiki
Software Setup - Arduino IDE
This page provides instructions on setting up the Arduino IDE for ESP32 and OLED display development.
1. Install Arduino IDE
- Download and install the Arduino IDE from the official website: [https://www.arduino.cc/en/software](https://www.arduino.cc/en/software)
2. Install ESP32 Board Support
- Open the Arduino IDE.
- Go to
File
>Preferences
. - In the "Additional Board Manager URLs" field, add:
https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
. - Go to
Tools
>Board
>Boards Manager...
. - Search for "ESP32" and install the "esp32 by Espressif Systems" package.
- Go to
Tools
>Board
and select your ESP32 board. - Go to
Tools
>Port
and select the COM port your ESP32 is connected to.
3. Install Libraries
- Go to
Sketch
>Include Library
>Manage Libraries...
. - Search for "Adafruit SH110X" and install it.
- Search for "Adafruit GFX Library" and install it.
4. Upload Code
- Open the
.ino
file in the Arduino IDE. - Click the "Upload" button (right arrow).
5. Serial Monitor
- Go to
Tools
>Serial Monitor
. - Set the baud rate to 115200.
Notes
- Ensure the correct COM port is selected.
- Verify library installation.