• ultrasonic sensor arduino distance measuring

    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

    Code for 4 Digit 7 segment (common anode)

    Download

    Code for 4 Digit 7 segment (common cathode)

    Download

    « DHT11 Humidity and Temperature Sensor Displayed on 4 Digit 7 segment12V 30W DIY TDA2030A Dual Track Power Amplifier Board Kit »
    Partager via Gmail Delicious Technorati Yahoo! Google Bookmarks Blogmarks Pin It

  • Commentaires

    Aucun commentaire pour le moment

    Suivre le flux RSS des commentaires


    Ajouter un commentaire

    Nom / Pseudo :

    E-mail (facultatif) :

    Site Web (facultatif) :

    Commentaire :