1.5.8 - Launcher Wiring
Custom Electronics: This step adds an Arduino Pro Micro as a sub-controller so the XRP can drive the high-RPM launcher motors.
What You Will Be Doing
Section titled “What You Will Be Doing”You are adding a small “smart controller” (Arduino Pro Micro) and a motor driver (L9110S) so the launcher motors can spin fast enough to shoot a ping pong ball.
The XRP does not power the launcher motors directly. It only sends a simple command. The Arduino reads that command and tells the motor driver how much power to send to the two high-RPM motors.
Wiring Diagram
Section titled “Wiring Diagram”Use the live wiring diagram below. It shows every connection you need to make.
Open Launcher Wiring Diagram
Master Wiring Table
Section titled “Master Wiring Table”Follow this table exactly.
| Connection Group | From (Component : Pin) | To (Component : Pin) | Logic/Voltage | Purpose |
|---|---|---|---|---|
| Control Signal | XRP SERVO2: Signal (IO17) | Pro Micro: Pin 2 | PWM | Signal from WPILib |
| Common Ground | L9110S: Ground (GND) | XRP SERVO2: Ground (GND) | 0V | Completes the circuit |
| Arduino Power | XRP SERVO2: Power (Center/Red) | Pro Micro: RAW | 5V | Powers the Arduino |
| Motor A Drive | Pro Micro: Pin 5 & 6 | L9110S: A-1A & A-1B | 5V Logic | Speed/Direction A |
| Motor B Drive | Pro Micro: Pin 9 & 10 | L9110S: B-1A & B-1B | 5V Logic | Speed/Direction B |
| Motor Power | XRP Battery: Red Wire | L9110S: VCC | 6V Battery | High Current Supply |
Quick Summary of What Each Part Does
Section titled “Quick Summary of What Each Part Does”- Arduino Pro Micro — Receives the simple “shoot” command from the XRP and turns it into the two signals the motor driver needs.
- L9110S Motor Driver — Acts as a high-current switch. It takes power directly from the battery and only lets it through when the Arduino tells it to.
- High-RPM Motors — Get the power they need to launch the ball (connected through the L9110S).
Once all wires match the table and the wiring diagram, you’re ready to continue.
Answered: 0 / 0 (0%)