11 Commits
Author SHA1 Message Date
jessikitty 8fac5c893e Record the working configuration
- Pin the toolchain versions, with the Legoino/core 3.x error text.
- Note DIR_* direction constants and the corrected control table.
- Add the swapped-hub-address story to step 4, and the Arduino
  prototype-ordering trap to the gotchas list.
2026-09-10 11:40:34 +10:00
jessikitty 39bc43a878 Working configuration - verified on hardware
- Swap HUB0/HUB1 addresses; they were the wrong way round.
- Add DIR_* constants for all seven motors, with DIR_RIGHT_TRACK at -1.
- Swap the right arm buttons: Cross raises, Triangle lowers.
- Move struct Frame into the types block - the Arduino prototype
  generator needs it declared above the first function definition.
- Pin core 2.0.17 in the header; 3.x will not build Legoino.
2026-09-10 11:39:37 +10:00
jessikitty 6c476afb08 Document power options and the power-loss failsafe gap
Adds bench vs model power arrangements, the both-USB-plus-5V-jumper
hazard, current budget, diode drop margin, and a deliberate test for the
case the 400ms failsafe cannot cover.
2026-09-09 19:35:08 +10:00
jessikitty 9dd74d9d60 Rewrite as a step-by-step build guide for the Johnny 5 setup
Adds bring-up order (pair the pad before wiring, verify the port map with
DEBUG_MOTORS before trusting it), the tank drive control table, the extended
link protocol, and the wiring failure modes.
2026-09-09 19:30:18 +10:00
jessikitty 0b32384578 Rewrite receiver for all 7 Johnny 5 motors with tank drive
- Parse the extended frame (d-pad and analog triggers).
- Drive both hubs across all seven ports, one input per motor.
- Add a per-hub rate limit alongside the per-port one; hub1 has four
  motors and the per-port throttle alone floods it.
- DEBUG_MOTORS flag to log which port each command lands on.
2026-09-09 19:29:12 +10:00
jessikitty 6622dbd05c Send d-pad and analog triggers in the link frame
Johnny 5 needs seven axes of control, so the frame now carries dpad and
both analog triggers alongside the sticks and button mask.
2026-09-09 19:28:17 +10:00
jessikitty 24f4dcc08b Document architecture, setup and known gotchas 2026-08-27 19:33:26 +10:00
jessikitty 9ca087836c Add BLE scanner sketch for finding hub addresses 2026-08-27 19:32:50 +10:00
jessikitty fe7960a00e Add Legoino receiver sketch for two Powered Up hubs 2026-08-27 19:32:36 +10:00
jessikitty 6ef199814b Add Bluepad32 PS4 transmitter sketch 2026-08-27 19:32:02 +10:00
jessikitty 5e6cdd8a49 Initial commit 2026-08-27 19:31:33 +10:00