Known hardware issues¶
Findings from reviewing the KiCad netlist against the firmware’s needs. Each item states its impact and how the software deals with it until the hardware is changed.
Motor outputs not connected in the schematic¶
The TB6612FNG outputs AO1, AO2, BO1 and BO2 are drawn, but in the netlist they are not
connected to the motor connectors J5/J6 (M+/M-).
Impact: the schematic does not document which driver channel turns which wheel, or in which direction.
Mitigation: channel-to-wheel mapping and direction inversion are configuration values, and the bring-up firmware spins each channel separately so they can be determined on the robot.
Fix: connect the outputs to J5/J6 in KiCad.
MPU-9250 VDDIO unconnected¶
Pin 8 (VDDIO) of the MPU-9250 symbol has no connection. Most breakout boards tie it to VDD
on-board, so this is likely a schematic-only omission. Verify against the breakout board.
Encoder inputs on input-only pins¶
GPIO 34, 35 and 36 are input-only and have no internal pull-up or pull-down resistors. This is fine for Hall encoders with push-pull outputs; open-collector encoders would need external pull-ups.
GPIO 36 (SENSOR_VP) is also affected by an ESP32 erratum: it can see short spurious low pulses
when the ADC or WiFi is active. The firmware decodes encoders with the PCNT peripheral and its
glitch filter, which rejects pulses that short.
No battery-voltage sensing¶
No battery voltage reaches an ADC pin, so the firmware cannot detect a low battery. A voltage divider from the battery to a free ADC1 pin (for example GPIO 39) would fix this.