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 Raspberry Pi robot

Use an ultrasonic module HC-SR04 distance measuring ranging sensor on your Raspberry Pi robot.

BeginnerFull instructions provided30 minutes1,958
Distance Sensor for Raspberry Pi robot

Things used in this project

Hardware components

Ultrasonic Sensor - HC-SR04 (Generic)
Ultrasonic Sensor - HC-SR04 (Generic)
×1
Through Hole Resistor, 1.2 kohm
Through Hole Resistor, 1.2 kohm
×1
Male/Female Jumper Wires
Male/Female Jumper Wires
×1
Female/Female Jumper Wires
Female/Female Jumper Wires
×1
ESD Tape, Masking
ESD Tape, Masking
Optional: you may fix the HC-SR04 board to your chassis using something else
×1
HC-SR04 Ranging Sensor Acrylic Fixed Bracket
Optional: you may fix the HC-SR04 board to your chassis using something else
×1
Mounting Servo Bracket For Ultrasonic Ranging Module Analog Servo
Optional: you may fix the HC-SR04 board to your chassis using something else.
×1
BluPants MVP robot
This tutorial assumes you have a base (MVP) robot already.
×1

Software apps and online services

BluPants IDE

Story

Read more

Schematics

Raspberry Pi HCSR04 robot

Raspberry Pi HCSR04 robot - Fritzing

Code

BluPants

Credits

BluPants

BluPants

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

Comments