Embedded code running on the ROAR ESP32 chip
Parts required:
-
Mini/Micro USB Wires supporting Data Transmission
-
Jumper wires
-
ESP32 Motherboard
-
ROAR customized PCB Board
Google Doc: https://docs.google.com/document/d/1D5ydaaLVN3bytds7K1XcLaF4Gcsg35xMvoRSOgNlM3k/edit?usp=sharing
- STEP1: Connect all the jumper wires according to the below config
- STEP2: Plugin the USB wire into the laptop and the ESP-32-CAM-MB boardOn Platform IO, make sure the code compiles before uploading
- STEP3: Upload, and when seeing “Connecting…..” in the terminal, press the RST on the ESP32-CAM-MB until the data is being transferred.
- STEP4: Boom, you’re done!
A side note: connect the 5V to the + of throttle/steering is fine, but connecting it to the halleffect sensor +/- may risk frying the chip.
This code is designed to be used with a custom PCB made for ROAR and intelligent racing. The wiring diagram to flash the PCB is as follows:
It is highly recommended to use PlatformIO an IDE and dependency manager along with Visual Studio Code to Work on this project and properly manage dependencies. You can follow a Quick Start Installation Guide Here:
https://docs.platformio.org/en/latest/integration/ide/vscode.html
If you are new to PlatformIO or Arduino programming. For more resources and Tutorials see this helpful youtube tutorial playlist for ESP32 using PlatformIO
https://youtube.com/playlist?list=PLzvRQMJ9HDiQ3OIuBWCEW6yE0S0LUpWhGU
After opening the project in Visual Studio Code with PlatformIO
you should see a SUCCESS message
When you see Connecting … in the terminal output
Hold Down the RST Button on the ESP32-CAM-MB
Post upload you should see SUCCESS
Close up of Custom Intelligent Racing Board designed by @BerkeleyCurtis with pin connectors soldered and antenna connected, for the CAD model of this PCB reach out to Adam Curtis