Display distance from Ultrasonic sensor as bargraph on LCD1602 LCD2004 using Arduino

Поделиться
HTML-код
  • Опубликовано: 6 июл 2024
  • Learn how to display easily measured distance from HC-SR04 as bargraph on LCd1602 and LCD2004 display
    Required videos (must watch and install library):
    1-Using Ultrasonic sensor • HC-SR04 Ultrasonic obs...
    2-Using LCD with Arduino: • How to use LCD LCD160...
    The best thank you for me is to not to skip ads and Subscribe 🔔 to my channel, like 👍 the video It is greatly appreciated. 🔔 😊.
    I will reply to all Subscriber's 🔔 questions. So make sure to Subscribe and enable the bell 🔔.😊
    Download library and code for LCD Bargraph: robojax.com/L/?id=56
    ***** Purchase Authentic Arduino Uno from ***
    Amazon USA: amzn.to/2KApAwK
    Amazon Canada: amzn.to/37LZ8sW
    ******Purchase this LCD1602 I2C from:*****
    Amazon USA: amzn.to/3rBaFTw
    Amazon Europe (all countries): amzn.to/38ryLsk
    Amazon Canada: amzn.to/2N3B8tM
    Banggood: www.banggood.com/custlink/GKD...
    AliExpress: s.click.aliexpress.com/e/_AnNea4
    ***Purchase Ultrasonic sensor **
    From Amazon Canada: amzn.to/3ndCWMT
    from Amazon USA: amzn.to/3pPvM3a
    Jump to different chapters of video:
    00:00 Start
    00:21 Introduction
    01:24 Wiring Explained
    03:08 Code explained
    11:25 Demonstration
    Tutorial by Ahmad Shamshiri form Canada
    ****************************
    Arduino Step by Step Course (over 150 lectures) Starts here • Lesson 00 What is Ardu...
    ****************************
    If you found this tutorial helpful, please support me so I can continue creating contents like this. Here is PayPal link paypal.me/robojaxTV
    Follow me on Facebook robojaxTV
    Follow me on Twitter: / robojaxtv
    Follow me on Instagram: / robojax
    Tutorial by Robojax.com
    Get other projects code and learn Arduino
    robojax.com/learn/arduino
    *** AFFILIATE PROGRAM ***
    We are a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for us to earn fees by linking to Amazon.com and affiliated sites.
    #robojax #robojax_bargraph #robojaxArduinoCourse
  • НаукаНаука

