Ultrasound sensors on Diddyborg
Forums:
Hi,
I stumbled upon this tweet which shows a Diddyborg with ultrasound sensors. Is there by any chance any documentation on how to build this setup?
https://twitter.com/pi_borg/status/577802898026950656
Cheers,
R.
piborg
Fri, 04/08/2016 - 16:59
Permalink
Ultrasound sensors on Diddyborg
There is not any proper documentation, but the changes are fairly simple.
Basically there is one ultrasonic mount per corner: https://www.piborg.org/accessories/usm_mount
Plus an UltraBorg to read the sensors: https://www.piborg.org/ultraborg
The two 3-pin cables are connected so that the PicoBorg Reverse and UltraBorg are daisy-chained together.
There is a simple example script here which uses the distances to control movement: https://www.piborg.org/node/1853