Hackster is hosting Hackster Holidays, Ep. 6: Livestream & Giveaway Drawing. Watch previous episodes or stream live on Monday!Stream Hackster Holidays, Ep. 6 on Monday!
BluPants
Published © CC BY-NC-ND

Distance Sensor for BeagleBone Blue

Use an ultrasonic module HC-SR04 distance measuring ranging sensor on your BeagleBone Blue.

BeginnerProtip30 minutes4,800
Distance Sensor for BeagleBone Blue

Things used in this project

Hardware components

BeagleBone Blue
BeagleBoard.org BeagleBone Blue
×1
eduMIP
Renaissance Robotics eduMIP
Optional
×1
Ultrasonic Sensor - HC-SR04 (Generic)
Ultrasonic Sensor - HC-SR04 (Generic)
×1
JST Jumper Bundle for the BeagleBone Blue
Renaissance Robotics JST Jumper Bundle for the BeagleBone Blue
×1
Seeed Studio Grove Universal 4 Pin to BeagleBone® Blue 4 Pin Female JST/SH Conversion Cable (10 pcs pack)
×1
Through Hole Resistor, 1.2 kohm
Through Hole Resistor, 1.2 kohm
×1
Jumper wires (generic)
Jumper wires (generic)
×1
Breadboard (generic)
Breadboard (generic)
×1
Mounting Servo Bracket For Ultrasonic Ranging Module Analog Servo
Optional
×1

Software apps and online services

BluPants

Story

Read more

Schematics

BeagleBone Black with HC-SR04

Use this a reference for setting up HC-SR04 on BeagleBone Blue

Beagle Bone Blue with HC-SR04

Unfortunately, I could not find the BeagleBone Blue board on Fritzing.

BeagleBone Blue with HC-SR04

Code

BluPants ROS

For this tutorial refer to module src/python/hcsr04.py for some sample code

Credits

BluPants

BluPants

16 projects • 7 followers
Robot4(Humans); BluPants goal is to make robotics and programming accessible to everyone.

Comments