Комментарии • 177

  • @dismalfist
    @dismalfist 2 года назад +2

    Another perfect, clear and detailed tutorial. These videos really are in the upper echelon of Arduino tutorials thank you for the time taken and depth of your videos. Liked and subbed. :)

    • @robojax
      @robojax  2 года назад +1

      Many thanks!

  • @rwl7532
    @rwl7532 5 лет назад +1

    Nice reminder that UNO R3 has extra SDA/SCL. Side note: I standardize what colors I use. SDA is always Yellow, SCL is always Orange. Ground Green, Power Red. RX Blue TX White. Helps when looking at wires the next day. This subscriber likes your vids.

  • @ajaykalsi6007
    @ajaykalsi6007 4 года назад +3

    You make the best videos and thanks for the hard work you put in them

    • @robojax
      @robojax  4 года назад

      You are welcome.

  • @TheCj71984
    @TheCj71984 Год назад

    Thanks for the great video

  • @brilliantacademy5227
    @brilliantacademy5227 4 месяца назад

    niceexplanation

  • @abeditani8293
    @abeditani8293 5 лет назад

    your the best. you make it easy . the code is upper video and the real test work in down the video

    • @robojax
      @robojax  5 лет назад

      Thank you. I am glad you find it useful.

  • @riccardomonari1407
    @riccardomonari1407 4 года назад +1

    Thank you so much for your video!

    • @robojax
      @robojax  4 года назад +1

      You are welcome. Thank you for not skipping the ads and keep watching them. This will help me a lot.

    • @finnleymicah1040
      @finnleymicah1040 3 года назад

      i realize Im kinda off topic but do anyone know a good site to stream newly released movies online?

    • @jacobchristopher5502
      @jacobchristopher5502 3 года назад

      @Finnley Micah I would suggest FlixZone. You can find it by googling =)

  • @yassinahmedmohamednoureldi8038
    @yassinahmedmohamednoureldi8038 5 месяцев назад +1

    can anybody please send the link to all the libraries included in this video i only have robojaxlcdbargraph.h which was in the description as zip file please someone help

  • @abeditani8293
    @abeditani8293 5 лет назад

    is there a way to put a 2 relay that when it comes to zero distance the 1rst relay turn on and when it goes to max distance the second relay turn on?

    • @robojax
      @robojax  5 лет назад

      Watch this video to see how to control 2 channel relay ruclips.net/video/EclIomn_3dI/видео.html then yes it is very simple if (distance >20cm){ digitalWrite(8,HIGH);// turn relay 2 ON
      } else{
      digitalWrite(7,HIGH);// turn relay 1 ON
      }
      I assume "distance" is very able holding the distance in "cm" or "in" but in the ultrasonic it is different variable. watch the video.

  • @kusumainc2349
    @kusumainc2349 4 года назад +1

    Nice video and explanation, how we can reverse the bar graph movement? I mean when the object is near, the bar graph is rises thanks

    • @robojax
      @robojax  4 года назад +2

      Thank you. to shown the values in revers, just above this line rjx.clearLine(1); we need to change the distance value for example if you are using the "cm" value then add this line using map function which I have explained in many videos of mine
      distanceCM = map(distanceCM, 0, MAX_DISTANCE, MAX_DISTANCE, 0);
      now the distance when it is at MAX, will be converted to 0 (zero) and then zero, converted to MAX value. I have not tested it but it should work.
      Here is map function if you need to see it www.arduino.cc/reference/en/language/functions/math/map/

  • @shaheryarsiddiqui3352
    @shaheryarsiddiqui3352 3 года назад +1

    Hello Sir can you tell me how to reverse the order of it.
    Like if we have max distance then bar graph is at 0 or 1st column and if we have min distance then full graph is showing ?

    • @robojax
      @robojax  3 года назад

      it needs some work to make it like that. I tried to do it, it needed longer time so I gave up. May be some one can make it for both direction.

  • @604smit
    @604smit 5 лет назад +1

    very well explained, thank again, do you think it will also work with VL53L0X time of flight laser module or is there conflict in adress?

    • @robojax
      @robojax  5 лет назад +1

      You are welcome. The video on VL53L0X is coming soon. I would have to see.

    • @604smit
      @604smit 5 лет назад +2

      @@robojax that would be very nice to see that in a code ; they are very small, have a reasonable distance measure,I2C bus and could possible also be used for avoiding objects.
      Really like your channel!

    • @robojax
      @robojax  5 лет назад +1

      Thank you very much Leo.
      I have written the code and tested and it is ready to be recorded. In a few days I will post record and post it.
      for avoiding objects, that needs multiple projects into one and I have it on my list but don't know when it will be realized. I am very busy with family life and full time job.

    • @604smit
      @604smit 5 лет назад

      @@robojax thanks again, but there is no hurry ! Just take your time and we'll see what you heve produced, it is allways interesting for Arduino fans!

  • @vcontroller8051
    @vcontroller8051 4 года назад

    Sir I am using 20x4 LCD display .and I want to show two bargraphs on same LCD display with two ultrasonic sensors data output....How to do this ???please help me on this..

    • @robojax
      @robojax  4 года назад

      I have explained every line how it works and if you watch it carefully you will know to make 2 or more bargraph. Watch it 2, 3 or 4 times until you understand it.

  • @vcontroller8051
    @vcontroller8051 4 года назад

    Error compiling for board Arduino UNO.how to fix it??? After installing libraries mentioned in your robojax page ....

    • @robojax
      @robojax  4 года назад

      please provide the error. It seems you have skipped the video. Please follow the instruction . This will not work for you without watching 2 videos. 1-Video for LCD and installing library 2-Watching ultrasonic sensor and then 3- You have to download the library for bargraph. So proceed and I can assure you it will work. Thank you for not skipping the ads and keep watching them. This will help me a lot and good luck.

  • @aminbakhtiary9021
    @aminbakhtiary9021 3 года назад

    I can't get the baragraph library from your Website, I get a ERROR and the orginal one doesn't work.

    • @robojax
      @robojax  3 года назад

      Thank you for letting me know. In order to organize files, the renaming cause it not be found. I just fixed it.

  • @UFUNUOCHANNEL
    @UFUNUOCHANNEL 4 года назад +1

    hellow sir it gives me "NewPing.h: No such file or directory" when compiling the codes can you help me?

    • @robojax
      @robojax  4 года назад +1

      it means that you don''t have the library. You should watch the main Ultrasonic video and get the library. The link is in the description.

    • @UFUNUOCHANNEL
      @UFUNUOCHANNEL 4 года назад

      @@robojax thanks 🙏 much

    • @robojax
      @robojax  4 года назад

      You are welcome.

  • @wesameed824
    @wesameed824 5 лет назад +1

    Can we do this project with lcd without i2c I mean connect all the wires of lcd

    • @robojax
      @robojax  5 лет назад +1

      Sorry no. the library is made for LCD with I2C. the LCD without I2c is very missy. If you have choice, please avoid it.

  • @rtcbuilderdjl9702
    @rtcbuilderdjl9702 4 года назад

    what does (no matching function for call to 'LiquidCrystal_I2C::begin()'
    mean

    • @robojax
      @robojax  4 года назад

      it means you've skipped the video and did not follow the instruction. Please watch it without skipping. You have not installed the library. This video requires you to watch two other video before continuing with this.

    • @ismaii5186
      @ismaii5186 4 года назад

      @@robojax Hi, im getting this same error even though I have added the liquid crystal library? what shall I do! please help

    • @rogeriocosta2493
      @rogeriocosta2493 3 года назад

      change to lcd.begin(16,2);

  • @rossiachatamerlin6903
    @rossiachatamerlin6903 3 года назад

    Hi, thank you for your video, when i want to download library from description it says site was not found

    • @robojax
      @robojax  3 года назад

      Hi, Recently Chrome has added some feature that makes it behave like that. please use firefox or microsoft edge. it will work fine.

    • @rossiachatamerlin6903
      @rossiachatamerlin6903 3 года назад

      @@robojax I tested with microsoft edge and firefox and it still doesn't work, Could you check the link please

    • @pescetv8371
      @pescetv8371 2 года назад

      @@rossiachatamerlin6903 I don’t think he did

  • @raffaelebarlotti9017
    @raffaelebarlotti9017 Год назад +1

    Hi, I'm interested in your project but it gives me an error on line 71 ( rjx.clearLine(1);// clear line 1 to display fresh voltage value ) it says " 'rjx' was not declared in this scope" how can I fix it ? Thank you.

    • @robojax
      @robojax  Год назад

      Install the library

    • @raffaelebarlotti9017
      @raffaelebarlotti9017 Год назад

      @@robojax
      Ok, I installed the libraries but the error remains! Could it be that the libraries are not the right ones can you send me the links of all the libraries to install? Thank you.

    • @indrajitlavate8703
      @indrajitlavate8703 Год назад

      @@robojax can you send me the particular rjx.clear error library please ?

    • @pes_parsa
      @pes_parsa Год назад

      ​@@raffaelebarlotti9017‏‪6:06‬‏

  • @mfoe6552
    @mfoe6552 3 года назад

    hi! I am still getting the error of rjx was not declared in this scope and I have watched all the videos but could'nt find a solution to it!! Please help!!

    • @robojax
      @robojax  3 года назад

      Hi, it means you did not watch the video fully. I have said it.

    • @mfoe6552
      @mfoe6552 3 года назад +1

      @@robojax i think ur code has been changed because rjx was not declared and another term was declared which is 1bg and with this my problem was solved

  • @flavioc.422
    @flavioc.422 2 года назад

    hello, I can't find the BarGraphUltrasonic file in the LcdBarGraph
    There is only Analogread and MoreGraphs

  • @aminbakhtiary9021
    @aminbakhtiary9021 3 года назад

    I get this ERROR with the original library: no matching function for call to 'LcdBarGraph::LcdBarGraph(LiquidCrystal_I2C*, int, int, int)'

    • @robojax
      @robojax  3 года назад

      install library.

  • @pes_parsa
    @pes_parsa Год назад

    Hello, I have uploaded your programs , but due to the draw value not Bing red there was a problem. Can you send the library?

    • @robojax
      @robojax  Год назад

      The library is available via the link. Just download and install it. I hope followed the instruction. It won’t work if you skip

  • @ismaii5186
    @ismaii5186 4 года назад

    Hi, I have added the LCD bar graph robojax file in the Arduino software but when I go onto examples it don't have the ultrasonic section there! Why is this? Can someone please help! URGENT

    • @robojax
      @robojax  4 года назад +1

      Hi, you have not added then. i just watch the video making sure I have explained it and indeed I did. So you must have skipped the video. Please watch again. you need to download two libraries.

    • @ismaii5186
      @ismaii5186 4 года назад

      @@robojax I downloaded both the library's, and inserted them as a zip file however The only examples that the robotjax file shows is: the bar graph and i2c scanner!! Im sorry for the annoyance, but please help me

    • @ismaii5186
      @ismaii5186 4 года назад

      Even when I look into the zip folder that I have downloaded, there are only two examples in them! please help.

  • @starrr42
    @starrr42 3 года назад

    Why does mine say rjx was not declared, I downloaded all the needed libraries

    • @robojax
      @robojax  3 года назад

      watch 2 videos 1-Introdution to LCD, 2-introduction to ultrasonic sensor. the link is in the description. then use this library. so you need LCd160-2 library and barograph library. My videos are different, I never leave details. you must watch it without skipping. Today I was in good mode and replied. usually when people ask question about something that has already been answered in the video I say only "please watch without skipping".

  • @ismaii5186
    @ismaii5186 4 года назад

    Can you please help me this is very important! It would be much appreciated to know why I have the error of 'LiquidCrystal_I2C::begin()' even though I have inserted both of the zip files. Why is this?

    • @robojax
      @robojax  4 года назад

      what error? please post the error from Arduino here.

    • @ismaii5186
      @ismaii5186 4 года назад

      @@robojax im so sorry to attack you comments section but iv managed to sort it! Thanks anyways!

    • @rogeriocosta2493
      @rogeriocosta2493 3 года назад

      change to lcd.begin(16,2);

  • @miadudasova5430
    @miadudasova5430 3 года назад +1

    When i want to open code from description it says site was not found

    • @robojax
      @robojax  3 года назад +2

      Thank you for letting me know. I just fixed it and it should work now.

  • @user-vy4qg3xj9d
    @user-vy4qg3xj9d 3 года назад

    May I know how to make this? I mean which wire connect to which wire

    • @robojax
      @robojax  3 года назад

      Jump to different chapters of video:
      00:00 Start
      00:21 Introduction
      01:24 Wiring Explained

  • @ramilabbas7219
    @ramilabbas7219 3 года назад

    Can u pls tell why I do not have robojax-ultrasonic example?

    • @robojax
      @robojax  3 года назад

      Hi, I have explained it in the video. Exactly the question you are asking . please watch and I can assure you, you will get the answer.

    • @ramilabbas7219
      @ramilabbas7219 3 года назад

      Robojax I have downloaded the library and it shows all examples except the ultrasonic one

    • @robojax
      @robojax  3 года назад

      the code is on the page where you download the library. on this page robojax.com/learn/arduino/?vid=robojax-LCD-bargraph-Ultrasonic

    • @ramilabbas7219
      @ramilabbas7219 3 года назад +1

      Robojax there is no problem with the code. The problem is with the library. It does not contain the example of ultrasonic sensor. It only has example of more bar graph. The ultrasonic example was not available so I used the more bar graph example but it had an error of there is nothing as “new ping.h”

  • @shinypotato7204
    @shinypotato7204 4 года назад

    error: 'rjx' was not declared in this scope
    what should i do sir?:(

    • @robojax
      @robojax  4 года назад

      you should install the library. Follow the instruction. Watch it again without skipping.

    • @Gamestorm-rk5vv
      @Gamestorm-rk5vv 3 года назад

      What did you do for it?

  • @jamesscannerdigaum1365
    @jamesscannerdigaum1365 4 года назад

    I have problems related to rjx.. its says 'rjx' was not declared in this scope

    • @jamesscannerdigaum1365
      @jamesscannerdigaum1365 4 года назад

      I already downloaded the two library but still got the error

    • @robojax
      @robojax  4 года назад

      I have mentioned in the video that you need to watch 2 videos before coming to this 1-Watch the ultrasonic sensor video and make sure it works 2-Watch LCD1602 video make sure you can see a simple text on the screen then come to this video. The link for those videos are in the page as the the code. Good luck

    • @m.m.amusni9899
      @m.m.amusni9899 4 года назад +1

      @@robojax If somebody ask a question you should answer it. Rather than saying go and watch my other videos.

    • @m.m.amusni9899
      @m.m.amusni9899 4 года назад +3

      he purposely made the variable different in the code. Cheap work for getting views. Change LcdBarGraphRobojax lbg(&lcd, 16, 0, 0); into LcdBarGraphRobojax rjx(&lcd, 16, 0, 0);

    • @shaheryarsiddiqui3352
      @shaheryarsiddiqui3352 3 года назад

      @@m.m.amusni9899
      Thanks bro

  • @sashidharanp.m.sreeadharan9129
    @sashidharanp.m.sreeadharan9129 4 года назад

    Subscribed.

    • @robojax
      @robojax  4 года назад +1

      Thank you.

  • @yuben6727
    @yuben6727 3 года назад

    @robojax how much cost u for this project?
    I want to do like this

    • @robojax
      @robojax  3 года назад

      Hello, the link to the LCD and sensor is in the description.

    • @yuben6727
      @yuben6727 3 года назад

      @@robojax thanks 👍🏼

  • @trmusa3434
    @trmusa3434 5 лет назад

    Good

    • @robojax
      @robojax  5 лет назад

      Good to hear good.

  • @erboy5546
    @erboy5546 5 лет назад

    Hello.
    Very good channel. I have been monitoring your channel for some time and I must say that you are doing a very good job. And I also have one question. This bargraph is horizontal, but it is possible to create a similar library for vertical bargraph. Thank you for everything and I wish you success in your work.

    • @robojax
      @robojax  5 лет назад

      You are welcome. I appreciate spreading the word about my channel. This LCD is horizontal. Vertically you will have two character. So simply rotate it and it is done. Isn't it?

  •  4 года назад +1

    lcd.begin wont work for 0x27

    • @robojax
      @robojax  4 года назад

      I have explained that you have to watch the main video where I have explained everything. Watch it here ruclips.net/video/q9YC_GVHy5A/видео.html

  • @siiddss
    @siiddss Год назад

    It says
    Error: Request installZip failed with message: 13 INTERNAL: Library install failed: archive is not valid: multiple files found in zip file top level
    how do I fix?

    • @robojax
      @robojax  Год назад

      download it gain. something is not right.

  • @sisekelocele303
    @sisekelocele303 Год назад

    Thank you so much.

  • @gamingsquad3206
    @gamingsquad3206 2 года назад

    Everything is working fine for 10 min and suddenly my ultrasonic sensor stopped updating lcd display and it kept saying 0 cm I thought it was a hardware failure so I brought a new sensor and still not fixed but after sometime I it got updated and stopped updating do you have any idea what is happening ?

    • @robojax
      @robojax  2 года назад

      It is the wiring. Or check is there is serial.print which print in serial monitor, comment them all like this // so they don’t print.

    • @gamingsquad3206
      @gamingsquad3206 2 года назад

      I don't understand I paused every single moment of your video and checked everything that you have is there in my code or not and it's all correct and still I get the error

    • @gamingsquad3206
      @gamingsquad3206 2 года назад

      @Robojax See the upper reply

  • @DexBerry
    @DexBerry 4 года назад

    i did everything in the video. but im getting rjx was not declared in this scope message
    help please

    • @robojax
      @robojax  4 года назад

      Hi, you've skipped the video. Please watch again and I can assure it will work.

    • @DexBerry
      @DexBerry 4 года назад

      @@robojax this video

    • @DexBerry
      @DexBerry 4 года назад

      @@robojax can you list all of the libraries?

    • @robojax
      @robojax  4 года назад

      yes. I have said very important things. This video needs you to watch two more videos.

    • @robojax
      @robojax  4 года назад

      again it shown you did not watch the video. do I have to type everything that I said in the video? here is what I said "you can get the code for this by clicking on the link in the description which will take you to Robojax.com slash learn slash arduino" I just check the description of this video and indeed it is listed like this "Download library and code for LC:......"

  • @akmaljai1749
    @akmaljai1749 2 года назад

    can i use arduino nano?

    • @robojax
      @robojax  2 года назад +1

      Yes you can. Just make sure you supply 5V to the modules

    • @akmaljai1749
      @akmaljai1749 2 года назад

      @@robojax can u make another video using flowrate sensor?

  • @akilawedagedara4431
    @akilawedagedara4431 5 лет назад

    can't create custom characters on your programme

    • @robojax
      @robojax  5 лет назад

      This video requires you to watch the main video for the LCD. Watch that and it should work.

  • @andreaskatsambas5196
    @andreaskatsambas5196 Год назад

    mine says rjx was not declared in this scope

  • @yassinahmedmohamednoureldi8038
    @yassinahmedmohamednoureldi8038 5 месяцев назад

    can someone send the Lcdbar graph - ultrasonic example

  • @aravindeswar4089
    @aravindeswar4089 3 года назад

    Can we do this without i2c ?

    • @robojax
      @robojax  3 года назад +1

      yes you can if you re-write the code.

    • @aravindeswar4089
      @aravindeswar4089 3 года назад

      @@robojax thanks for the reply I’m not programmer please can you give me some hints?

    • @robojax
      @robojax  3 года назад

      You need to know programming

    • @aravindeswar4089
      @aravindeswar4089 3 года назад

      @@robojax 🙏

    • @aravindeswar4089
      @aravindeswar4089 3 года назад

      @@robojax somehow I’ve done it but can you please tell me the opposite code for
      rjx.drawValue( distanceCM, MAX_DISTANCE);
      this line , because for water tank level we need to subtract distance between sensor to water surface from total tank depth to find water level. Thanks in advance..

  • @daanenmudalli8130
    @daanenmudalli8130 4 года назад

    help me i cant find the diagram

    • @robojax
      @robojax  4 года назад

      the wiring diagram is available for all my videos as part of my Arduino course at Udemy.com robojax.com/L/?id=153

  • @toxicscope8703
    @toxicscope8703 3 года назад

    it doesn't work it says exit status 1
    LiquidCrystal_I2C.h: No such file or directory plzz respond

    • @robojax
      @robojax  3 года назад

      It has worked for 1000s of people. it says you did not watch the video fully and skipped. Please watch carefully and I can assure you it will work.

    • @aniketroy1745
      @aniketroy1745 3 года назад

      @@robojax Sir, tried many times it doesn't worked

  • @kushagraarora6412
    @kushagraarora6412 Год назад

    can you please share the circuit

    • @robojax
      @robojax  Год назад

      what do you mean the circuit? if you mean the wiring diagram, I have explained it fully. But I hope you have watched the video where I explained that 1-Watch introduction to Ultrasonic sensor ruclips.net/video/CpCLa60WNXY/видео.html and make sure you can read the distance on serial monitor. 2-Watch introduction to LCD Display ruclips.net/video/pxUjEsJQW2M/видео.html and then come this. you don't need anything except the code

    • @kushagraarora6412
      @kushagraarora6412 Год назад +1

      @@robojax Thanks :-)

  • @yassinahmedmohamednoureldi8038
    @yassinahmedmohamednoureldi8038 5 месяцев назад

    when i upload the zip file it says:
    ERROR 13 : Library install failed : multiple files found in zip file top level

  • @aayushsen2589
    @aayushsen2589 4 года назад

    Connection or script are Correct but doesn't work on uno

    • @robojax
      @robojax  4 года назад

      I mentioned in the video that 1) you have to watch and test the LCD without anything else and make sure you can display a text on the screen. 2)you have to watch and test ultrasonic sensor making sure it work. (I don't know whey I am repeating the same thing that I have said in video, typing it here.) Please watch the video again and do not skip.

  • @chandanapeiris6978
    @chandanapeiris6978 3 года назад

    LiquidCrystal_I2C lcd(0x3f,lcdNumCols,lcdLine); - IS WRONG
    LiquidCrystal_I2C lcd(0x27,lcdNumCols,lcdLine); - IS CORRECT. Use 27 instead of 3f. Thanks. Chandana

    • @robojax
      @robojax  3 года назад

      Every device has different I2C address. Thanks. Please subscribe. It is appreciated.

  • @gamingsquad3206
    @gamingsquad3206 2 года назад

    why do i get like this "Invalid library found in D:\arudino
    eal\Arduino\libraries
    obojax-HC-SR04-ultrasonic-Library: no headers files (.h) found in D:\arudino
    eal\Arduino\libraries
    obojax-HC-SR04-ultrasonic-Library
    "

    • @robojax
      @robojax  2 года назад

      That it not error. It is a warming. Ignore it

  • @nationalmarketing3082
    @nationalmarketing3082 5 лет назад

    Sir what is your name.

    • @robojax
      @robojax  5 лет назад +1

      in all my codes you will find name. Ahmad from Canada

  • @yassinahmedmohamednoureldi8038
    @yassinahmedmohamednoureldi8038 5 месяцев назад

    someone help please fast

  • @kirubatamilselvan9602
    @kirubatamilselvan9602 4 года назад +1

    It is not worked

    • @robojax
      @robojax  4 года назад

      you have to provide error. perhaps you escaped the video and have not installed the library for "bragraph". Please follow step by step and I will work. Good luck.

  • @ajcatindig8445
    @ajcatindig8445 3 года назад

    Can you give the wiring diagram for free??

    • @robojax
      @robojax  3 года назад

      I have explained it fully and have shown how to do the wiring. It sees you need to school project or something so get this Free software fritzing.org/ and draw it. it has all the components you need . Very easy.

  • @syedyahyaali4055
    @syedyahyaali4055 3 года назад

    this is what it says:
    Arduino: 1.8.12 (Windows 10), Board: "Arduino Uno"
    C:\Users\Yahya Ali\AppData\Local\Temp\Temp1_024-Using-Ultrasonic-Distance-HC-SR04-with-LCD-Display.zip\024-Using-Ultrasonic-Distance-HC-SR04-with-LCD-Display\024-Using-Ultrasonic-Distance-HC-SR04-with-LCD-Display.ino: In function 'void setup()':
    024-Using-Ultrasonic-Distance-HC-SR04-with-LCD-Display:55:13: error: no matching function for call to 'LiquidCrystal_I2C::begin()'
    lcd.begin();
    ^
    In file included from C:\Users\Yahya Ali\AppData\Local\Temp\Temp1_024-Using-Ultrasonic-Distance-HC-SR04-with-LCD-Display.zip\024-Using-Ultrasonic-Distance-HC-SR04-with-LCD-Display\024-Using-Ultrasonic-Distance-HC-SR04-with-LCD-Display.ino:30:0:
    C:\Users\Yahya Ali\Documents\Arduino\libraries\LiquidCrystal_I2C-1.1.2/LiquidCrystal_I2C.h:58:8: note: candidate: void LiquidCrystal_I2C::begin(uint8_t, uint8_t, uint8_t)
    void begin(uint8_t cols, uint8_t rows, uint8_t charsize = LCD_5x8DOTS );
    ^~~~~
    C:\Users\Yahya Ali\Documents\Arduino\libraries\LiquidCrystal_I2C-1.1.2/LiquidCrystal_I2C.h:58:8: note: candidate expects 3 arguments, 0 provided
    C:\Users\Yahya Ali\AppData\Local\Temp\Temp1_024-Using-Ultrasonic-Distance-HC-SR04-with-LCD-Display.zip\024-Using-Ultrasonic-Distance-HC-SR04-with-LCD-Display\024-Using-Ultrasonic-Distance-HC-SR04-with-LCD-Display.ino: In function 'void loop()':
    024-Using-Ultrasonic-Distance-HC-SR04-with-LCD-Display:71:3: error: 'rjx' was not declared in this scope
    rjx.clearLine(1);// clear line 1 to display fresh voltage value
    ^~~
    exit status 1
    no matching function for call to 'LiquidCrystal_I2C::begin()'
    This report would have more information with
    "Show verbose output during compilation"
    option enabled in File -> Preferences.

    • @robojax
      @robojax  3 года назад

      so it means you skipped the video where I mentioned that you need to install library. the import of this error was: no matching function for call to 'LiquidCrystal_I2C::begin()'

    • @syedyahyaali4055
      @syedyahyaali4055 3 года назад

      @@robojax no i installed the library it's still not working

    • @robojax
      @robojax  3 года назад

      this project is made of 3 parts. 1-LCD only to display text. 2- Ultrasonic to measure distance and show on serial monitor. 3-Combine both LCD and ultrasonic. do each project step by step from 1 to 3. I have video for them and I believe the link is in the description. good luck

  • @kishorerajan1682
    @kishorerajan1682 3 года назад

    1. Arduino: 1.8.14 Hourly Build 2021/01/29 11:33 (Windows 10), Board: "Arduino Uno"
    02:30: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.
    2.Arduino: 1.8.14 Hourly Build 2021/01/29 11:33 (Windows 10), Board: "Arduino Uno"
    02:31:10: fatal error: LcdBarGraphRobojax.h: No such file or directory
    #include
    ^~~~~~~~~~~~~~~~~~~~~~
    compilation terminated.
    exit status 1
    LcdBarGraphRobojax.h: No such file or directory
    This report would have more information with
    "Show verbose output during compilation"
    option enabled in File -> Preferences.
    please solve these two errors.

    • @robojax
      @robojax  3 года назад

      you skipped the video and did not follow the instruction. I reply and any question that is not answered in the video. please watch without skipping and I can assure you, your issue will be resolved.

  • @aniketroy1745
    @aniketroy1745 3 года назад

    Arduino: 1.8.13 (Windows 10), Board: "Arduino Uno"
    C:\Users\EE MDMD\Desktop\Untralsonic_distance_measure\Untralsonic_distance_measure.ino: In function 'void setup()':
    Untralsonic_distance_measure:55:13: error: no matching function for call to 'LiquidCrystal_I2C::begin()'
    lcd.begin();
    ^
    In file included from C:\Users\EE MDMD\Desktop\Untralsonic_distance_measure\Untralsonic_distance_measure.ino:30:0:
    C:\Users\EE MDMD\Documents\Arduino\libraries\LiquidCrystal_I2C/LiquidCrystal_I2C.h:58:8: note: candidate: void LiquidCrystal_I2C::begin(uint8_t, uint8_t, uint8_t)
    void begin(uint8_t cols, uint8_t rows, uint8_t charsize = LCD_5x8DOTS );
    ^~~~~
    C:\Users\EE MDMD\Documents\Arduino\libraries\LiquidCrystal_I2C/LiquidCrystal_I2C.h:58:8: note: candidate expects 3 arguments, 0 provided
    C:\Users\EE MDMD\Desktop\Untralsonic_distance_measure\Untralsonic_distance_measure.ino: In function 'void loop()':
    Untralsonic_distance_measure:71:3: error: 'rjx' was not declared in this scope
    rjx.clearLine(1);// clear line 1 to display fresh voltage value
    ^~~
    Multiple libraries were found for "LiquidCrystal_I2C.h"
    Used: C:\Users\EE MDMD\Documents\Arduino\libraries\LiquidCrystal_I2C
    Not used: C:\Users\EE MDMD\Documents\Arduino\libraries\Arduino-LiquidCrystal-I2C-library-master
    exit status 1
    no matching function for call to 'LiquidCrystal_I2C::begin()'
    This report would have more information with
    "Show verbose output during compilation"
    option enabled in File -> Preferences.

    • @aniketroy1745
      @aniketroy1745 3 года назад

      What To do now

    • @robojax
      @robojax  3 года назад

      just watch the video without skipping and follow instruction. I have said that you need to watch 2 more videos before coming to this and you did not follow that.

    • @aniketroy1745
      @aniketroy1745 3 года назад

      @@robojax Sir I have and also watched to more videos of that and also followed the steps but I am having problem .

    • @robojax
      @robojax  3 года назад

      Required videos (must watch) and install library
      1-Using Ultrasonic sensor ruclips.net/video/QI9541YQq7M/видео.html
      2-Using LCD with Arduino: ruclips.net/video/q9YC_GVHy5A/видео.html
      3-Then come to the bargraph and install library

  • @nimsaradilpahan990
    @nimsaradilpahan990 Год назад

    #include sir I have this arrow massage

    • @robojax
      @robojax  Год назад

      I checked the video. just follow the instruction. have you downloaded 2 files and install them? perhaps not. Please watch fully. The first one is to be able to display simple text on LCD and the second is the bargraph.