- Arduino IDE
- ESP32-DevKitC
- LED
- 220Ω Resistor
- Micro-USB to USB Cable
Please ensure you have Arduino IDE installed and the board disconnected.
- Open Arduino IDE
- Go into Preferences
- Add
https://dl.espressif.com/dl/package_esp32_index.json
as an 'Additional Board Manager URL' - Go to Boards Manager from the Tools -> Board menu
- Search for esp32 and install esp32.
- Download and install the CP2102 driver
- Connect the ESP32-DevKitC board via Micro-USB cable to your computer
- Go into Tools -> Board and select ESP32 Dev Module from the list
- Under Tools -> Port select the appropriate device ie. COM1, /dev/cu.SLAB_USBtoUART
- Test uploading to the board by uploading an empty sketch to make sure there are no issues.
- The sample project requires a LED to be connected to the development board. Attach one side of the resistor to IO2 and the other to the anode side of the LED (positive side or the longer lead). Then connect the cathode side of the LED (negative side or the shorter lead) to Ground.
- From this repository, open arduino/sample/sample.ino
- Change the
USER_SERVICE_UUID
to your generated UUID - Upload and Enjoy!