Safety and scope
Test with wheels raised first. The car must default to stop on lost signal, malformed command or low controller battery.
Plan, predict and test
Suggested virtual study time: about 35 minutes. This is a planning estimate, not a validated construction time.
Preparation: Foundation electronics, embedded programming and subsystem testing. Review a foundation lesson ↗
Use paper, a spreadsheet or a simulator. This is not a verified physical assembly guide.
- Scenario: Use virtual tilt +10°, 0°, −10° with a ±5° neutral band; include lost messages.
- Expected result: Neutral and timeout both select STOP.
- Checkpoint: Write your prediction, test it in the virtual model and explain any difference.
A correct answer does not certify the physical system.
Record your validation
Use only virtual inputs and indicators until the actual components, pinouts and electrical limits have been verified.
| Case | What to record |
|---|---|
| Normal input | +10° → forward command; −10° → reverse |
| Boundary | Within ±5° including endpoints → STOP by chosen convention |
| Missing or invalid input | Lost message → STOP after a defined timeout; no vehicle safety rating. |
| Repeat test | Repeat the virtual test, record the actual output and compare with the expected result. |
These are test-planning requirements, not recorded hardware results.
Before building: understand the listed components and the relevant low-voltage safety rules. This is a concept brief, not a tested assembly manual.
What it does
Combine inertial sensing, wireless communication and a motor-control receiver with a safe stop behaviour.
Engineering principle
An MPU6050 measures acceleration and angular rate. The controller estimates pitch and roll, then maps angles beyond defined thresholds to movement commands. Two ESP32 boards can exchange commands through Wi-Fi or ESP-NOW. The vehicle must stop when messages time out.
Hardware and components
- 2 × ESP32 boardsOne transmitter on the hand unit and one receiver on the car.
- MPU6050 IMUMeasures hand acceleration and angular rate for tilt estimation.
- L298N motor driverDrives the vehicle motors.
- 2 or 4 DC geared motors, chassis and battery packsProvide mobile movement and separate power.
- Glove/handheld enclosure and optional displayHold the controller and provide user feedback.
Suggested build sequence
- Read the MPU6050 and calibrate the neutral hand orientation.
- Filter the orientation estimate and define pitch/roll thresholds.
- Map forward/back/left/right/neutral to explicit commands.
- Send the commands from the hand unit to the rover using ESP-NOW or Wi-Fi.
- Implement a receiver timeout that stops the motors if communication is lost.
Learning outcomes
- IMU orientation sensing
- Sensor filtering and calibration
- ESP32 wireless communication
- Communication failsafes and motor control
Possible upgrades
Add obstacle detection, an OLED mode display, camera streaming or a selectable sensitivity profile.