Distance Measurement using Ultrasonic Sensor with LCD/I2C
HTML-код
- Опубликовано: 4 окт 2024
- Distance Measurement using Ultrasonic Sensor | Arduino Projects | IOT Projects
Required Components
==================
1. Arduino Uno
2. Ultrasonic Sensor
3. LCD Display
4. I2C Converter
5. Connecting Wires
6. Male to Female Jumper Wires
7. Breadboard
Components Link
===============
1. Arduino Uno - robu.in/produc...
2. Ultrasonic Sensor - robu.in/produc...
3. LCD Display - robu.in/produc...
4. I2C Converter - robu.in/produc...
5. Connecting Wires - robu.in/produc...
6. Breadboard - robu.in/produc...
Software Required
===============
1. Arduino IDE - www.arduino.cc...
2. Programming Language - C Language
Source Code:
github.com/Tec...
Reference Video of Arduino Experiments
======================================
1. Gas Detection Alarm
• Gas Detection Alarm
2. Weather Station Web Server
• Weather Station Web Se...
3. Arduino Calculator
• Arduino Calculator | A...
4. Smart Notice Board
• Smart Notice Board | I...
5. Simple Covid Tracker
• Simple Covid Tracker u...
6. NodeMCU Setup and Blink LED
• NodeMCU Setup and LED ...
7. Ultrasonic Radar
• Ultrasonic Radar using...
8. Fire Detection Alarm
• Fire Detection Alarm |...
9. Soil Moisture Measurement
• Soil Moisture Measurem...
10. Voice Controlled Light
• Voice Controlled Light...
11. Object Detection Alarm
• Object Detection Alarm...
12. Wireless Notice Board Using Arduino
• Wireless Notice Board ...
13. Automatic Visitor Counter
• Automatic Visitor Coun...
14. Rain Alarm System
• Rain Alarm System | Ar...
15. Dancing Light
• Dancing Light | Arduino
16. Control LED using Sound
• Control LED using Soun...
17. Traffic Light Controller
• Traffic Light Controll...
18. How to Control a Bulb using Mobile?
• How to Control a Bulb ...
19. LED Chaser using arduino uno
• LED Chaser using ardui...
20. Distance Measurement Using Ultrasonic Sensor
• How to measure Distanc...
21. How to Display Text in LCD Display using Arduino Uno | English
• How to Display Text in...
Previous Vlogs
============
1. How to Type Tamil/Malayalam in WhatsApp | Native Languages in WhatsApp
• How to Type Tamil/Mala...
2. Gmail Features | Tamil
• Gmail Features | Tamil
3. Gmail Keyboard Shortcuts
• Video
4. SQL Best Practices - Part 1
• SQL Best Practices - P...
5. Cheap and Good Quality Wireless Earphones | boAT Wireless Headset
• Cheap and Good Quality...
6. Popular Brands and their Abbreviations
• Popular Brands and the...
7. Healthy Snacks That Can Help You Lose Weight
• Healthy Snacks That Ca...
8. This is the only way to reduce many illnesses
• This is the only way t...
9. How to monitor your body weight and fat?
• How to monitor your bo...
10. Is Tea or Coffee good for you? | Which is the healthier drink?
• Is Tea or Coffee good ...
Music: www.bensound.com
♥ Facebook: / techtrendsshameer
♥ Instagram: / tech_trends_shameer
You're videos vary helpful to me
Glad to hear that. Thank you.
sir there is nothing showing on the display i also have RG1602A sir it says that there is a problem lcd.begin(); sir what i shoul do please reply please
no matching function for call to 'LiquidCrystal_I2C::begin()'
error
Please try this library
github.com/Tech-Trends-Shameer/Libraries-
@@TechTrendsShameer ok sir thank you
but sir when i applied it now it says
Compilation error: exit status 1
please help again please please
2nd error
c:\Users\XXXXXX\Documents\Arduino\libraries\DHT_sensor_library/DHT_U.h:36:10: fatal error: Adafruit_Sensor.h: No such file or directory
#include
and sir there is nothing showing on lcd screen i even use 12C converter but there are only black blank spaces
now i have got i new error but sir your library worked now it is saying
C:\Users\XXXXXXXXX\Documents\Arduino\measurwithlcd\measurwithlcd.ino:6:10: fatal error: LiquidCrystal_I2C: No such file or directory
#include
^~~~~~~~~~~~~~~~~~~
compilation terminated.
exit status 1
Compilation error: LiquidCrystal_I2C: No such file or directory
Sir there is wrong in liquid cristal ,lcd begin(); .can u help in this please ?
Please use this library and remove the existing one.
github.com/Tech-Trends-Shameer/Libraries/tree/main/LiquidCrystal-I2C
Hello sir, there is nothing wrong with code and also I did all the connection you have made in this video and also I have downloaded the library...But there's nothing showing on the LCD display...It's only has a light and nothing like text or number is showing on the screen...Can you please help me with this...
Can you adjust the potentiometer in the I2C converter and check
Do I need to attach potentiometer in circuit ?? But you haven't in your video ??
@@vaibhavshinde5520 Are you using LCD with I2C converter or LCD alone?
@@TechTrendsShameer i got it sir...But it's only showing d on 1st line and 0 on second line and there is nothing happening when I put an obstacle in front of ultrasonic sensor...It's showing
d....
0....
Like this on display only.
@@vaibhavshinde5520 pls send photo
code doesnt work?
Compilation error: redefinition of 'void setup()'
Make sure you copied the full code.
Its interesting. Can you convert the units in mm or interchangeable both in mm or cm with a press of a switch
and also dir nothing is showing in lcd display i even installed all the libraries including I2c
and sir what is have to write in lcd.begin()
Pls try adjusting the potentiometer in the I2C.
how to get rid of this error(Arduino: 1.8.19 (Windows 10), Board: "Arduino Uno"
sketch_apr30a:4:10: fatal error: LiquidCrystal_I2C.h: No such file or directory
#include
^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
exit status 1
LiquidCrystal_I2C.h: No such file or directory
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
I think you didn't installed the LCD I2C library
If I want to use this type of sensor PCB to check the soldering is done or not if soldering is not properly done so distance found in PCB
hii. can i know why does mine the code can upload succesfully, but the lcd is blank and didnt show anything? the sensor also didnt work
Please adjust the potentiometer. If not the problem might be with the LCD library.
i2c ki library download krdye
Compilation error.
sketch_jun05e.ino:2:31: fatal error: LiquidCrystal_I2C.h: No such file or directory
You need to install that library LiquidCrystal I2C
Sir i have 1 dought... If our lcd module is before using if any interface program is used???
Sorry. I didn't got your question. Can you please explain?
What is the maximum distance can be measured using this.
about an inch to 13 feet
Sir, coding is completed but the display is blank
turn the screw of i2c
thank you so much sir
Most welcome
sir what to do if it is taking long to time to upload the code???
Sir an error no matching fiction called to liquid crystal i2. C
Did you installed all libraries?
@@TechTrendsShameer yes sir i installed i2c library
Please send me the full error message
Thanks sir
Welcome
Yes it works👍👍👍👍
Thank you
The code was done uploading but there's nothing showing in lcd monitor. What to do?
Use this library
github.com/Tech-Trends-Shameer/Libraries/tree/main/LiquidCrystal-I2C
How to use this library?
Extract this zip file, and copy the folder to Documents -> Arduino -> Library.
I did that but still my lack monitor is blank
Might be some other issue. Please double check your circuit connection.
Sir can I make this circuit in my proteus software?
Yes. you can.
Sir if any ultra sonic library needed to run??
Do. Only the i2C library. Please connect me on Facebook. I will send the files. Facebook link given in description.
HI SIR
ITS THROWING ERROR WHILE I INSTALED I2C LIBARARY FILE Compilation error: no matching function for call to 'LiquidCrystal_I2C::begin()'
Hlo bro Naku same problem nuvu emm chesav cheppu 2nd line lo error vastundhe
Naku code kavali
Use this library.
github.com/Tech-Trends-Shameer/Libraries/tree/main/LiquidCrystal-I2C
Use this library.
github.com/Tech-Trends-Shameer/Libraries/tree/main/LiquidCrystal-I2C
@@TechTrendsShameer download avadam ledhu dhene yakkada place cheyalali
Sir code is not working
Send me the error message.
Sir how can I get this circuit diagram and code for my project?
Please check the full video. Circuit is included in the video.
Are you looking for the picture of the circuit?
@@TechTrendsShameer yes I want that circuit diagram
@@sh__in__as please message me in instagram. instagram.com/tech_trends_shameer
code is not working
Amy error ?
Uncle pin mode ki spelling batao
Check program in video description.
Not working
Any error?
Sir please solve the problem
You need to install that library LiquidCrystal I2C
Thank you SO much!
You're welcome!
May I have some ardino code?
Please check the description. Source code provided in description.
It is not available
Please check the link drive.google.com/file/d/1c0F57WZNOoC0F48_sRndkX38d47ktuhz/view?usp=sharing
Code not download sho No preview available
Hello sir
How can I open the code in laptop
That you're given in the PDF form
Sir diagram
Please check full video
Sir, can you please provide a code?
Please check the video description for source code.
But, Sir in description code link is not shows the code..it show's "no preview available"..
There is a download link. Please click on that.
I have also uploaded the code here please check the below link.
github.com/Tech-Trends-Shameer/Arduino-Projects/tree/main/Distance-Measurement-Using-Ultrasonic-Sensor-With-LCD-I2C
Thank you Sir🙏
@@Radha-wv3cj Welcome