Arduino pinout
Digital pins
- D2: Trigger (ultrasonic sensor)
- D3: RGB led (red)
- D4: Echo (ultrasonic sensor)
- D5: RGB led (green)
- D6: RGB led (bue)
- D7: Stepper Motor Command A (1in)
- D8: Stepper Motor Command D (3in)
- D9: Speaker
- D12: Stepper Motor Command B (4in)
- D13: Stepper Motor Command C (2in)
Analog pins
- A0 Potentiometer input (1..1023)
Motor pinout
- Motor A1 (1out) = brown
- Motor A3 (2out) = red
- Motor B3 (3out) = yellow
- Motor B1 (4out) = orange