Skip to content

1.5.8 - Launcher Wiring

Custom Electronics: This manifest defines the wiring for an Arduino Pro Micro acting as a sub-controller for the XRP.


Wiring Diagram


Wiring Diagram


🧠 Method & Reasoning The standard XRP motors are too slow for shooting a ping pong ball, and the XRP board doesn’t have enough motor ports for our design. We solve this by adding custom electronics:

  • 1. The “Smart Controller” (Arduino Pro Micro): The Arduino takes the single command from WPILib (e.g., “Shoot at 80% speed”), does the math, and translates it into the specific dual-pin hardware signals needed by the motor driver.
  • 2. The “Heavy Valve” (L9110S Motor Driver): This chip acts as a heavy-duty electronic valve. It connects directly to the 6V battery to pull high current, and waits for a tiny, low-current signal from the Arduino to tell it how much power to let through. This keeps dangerous electrical current isolated from your delicate XRP brain.

🔌 Master Wiring Table Follow this table precisely. Ensure your robot is powered OFF and the battery is unplugged before making these connections.

Connection GroupFrom (Component : Pin)To (Component : Pin)Logic/VoltagePurpose
Control SignalXRP SERVO2: Signal (IO17)Pro Micro: Pin 2PWMSignal from WPILib
Common GroundL9110S: Ground (GND)XRP SERVO2: Ground (GND)0VCompletes the circuit
Arduino PowerXRP SERVO2: Power (Center/Red)Pro Micro: RAW5VPowers the Arduino
Motor A DrivePro Micro: Pin 5 & 6L9110S: A-1A & A-1B5V LogicSpeed/Direction A
Motor B DrivePro Micro: Pin 9 & 10L9110S: B-1A & B-1B5V LogicSpeed/Direction B
Motor PowerXRP Battery: Red WireL9110S: VCC6V BatteryHigh Current Supply