Motor Control (Pico Carrier) Board Schematic
Overview
The motor control board (MCB) hosts following components and peripherals:
- Raspberry Pi Pico,
- Pololu TB6612FNG dual motor driver carrier
- E-S N20 geared DC motors and encoders
- HC-SR04 ultrasonic distance sensor
- Common cathode RGB LED
- Pull-up resistor for Pico
- Pull-down resistor for Pico
Power Management
The MCB receives two sources of DC power and supply them to the components on the board.
- 7.4V (nominal) for Pololu TB6612FNG motor driver carrier.
- 5V for Raspberry Pi Pico (optional), HC-SR04 distance sensor, motor encoders.
Pico Wiring
J8is the 5V input connected to the power expansion board (PEB).SW3is a switch for Pico to select power sources (off: USB,on: PEB)J10provides extra connections to unoccupied GPIOs.

Motor and Motor Driver Wiring
J4(MOT_POW) serves 7.4V (nominal) DC to power Pololu TB6612FNG motor driver carrier.J2andJ3provides connections for right and left motor.
Distance Sensor and Peripherals Wiring
SW1needs to be configured toPULLUP, and SW2 needs to be configured toPULLDOWN. Both are debounced.ECHOsignal from HC-SR04 is 5V, soR6andR7are used to level the voltage down to around 3.3V.
