
RoboPi v1.00
User Manual v0.85
Copyright 2014 William Henning
How to Read Digital Ultrasonic Range Sensors
The RoboPi firmware implements preliminary support ultrasonic range sensors.
All supported ultrasonic distance sensors will use a generic interface
RoboPiLib:
int
readDistance(int ch)
RoboPiObj:
readDistance(ch) will return the distance to the nearest object in millimeters.
Supported Ultrasonic Sensors:
HC-SR04
tested, working
PARALLAX_PING
not tested, should function
SEEDSTUDIO_136B
not tested
How to connect your ultrasonic range sensor:
HC-SR04 pin
RoboPi Pin
(use any of 24 servo three pin headers)
Vcc
Servo header red wire (any of 24 servo three pin headers)
Trig
10 pin female header corresponding to selected pin
Echo
Servo header white wire
GND
Servo header black wire
Ping pin
RoboPi Pin
(use any of 24 servo three pin headers)
5V
Servo header red wire
SIG
Servo header white wire
GND
Servo header black wire
Seeedstudio 136B pin
RoboPi Pin
(use any of 24 servo three pin headers)
5V
Servo header red wire
SIG
Servo header white wire
GND
Servo header black wire
http://Mikronauts.com
27
2014-01-27