-
Par fadwaa le 14 Août 2018 à 02:06
ultrasonic sensor arduino distance measuring Displayed on 4 Digit 7 segment
In this Arduino Tutorial we will learn how the HC-SR04 Ultrasonic Sensor works and how to use it with the Arduino Board. You can watch the following video or read the written tutorial below.The HC-SR04 Ultrasonic Module has 4 pins, Ground, VCC, Trig and Echo. The Ground and the VCC pins of the module needs to be connected to the Ground and the 5 volts pins on the Arduino Board respectively and the trig and echo pins to any Digital I/O pin on the Arduino Board.
- VCC - 5V
- GND - GND
- Echo - A0
- Trig - A1
Schema
download
Geekcreit® ATmega328P Nano V3 Controller Board Compatible Arduino Improved Version
Ultrasonic Module HC-SR04 Distance Measuring Ranging Transducer SensorCode for 4 Digit 7 segment (common anode)
Code for 4 Digit 7 segment (common cathode)
votre commentaire
Suivre le flux RSS des articles de cette rubrique
Suivre le flux RSS des commentaires de cette rubrique