← All demos · 所有作品

Pick-up robot electronics · 取物機器人電控接線

The electronics of our team's eight-legged pick-up robot, wired as in its wiring plan: an Arduino Uno, two L298N motor drivers, four servos, Bluetooth and three power supplies. Send it the robot's own commands and watch every pin respond.

機械專題取物機器人照接線計畫的接線與控制邏輯,可以下指令、看每個腳位、試三種接錯的後果。

Open the interactive model

What you can do

Drive itHold 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 linkTurn 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 powerColour 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 upStep through the bring-up order from the wiring plan, one part at a time, from USB only to the radio last.
Wire it wrongPower 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 settings17 / 17 pin assignments and 15 / 15 speed, timing and direction constants match the robot's control program
CommandsAll 30 command characters handled; 14 motion commands give the right motor and servo direction; 8 stop commands stop what they should
Fail-safeA 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 check50 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.

three.js is MIT-licensed (licence).