HC-SR04 Rangefinder
How to setup a HC-SR04 sensor with the Raspberry Pi. PARTS: RPI 3 – https://amzn.to/2VA9pQY 4 Amp Power Adapter – https://amzn.to/2CTptWu 16GB micro SD – https://amzn.to/2SFMwd3 120 pcs jumper cable: https://ebay.to/2VAb9cY HC-SR04 Sensors – https://amzn.to/2Ryw0hH Resistor Assortment – https://amzn.to/2CV8vHa HC-SR04 Brackets (optional) – https://amzn.to/2C6iwzY SCHEMATIC: CODE: import RPi.GPIO as GPIO import time GPIO.setwarnings(False) def ping(): """Get reading from HC-SR04""" … Read moreHC-SR04 Rangefinder