diff --git a/docs/bodies/01-light.mdx b/docs/bodies/01-light.mdx index d669537..ed27f1c 100644 --- a/docs/bodies/01-light.mdx +++ b/docs/bodies/01-light.mdx @@ -4,3 +4,5 @@ description: "Build your 01 Light" --- 01 Light (one pager that points to the STL, wiring diagrams, and points to the ESP32 client setup page^) + +For CAD files, wiring diagram, and images, please visit the [01 Light hardware repository](https://github.com/OpenInterpreter/01/tree/main/hardware/light). diff --git a/docs/client/setup.mdx b/docs/client/setup.mdx index 8e10b5e..78a0a27 100644 --- a/docs/client/setup.mdx +++ b/docs/client/setup.mdx @@ -5,5 +5,18 @@ description: "Get your 01 client up and running" (lets you pick from a grid of avaliable clients) -- ESP32 (instructions for flashing it) - Desktop (basically says "just run start.py with no args, that will run the server with a client, or start.py --client to just run the client") + +## ESP32 Playback + +To set up audio recording + playback on the ESP32 (M5 Atom), do the following: + +1. Open Arduino IDE, and open the client/client.ino file +2. Go to Tools -> Board -> Boards Manager, search "esp32", then install the boards by Arduino and Espressif +3. Go to Tools -> Manage Libraries, then install the following: + +- M5Atom by M5Stack [Reference](https://www.arduino.cc/reference/en/libraries/m5atom/) +- WebSockets by Markus Sattler [Reference](https://www.arduino.cc/reference/en/libraries/websockets/) + +4. The board needs to connect to WiFi. Once you flash, connect to ESP32 wifi "captive" which will get wifi details. Once it connects, it will ask you to enter 01OS server address in the format "domain.com:port" or "ip:port". Once its able to connect you can use the device. +5. 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.