The PiRoCon from 4tronix is a robot vehicle controller board with direct support for 2 bi-directional motors, 2 servos, an Ultrasonic Module and 8 input/outputs that can handle 5V and 3.3V devices so its very useful for just plug and play robotics 🙂
As well as the above, you can plug an additional expansion module – the Adafruit 16 channel PWM/Servo Board into it and control those outputs as well.
The script on the left shows the variables that it responds to
Tilt can be from -70 to 80, Pan from -90 to 90, MotorA/B from -100 to 100.
Setting Tilt or Pan to off is available to help extend battery running time and the servos will just stay in there last position.
The Ulrasonic support input is exactly the same as previously documented except no need to wire any resistors as the PiRoCon board does that for you 🙂
If you plug in the Adafruit board, then the pins can be reffered to as Servo1 to Servo16 or Power1 to Power16 if just needing normal PWM outputs for driving motors(thru extra buffer electronics) or direcly varying LED brightness