ESP32 #3. How to use I2C in ESP32 || LCD1602 || Espressif IDE

แชร์
ฝัง
  • เผยแพร่เมื่อ 13 ก.ค. 2022
  • Purchase the Products shown in this video from :: controllerstech.store
    ________________________________________________________________________________________
    Check out the Library Explained :: • How Did I write the I2...
    To download the code, and for details goto:: controllerstech.com/i2c-in-es...
    ESP32 Playlist :::: • ESP32 Tutorials using ...
    ________________________________________________________________________________________
    ****** SUPPORT US BY DONATING*****
    paypal.me/controllertech
    ******Join the Membership******
    / @controllerstech
    Join the Discord Server / discord
    Join the Telegram Group t.me/controllerstechdiscuss
    Follow me on Instagram / controllerstech
    For more info, visit www.controllerstech.com
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @gtcollection6933
    @gtcollection6933 ปีที่แล้ว +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

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

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

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

    you are a great teacher 👍

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

    Thanks for sharing knowledge.
    I am going to subscribe

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

    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.

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

    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.

  • @DanteVidaurri
    @DanteVidaurri 3 หลายเดือนก่อน

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

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

    like molto interessante grazie amico

  • @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?

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

    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

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

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

  • @ortani
    @ortani 3 หลายเดือนก่อน

    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 2 หลายเดือนก่อน +1

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

  • @chronobot2001
    @chronobot2001 10 หลายเดือนก่อน

    Is there a panic mode?

  • @Moto-Raven
    @Moto-Raven ปีที่แล้ว +1

    Hi,
    Where did you find i2c-lcd library?

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

      Here...
      th-cam.com/video/WAGLQOIHEio/w-d-xo.html

  • @noweare1
    @noweare1 ปีที่แล้ว +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  ปีที่แล้ว +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..

  • @user-rs4mg6lf3z
    @user-rs4mg6lf3z ปีที่แล้ว

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

  • @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

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

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

  • @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 ปีที่แล้ว

    How hard would it be to use debug esp32?

    • @ControllersTech
      @ControllersTech  ปีที่แล้ว +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.

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

    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  หลายเดือนก่อน

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

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

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

  • @zomstein
    @zomstein 10 หลายเดือนก่อน

    can you make a video but without the i2c?

    • @ControllersTech
      @ControllersTech  10 หลายเดือนก่อน

      There is already a video on without i2c.

    • @zomstein
      @zomstein 10 หลายเดือนก่อน

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

    • @wagnerduarte8010
      @wagnerduarte8010 9 หลายเดือนก่อน

      @@ControllersTech pode mandar o link, tambem nao encontrei

  • @shoyur
    @shoyur 7 หลายเดือนก่อน

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

    • @subhramaiti9108
      @subhramaiti9108 2 หลายเดือนก่อน

      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