WGLabz
Published © Apache-2.0

Measure Distance using Ultrasonic Sensor | Pi4J | JAVA | Pi

Measure distance using a HC-SR04 ultrasonic sensor by using the Pi, JAVA and Pi4J Library.

IntermediateProtip2 hours4,234
Measure Distance using Ultrasonic Sensor | Pi4J | JAVA | Pi

Things used in this project

Hardware components

Raspberry Pi 2 Model B
Raspberry Pi 2 Model B
×1
Ultrasonic Sensor - HC-SR04 (Generic)
Ultrasonic Sensor - HC-SR04 (Generic)
×1

Story

Read more

Schematics

Pi4J GPIO Numbering

Github file

Code

Github

Credits

WGLabz

WGLabz

20 projects • 21 followers
Blogger/ Tinkerer and Smart Home Enthusiast. I have always loved to play around technology includeing Embedded System to server programming.

Comments