Ultrasonic Sensor HC SR04 with LCD Display (distance finder) #3 LCD





Ultrasonic Sensor HC SR04 with  LCD Display (distance finder)  #3 LCD



HcSr04 :)

     

         VCC      = Arduino 5V

         GND     =  Arduino GND

        ECHO    =  Digital 10 Pin

        TRIG      = DIgital 9 Pin

Requiring Materials :)

   

     1 Arduino

     2 LCD Display

     3 Male to Male Jumper Wires

     4 Bread Board

     5 HCSr04

Before wiring the LCD screen to your Arduino or Genuino board we suggest to solder a pin header strip to the 14 (or 16) pin count connector of the LCD screen.
To wire your LCD screen to your board, connect the following pins:

LCD VSS pin to Arduino GND
LCD VDD pin to Arduino 5V
LCD VO pin to 10k Potentiometer center pin
LCD RS pin to digital pin 12
LCD RW pin to Arduino GND
LCD Enable pin to digital pin 11
LCD D4 pin to digital pin 5
LCD D5 pin to digital pin 4
LCD D6 pin to digital pin 3
LCD D7 pin to digital pin 2
The 10k Potentiometer's other legs connect to +5V and GND
For the backlight of the display, pin 15 (A+) and 16 (K-) of the LCD connect to +5V and GND
If you want, can be use a 220 ohm resistor to power the backlight of the display.


Previous Video ;)

       

                    LCD#2



Circuit Diagram :)
 
       
Arduino Code :)
         
               HCSr04  

New Ping Libeary :)\
 
            NewPing

Product Link :D

          HCSr04
          LCD Module
          Arduino



Comments

Popular posts from this blog

How to make a radar using Arduino and Processing IDE

Smart gesture robot