How to use I2C in ESP32 || Interface LCD 1602 || Espressif IDE

Поделиться
HTML-код
  • Опубликовано: 11 сен 2024
  • Purchase the Products shown in this video from :: controllerstec...
    ________________________________________________________________________________________
    Check out the Library Explained :: • How Did I write the I2...
    To download the code, and for details goto:: controllerstec...
    ESP32 Playlist :::: • ESP32 Tutorials using ...
    ________________________________________________________________________________________
    ****** SUPPORT US BY DONATING*****
    paypal.me/cont...
    ******Join the Membership******
    / @controllerstech
    Join the Discord Server / discord
    Join the Telegram Group t.me/controlle...
    Follow me on Instagram / controllerstech
    For more info, visit www.controller...

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

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

    This was a great tut, thank you. It would be nice to see more esp-idf material coming from your level of engineering. As you've probably noticed most are dumping ST Microelectronics and aren't participating in their pricing and hoarding scams anymore. Espressif and GigaDevice seems to be the "Go To" alternatives

  • @sloushi7235
    @sloushi7235 Месяц назад +4

    it doesn't work for me my lcd displays random things and i used chatgpt to understand why but till now i didn't find a solution to that problem. I modified the delays and i used the address 0x27 in my code according to my i2c but nothing works 😢😢 HELP SOS

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

    you are a great teacher 👍

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

    Great teacher!! Thank you! Do you have an example with 2 components? For example: using uart and display.

  • @ortani
    @ortani 6 месяцев назад +1

    Thanks a lot for this article. I am trying hard to make this lcd screen work on my esp32, but for some reason I can't. Maybe it's because of some config related to the espressif idf, like clock speed? When I use Arduino IDE with the same hardware, It works, but with the IDF. Does not. I tested my codes using the wokwi and I'ts working too. Probably it's something related to my environment.

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

      Try by not right shifting the address
      #define SLAVE_ADDRESS_LCD 0x27 // change this according to ur setup

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

    Thanks for sharing knowledge.
    I am going to subscribe

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

    Excellent tutorial video. I will be following this series, thanks.
    Why did you not have to #include "esp_log.h" in i2c-lcd.c I got an error when I didn't. I will have to put a logic analyzer on the display I am getting garbage, even though the code is the same except I use vtaskdelay instead of the usleep() functions which should not make any difference.

  • @DanteVidaurri
    @DanteVidaurri 6 месяцев назад

    Do you know what I would need to change to the code inorder to use it for NHD CIZ model

  • @Moto-Raven
    @Moto-Raven Год назад +1

    Hi,
    Where did you find i2c-lcd library?

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

      Here...
      ruclips.net/video/WAGLQOIHEio/видео.html

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

    I had to increase my delays in the lcd_init function to get it to work. Before that random garbage was displayed on the lcd so maybe can help others.

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

      The next video coming soon.. i have explained everything there.
      Anyway, in the manual, they have only shown for D7, D6, D5, D4 = 0011. The D3-D0 are not mentioned, so they are assumed 0's..

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

    i am using #define SLAVE_ADDRESS_LCD 0x27 in esp32 but data not sending error comes

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

    What is the text to speech software you used... I heard it on multiple youtube videos. It's iconic.

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

    high great info. i am trying to play with the: LILYGO I2C TTGO T-CAN485 ESP32 CAN RS-485 Supports TF Card WIFI Bluetooth Wireless... do you know how to find the I2C SDA SCL pins to use with any of the SSD1306 oled 3.3v displays? thank you.

  • @MikhailGoncharov-tl4cr
    @MikhailGoncharov-tl4cr 2 месяца назад

    We need to see your face. Tell us about yourself. Your video is very good. Please make video about yourself.

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

    Hi, Very nice video but I see the using flash over 133K bytes!! is this really true? for a small simple program like this?

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

    Is there a panic mode?

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

    like molto interessante grazie amico

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

    How to Bt201 bluetooth module +16x2 lcd display + IR remote control in esp32 program for song track name and song track current and total number and song track current time and total time in lcd display

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

    can you do a video about TFTP client, STM will acte as client --> request a flash file from tftp server and do a firmware or software update

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

    i am using 128*160 rgb tft_lcd display but i get error after flash like end of the video what you shown please can you solve my queory

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

      This video is for 1602 character lcd, not rgb tft_lcd.

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

      Could you take a video for us showcasing the ESP32 TFT LCD display? expressif project

  • @user-rs4mg6lf3z
    @user-rs4mg6lf3z Год назад

    Can anyone help me to find out I2C SCL AND SDA pin 'ESP32C3 mini 1' ?

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

    can i change the default pin for i2c connection of ESP32

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

      I don't know. Check in the documentation if the pin remapping is possible or not.
      Alternatively you can use another i2c instance.

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

    How hard would it be to use debug esp32?

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

      You mean debugger ? Well i tried using one or twice using the usb cable itself and it didn't work. I guess there might be some other pins for it like STM32.. I don't know much I didn't research it yet.

  • @shoyur
    @shoyur 10 месяцев назад

    whatever im doing, this doesnt work on the ESP32-S3-WROOM-1 :(
    anyone else ?

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

      I declared
      #define SLAVE_ADDRESS_LCD 0x27 // change this according to ur setup
      and it worked for me.
      also make sure what is your i2c address

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

    can you make a video but without the i2c?

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

      There is already a video on without i2c.

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

      @@ControllersTech I can´t find it. can you showme the link??

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

      @@ControllersTech pode mandar o link, tambem nao encontrei