Ultrasonic Sensor Sweeper with Servo and Arduino Code

This guide uses the HC-SR04 Ultrasonic Distance Measuring Sensor mounted on a 9g type servo motor. The guide also features the servo and sensor bracket kit that is available to buy. Also, I include the Arduino code that will demonstrate the sensor sweep functionality. To follow this guide you can use any servo and sensor bracket you have to make use of the Arduino code below.

Continue reading “Ultrasonic Sensor Sweeper with Servo and Arduino Code”

Ultrasonic HC-SR04 Sensor Python Library for Raspberry Pi GPIO

This guide takes you through the steps to install and set up the new HC-SR04 distance measuring sensor Python Library. First, we connect the ultrasonic module to the Raspberry Pi GPIO pins. Then, we use pip to install the Python module. Followed by, a walkthrough of the ultrasonic Python module features. Continue reading “Ultrasonic HC-SR04 Sensor Python Library for Raspberry Pi GPIO”