Arduino – HC-SR04 Distance Sensor
Controlling the HC-SR04 ultrasonic distance sensor with the Arduino UNO. Basic circuit setup (I later changed the pins from 0/1 to 2/3 because the ISP is still connected to 0/1). Test program Here's a small test program. It filters out values that are too small and too large, and allows for averaging over a defined interval. SR04Test.ino Here could…
Continue reading "Arduino – HC-SR04 Entfernungsmesser"