Demo
Overview
I planned two weeks for Project June and it took three. It was rushed and there is a lot I would do differently, but it is still one of the most ambitious things I have built.

On board
An ESP32-S3 reads the sensors, drives the motor and sends the telemetry, while three phones on board give the rover its 5G hotspot and its front, left and right camera views. The DC motor runs through a MOSFET motor driver I built, and a 2S3P lithium-ion pack I made from three 2S packs extends the range, while a power bank supplies the ESP32 and the phones.

Ultrasonic sensor
The ultrasonic sensor is mounted at the back, so it tells me how far away any obstacles behind the rover are.

Laser
A laser diode sits on a 3G servo at the front, and I can aim it up to 45° either way from the console.

GPS
A Neo8M module gives the rover's live position, which shows up on the console map.

10-axis IMU
One board gives me accelerometer, gyroscope and barometer readings, although I never used its magnetometer.

Light sensor
The light sensor is a TEMT6000, and because I could not calibrate it, the console shows brightness in four steps: Dark, Ambient, Bright and VBright.

DHT11
The DHT11 measures the ambient temperature and humidity.

Architecture
This diagram shows the three parts of the system, the rover, the server and the client, and what runs between them.

Video
Each phone sends its camera as its own WebRTC stream, three in total, relayed through a TURN server so the video works over mobile data.
Below is a rebuild of the console with footage from a day run and a night run, and you can select a stage of the signal path or a camera to take a closer look.
Xbox controller. The controller pairs with the web console over Bluetooth, and the console turns stick and trigger input into movement commands that it publishes over MQTT.
- Latitude1.4614°N
- Longitude103.8405°E
- Speed2.0km/h
- Altitude-12m
- Temperature30.2°C
- Humidity65%
- Satellites21
- BrightnessVBright
- GPS fixIrau Dr


Control and telemetry
The ESP32 publishes sensor data to an MQTT topic that the client subscribes to, and the client sends movement and other commands back to the ESP32 on a second topic.

Three packets
I could not get all the sensor data into one MQTT message and have not worked out why yet, so it goes out as three separate packets at about 10 Hz.

Software
This is a simplified flow chart of the code.


Console design
I designed the console in Figma.
Spline 3D
The 3D rover in the console is a Spline model, which moves to the forward view when I push the controller forward and to the reverse view when I pull it back.

Driving it
The video came from over 8 km away and passed through every part of the system, so there was about one second of delay between a controller input and the movement on the live feed. The stream was not always stable either, which made driving hard at times.




