Eklablog
Editer l'article Suivre ce blog Administration + Créer mon blog

We Have A Great Projects And Better To Come , Please Give Us A Check Arduino Projects collection, easy to follow tutorials. Ideas for your next arduino projects. All projects included diagram, schematic, source code

arduino distance measuring ultrasonic sensor Displayed on 4 Digit 7 segment

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 Sensor
Code for 4 Digit 7 segment (common anode)

Download

Code for 4 Digit 7 segment (common cathode)

Download

Retour à l'accueil
Partager cet article
Repost0
Pour être informé des derniers articles, inscrivez vous :
Commenter cet article