How to use an i2c LCD display with arduino - including library install

แชร์
ฝัง
  • เผยแพร่เมื่อ 31 พ.ค. 2024
  • I show how to install the i2c Liquid Crystal library to your Arduino IDE, how to connect the LCD and give code examples.
    Buy an i2C LCD on Amazon:
    amzn.to/2AWYdW3
    Complete Arduino kit:
    amzn.to/2qBR2ww
    Link to the Arduino Liquid Crystal library documentation:
    www.arduino.cc/en/Reference/L...
    Link to i2c LCD library download for Arduino:
    github.com/fdebrabander/Ardui...
    Link to my video on determining your LCD's i2c address:
    • How to find out the ad...
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 33

  • @DarkNETProduction
    @DarkNETProduction 2 ปีที่แล้ว +1

    You saved me there when you mentioned potentiometer, my LCD was new so I was having problem why there were no text displaying. THANKSSS.

  • @earthlightsmusic2743
    @earthlightsmusic2743 ปีที่แล้ว

    Your footage on how to install the I2C LCD library enabled me ot get up and running. Thanks!

  • @ronjones4069
    @ronjones4069 ปีที่แล้ว

    Thank you!! I wish I had found your video about 10 hours ago. I have been fighting wit this thing and as soon as I found your video, everything just worked. Thank you. ANd, I love your easy going style. So well done. Thanks.

  • @rolandberendonck3900
    @rolandberendonck3900 5 ปีที่แล้ว

    Very helpful upload, thank you! Nice to see you make the mistakes in the video and to think as someone who watches the video what could be wrong and how to fix it. I will surely subscribe.

  • @profezo4861
    @profezo4861 4 ปีที่แล้ว

    I very2 like this video! very help me. The voice is very clear, very easy to understand. good work dude

  • @chuckhole
    @chuckhole 4 ปีที่แล้ว +1

    Here's how addressing works on the I2C LCD adapter:
    The address of this particular adapter will always be a 2-digit hexadecimal number in the range of 20 to 27 (0x20 to 0x27).
    There are three address jumper pads on the adapter PC board labeled A0, A1 and A2. The address lines have pull-ups, so an open jumper sets the address line to a 1, while a closed jumper sets it to 0.
    The jumpers determine the least significant digit of the address, while the most significant digit is always 2. Therefore, the least significant digit will correspond to this truth table, where a 1 signifies no jumper, a 0 signifies a jumper in place:
    A2 A1 A0 I2C addr
    0 0 0 0x20
    0 0 1 0x21
    0 1 0 0x22
    0 1 1 0x23
    1 0 0 0x24
    1 0 1 0x25
    1 1 0 0x26
    1 1 1 0x27
    So, installing no jumpers (the default) results in an address of 0x27 on these adapters.

  • @buddyweird
    @buddyweird 4 ปีที่แล้ว

    Thanks! Very informative.

  • @vincentads5153
    @vincentads5153 5 ปีที่แล้ว

    Thanks a lot, great video :) Btw, do i need to solder all the A0 A1 A2 pins in the i2c to get several adresses, for using only 2 lcd screens and display different text ? Thx in advance and thx again for this great video !

  • @alexbaekeland4954
    @alexbaekeland4954 5 ปีที่แล้ว

    thanks its amazing i leard a lot

  • @filipurbanek3797
    @filipurbanek3797 4 ปีที่แล้ว

    Nice video, Thank you :)

  • @moazelsawaf2000
    @moazelsawaf2000 5 ปีที่แล้ว

    Thanks a lot sir ❤

  • @RobertJohnson-zs4om
    @RobertJohnson-zs4om 4 ปีที่แล้ว

    HI I am using Arduino IDE and had a problem with the display only printing 1 character. If the library you used updated?
    .

  • @johnlattarulo2578
    @johnlattarulo2578 ปีที่แล้ว

    Finding sketches and methods for pc hardware monitoring are hard to come by for i2c LCD's. I tried to get one working with LCD Smartie but all I get is random numbers. If you know of any methods of monitoring pc motherboards, i.e. cpu speed, available ram, etc please let me know.

  • @wanjohimuthoni
    @wanjohimuthoni 8 หลายเดือนก่อน

    Nothing displayed on screen, only white boxes.. lcd lights up but no text written
    using arduino uno r3

  • @ronjones4069
    @ronjones4069 ปีที่แล้ว

    Thanks!

  • @mcchannel2298
    @mcchannel2298 4 ปีที่แล้ว

    Can you make a video about mpu6050

  • @philipbrits2984
    @philipbrits2984 4 ปีที่แล้ว

    Hi there! I followed exactly along and my ide shows an error with the lcd.begin() comand. It says there is no matching function to call in liquid crystal....Please help!

    • @rohithreddy-paripelly
      @rohithreddy-paripelly 4 ปีที่แล้ว

      You need to download I2C liquid crystal.h library from browser on GitHub or Arduino libraries website

    • @Time4yes
      @Time4yes 4 ปีที่แล้ว

      @@rohithreddy-paripelly I downloaded everything but the problem still persist

    • @rohithreddy-paripelly
      @rohithreddy-paripelly 4 ปีที่แล้ว

      @@Time4yes just check coding use correct representation .. check the connection and. Code connection...

    • @Time4yes
      @Time4yes 4 ปีที่แล้ว

      @@rohithreddy-paripelly I did some thinking, the latest version wants us to initialize the LCD as an init method in the setup loop and include (16,2) on the LCD.begin

  • @samuelcp100
    @samuelcp100 4 ปีที่แล้ว

    I can't get the characters to show ='(, got everything wired and the address right.

    • @tu0r142
      @tu0r142 4 ปีที่แล้ว

      I don't know if it was the same problem i had - but the solution was the potmeter setting. A slight turn and the characters turned nicely up on the screen.

    • @Time4yes
      @Time4yes 4 ปีที่แล้ว

      Which version are you using?

  • @kevinbelza67
    @kevinbelza67 5 ปีที่แล้ว

    when i compiled and uploaded the sketch it says, "an error occurred when uploading the file" huehue

    • @shivansh4581
      @shivansh4581 5 ปีที่แล้ว

      I'm facing similar problem. Did you find a solution to it?

    • @kevinbelza67
      @kevinbelza67 5 ปีที่แล้ว

      @@shivansh4581 i find another resource. Watch Robojax tutorial in yt.

    • @shivansh4581
      @shivansh4581 5 ปีที่แล้ว

      @@kevinbelza67 I figured out mine too. Thanks anyways.

  • @nguyenvankhanhduy3958
    @nguyenvankhanhduy3958 4 ปีที่แล้ว

    My LCD does not print anything even after I have followed all your steps

    • @Time4yes
      @Time4yes 4 ปีที่แล้ว

      Which version of arduino are you using?

    • @nguyenvankhanhduy3958
      @nguyenvankhanhduy3958 4 ปีที่แล้ว

      It's arduino uno r3. By the way, i found the solution for my problem.

    • @Time4yes
      @Time4yes 4 ปีที่แล้ว

      @@nguyenvankhanhduy3958 alright no problem. You are probably doing advanced projects now👍

  • @shine9824
    @shine9824 4 ปีที่แล้ว

    can u give me a link of library i2c