You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
3.8 KiB
3.8 KiB
title | description |
---|---|
ESP32 | How to setup the ESP32 |
To set up the ESP32 for use with 01, follow this guide to install the firmware:
-
Download Arduino IDE.
-
Get the firmware by copying the contents of client.ino from the 01 repository.
- Open Arduino IDE and paste the client.ino contents.
- Hardcode your WiFi SSID, WiFi password, and server URL into the code.
Hardcoding is recommended for a more streamlined setup and development environment. However, if you don't hardcode these values or if the ESP32 can't connect using the provided information, it will automatically default to a captive portal for configuration.
- Go to Tools -> Board -> Boards Manager, search "esp32", then install the boards by Arduino and Espressif.
- Go to Tools -> Manage Libraries, then install the following:
- M5Atom by M5Stack (Reference)
- WebSockets by Markus Sattler (Reference)
- AsyncTCP by dvarrel (Reference)
- ESPAsyncWebServer by lacamera (Reference)
- To flash the .ino to the board, connect the board to the USB port.
- Select the port from the dropdown on the IDE, then select the M5Atom board (or M5Stack-ATOM if you have that).
- Click on upload to flash the board.
Watch this video from Thomas for a step-by-step guide on flashing the ESP32 and connecting the 01.