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...
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
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
did you solve the problem?
you are a great teacher 👍
Great teacher!! Thank you! Do you have an example with 2 components? For example: using uart and display.
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.
Try by not right shifting the address
#define SLAVE_ADDRESS_LCD 0x27 // change this according to ur setup
Thanks for sharing knowledge.
I am going to subscribe
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.
Do you know what I would need to change to the code inorder to use it for NHD CIZ model
Hi,
Where did you find i2c-lcd library?
Here...
ruclips.net/video/WAGLQOIHEio/видео.html
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.
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..
i am using #define SLAVE_ADDRESS_LCD 0x27 in esp32 but data not sending error comes
What is the text to speech software you used... I heard it on multiple youtube videos. It's iconic.
Its amazon polly
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.
We need to see your face. Tell us about yourself. Your video is very good. Please make video about yourself.
Hi, Very nice video but I see the using flash over 133K bytes!! is this really true? for a small simple program like this?
Is there a panic mode?
like molto interessante grazie amico
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
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
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
This video is for 1602 character lcd, not rgb tft_lcd.
Could you take a video for us showcasing the ESP32 TFT LCD display? expressif project
Can anyone help me to find out I2C SCL AND SDA pin 'ESP32C3 mini 1' ?
can i change the default pin for i2c connection of ESP32
I don't know. Check in the documentation if the pin remapping is possible or not.
Alternatively you can use another i2c instance.
How hard would it be to use debug esp32?
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.
whatever im doing, this doesnt work on the ESP32-S3-WROOM-1 :(
anyone else ?
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
can you make a video but without the i2c?
There is already a video on without i2c.
@@ControllersTech I can´t find it. can you showme the link??
@@ControllersTech pode mandar o link, tambem nao encontrei