STEMMA Speaker
- Speaker GND to MatrixPortal M4 GND
- Speaker Power to MatrixPortal M4 Power
- Speaker SIG to MatrixPortal M4 A0
IR Breakbeam Sensor
- Receiver black wire to MatrixPortal M4 GND
- Receiver red wire to MatrixPortal M4 3V
- Receiver yellow wire to MatrixPortal M4 A1
- Transmitter black wire to MatrixPortal M4 GND
- Transmitter red wire to MatrixPortal M4 3V
Servo
- Servo black wire to MatrixPortal M4 GND
- Servo red wire to MatrixPortal M4 5V
- Servo yellow wire to MatrixPortal M4 A4