![]() The default ADDRESS is 0x27 but in some cases it can be 0x3f. I2C controller has inbuilt ADDRESS bit which is used to control I2C bus. You can also connect LCD with ESP32 without I2C but it will take more pins of ESP32.īefore going into the main code we have to first find the address of I2C module. ![]() ![]() We need board files for ESP32, so if you are new to ESP32 then first follow Getting Started with ESP32 Tutorial and then jump back here. So, it’s better to use external 5V supply. I have connected 3v of ESP32 to 5v of I2C for demonstration only but we need 5V supply for the I2C module to display data properly, because ESP32 can only give 3.3 volts which is low for the I2C module and data won’t be visible clearly.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |