Electronics

You'll have to decide on what combination of distance sensor + microcontroller you want to use. I've tried them all, and found the following configurations to work well.

Of all the sensors that I tried, the Parallax Ping))) was the easiest to use with Trinket. All you need is GND, VCC, and 1-pin for measurement.

Snap the sonar into the mount.
The servos wires end in female connectors, which you will need to convert to male.
You can do this two ways, replace them with male ones.
Or pull out the female connectors...
Extract a few pins from standard headers.
Insert the pin into the female receptacle.
And solder in-place.
Sweet.
Here is the circuit diagram to get all the wires in the right place. With the servos, remember that ground is often brown / signal is orange.
Last updated on 2015-05-04 at 04.26.49 PM Published on 2014-01-02 at 01.32.18 PM