What you can do
| Drive it | Hold F, U, A… The command goes over Bluetooth into D2, the pins switch, the H-bridges turn the motors and the servos spin. The serial monitor prints what the firmware prints. |
|---|---|
| Lose the link | Turn off the 250 ms re-send and hold a key: 500 ms after the last command the firmware stops that motion on its own. |
| Follow the power | Colour the wires by supply: battery A only feeds the motor drivers, battery B feeds the logic through a 5.0 V buck converter and the servos through their own BEC, and every ground meets. |
| Bring it up | Step through the bring-up order from the wiring plan, one part at a time, from USB only to the radio last. |
| Wire it wrong | Power the servos from the Uno, leave out the common ground, or put the motor battery on the 5 V rail, and watch the result. |
Checked against the robot's code
| Pins and settings | 17 / 17 pin assignments and 15 / 15 speed, timing and direction constants match the robot's control program |
|---|---|
| Commands | All 30 command characters handled; 14 motion commands give the right motor and servo direction; 8 stop commands stop what they should |
| Fail-safe | A single command stops at exactly 500 ms; re-sent every 250 ms it runs 5 s without a gap; each motion group times out on its own |
| Power check | 50 wires: motor, logic and servo supplies never touch, one common ground. Each of the three mistakes is flagged. |
Reproduce with node tests/test.mjs path/to/control.ino (source; 94 checks).
How it is built
Every board, chip, connector and wire is generated in code with three.js: no 3D files, no photos. Board sizes follow the standard module outlines (Uno 68.6 × 53.3 mm, L298N 43 × 43 mm). I led the team and did the electronics: choosing the parts, the wiring and power split, and testing the bring-up step by step.
- net.js: the wiring list, the power check and the firmware's command handling
- boards.js: the boards, modules, motors, servos and batteries
- app.js: the 3D view, controls and tour
three.js is MIT-licensed (licence).