HC-SR04 Ultrasonic Sensor Test
By Renpeng Zhang HC-SR04 range test Table of Contents Table Range HC-SR04 was tested Code /* * HC-SR04 testing code * Connect Vcc to 5V * Connect Gnd to Gnd * Connect Trig to pin 9(PWM) * Connect Echo to pin 10(PWM) */ // defines pins numbers const int trigPin=9; const int echoPin=10; … Continue reading HC-SR04 Ultrasonic Sensor Test
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed