Daniel Botchway

ProjectsFig. 05

Hermes

The WRO Future Engineers challenge asks for a small self-driving car that laps a 3 m × 3 m track on its own. In the Open Challenge it drives three laps between walls that change from run to run; in the Obstacle Challenge it also passes red and green traffic signs on the correct side, then parks. Hermes is the car our University of Ghana team designed, printed, wired and programmed for WRO 2026.

Year
2026
Discipline
Robotics
Role
Control and vision in a team of four: PID, IMU drift correction, OpenCV
Tools
Raspberry Pi 4, ESP32, Python, OpenCV, Arduino (C++), SolidWorks, MATLAB Simulink
Code
github.com/UG-Robotics/Hermes

Photographs

07Drag or use the arrows. Select the middle photograph to enlarge it.

Plate 01 / 07Hermes from the side: the red electronics box on the acrylic plate, with the drive layer underneath.

How to read this pageScroll and the drawing builds itself chapter by chapter. Underlined words point at parts. Drag the drawing to turn it.

01 / 07

A self-driving car for the WRO mat

Hermes is a four-wheeled car with one driven axle and one steered axle, as the rules require. Everything it needs to drive itself is on board: a camera at the front, distance sensors on both sides, an IMU, a Raspberry Pi 4 and an ESP32. After one press of the start button it works out which challenge it is in and finishes it with no human input.

02 / 07

Built in layers

The car stacks in layers that come apart for repairs. At the bottom, a printed chassis carries the steering and the drive. Above it the battery holder takes two 18650 cells and a buck converter for the 5 V rail. An acrylic plate carries the electronics box with the Pi inside, and on top sits the sensor deck with the ESP32, the IMU and the motor driver.

03 / 07

Ackermann steering and a differential

An MG90S servo turns the front wheels through a printed Ackermann linkage, so the inner wheel turns more than the outer one and both roll round the same centre instead of scrubbing. At the back a single N20 motor drives the axle through a printed differential, which lets the rear wheels turn at different speeds in a corner. One steering actuator and one driven axle is exactly what the rules allow.

04 / 07

Two boards, one serial link

The work is split in two. The Raspberry Pi 4 runs the camera vision, the state machine and the planning. The ESP32 does everything that has to happen on time: motor and servo PWM, reading the IMU and both time-of-flight sensors, and the start button. They talk over one UART at 115200 baud: telemetry packets up, drive commands down. Because the Pi never touches a sensor directly, the whole stack also runs on a laptop against a simulated ESP32.

05 / 07

The Open Challenge

Three laps of a corridor whose walls move between runs. Hermes centres itself between the walls from the camera image and holds its heading with a PID loop on the IMU (Kp 1.6, Ki 0.02, Kd 0.35, at 20 Hz). It counts the orange and blue corner lines to know which lap it is on, and the colour of the first one tells it which way round it is going. It keeps to the inner side for a shorter, safer line and stops after the third lap.

06 / 07

Traffic signs and parking

In the Obstacle Challenge red and green pillars stand in the track: pass right of red, left of green. Each one becomes a smooth heading change held by the IMU, and the side distance sensors stop the swerve before it reaches a wall. There is only one start button, so Hermes works out the challenge itself: seeing a pillar means Obstacle, a full lap without one means Open. After three laps it finds the magenta parking lot and parallel-parks.

07 / 07

Parts list

Every part in the drawing. Hover a row to find it.

No.PartSpecificationQty
1Raspberry Pi 4Vision, state machine and planning1
2ESP32 DevKitMotor and servo PWM, sensors, start button1
3Raspberry Pi Camera Module 3On a printed bracket at the front1
4LSM6DSO IMUHeading hold and drift correction1
5VL53L1X time-of-flight sensorsLeft and right; side clearance2
6Motor driverH-bridge for the drive motor1
7N20 gear motor and differentialPrinted differential and spur gears1
8MG90S servo and Ackermann linkagePrinted linkage and knuckles1
9Battery holderTwo 18650 Li-ion cells, buck converter to 5 V1
10Electronics boxPrinted, on bracket legs1
11Sensor deckPerfboard with terminal blocks1
12Top plateAcrylic1
13Chassis basePrinted1
14Wheels65 mm, yellow rims4

Specifications

ChallengeWRO 2026 Future Engineers: Open and Obstacle Challenges on a 3 m × 3 m field
ComputeRaspberry Pi 4 (vision, state machine, planning) and ESP32 (real-time I/O), UART at 115200 baud
SensorsRaspberry Pi Camera Module 3, LSM6DSO IMU, two VL53L1X time-of-flight sensors
Drive and steeringN20 gear motor through a printed differential; MG90S servo with Ackermann linkage
ControlCamera wall-centering with an IMU heading-hold PID (Kp 1.6, Ki 0.02, Kd 0.35) at 20 Hz
StrategyOne button: a pillar means Obstacle mode, a lap without one means Open mode
PowerTwo 18650 Li-ion cells; buck converter to 5 V
SoftwarePython on the Pi with OpenCV; Arduino firmware on the ESP32; unit tests, a simulation mode and a live dashboard
CostAbout GH₵ 600 in parts

Outcome

Hermes was built for reliability over speed: a slower car that finishes every run scores more than a fast one that does not. Splitting the work between the Pi and the ESP32 kept the timing-critical code small, let the whole stack run in simulation on a laptop, and put every threshold, gain and colour range in one config folder, so tuning on competition day means changing numbers, not code.

Contact

Get in touch

I welcome conversations about internships, research collaborations and robotics competitions.

botchwaydanielkwekudade@gmail.com

LinkedInGitHub

Phone
+233 53 808 0342
Location
Accra, Ghana