Looking for some advice. I have a DS 3231 clock on an I2C bus. I was thinking about putting a 20x4 LCD on this bus line. I know I could assign another I2C the ESP 32 but I would like to hook it up to the same bus as the DS3231. I like to find an tutorial to hook multiple devices on an I2C bus line. I ran I2C Scanner and it found the device. I am a beginner on the esp32 and the Arduino IDE.
I would also share when I hook my clock and relays up. I could not upload a sketch while the 5 volt pin for the relay was in. When I took the wire off of the relay the sketch uploaded great with no problem. Just thought I would share the info.
Have a Great Day
Sprinkfitter
I2C LCD
Re: I2C LCD
There is no reason to not have multiple I2C devices on the same lines. That is the whole point to it. But you may need to use level shifters for some devices that work on 5 volts.
-
- Posts: 11
- Joined: Tue Nov 21, 2017 1:15 am
Re: I2C LCD
I must ask ask a very tough question. Setting up and clock with an lcd on i2c bus. To early in design for this? Any info at all
Thank You for the info
Sprinkfitter
Thank You for the info
Sprinkfitter
Re: I2C LCD
This is for a character LCD. http://www.iotsharing.com/2017/05/how-t ... c-lcd.html
Because the I2C chip on the LCD is powered by 5 volts the output from a 3.3v processor may not be high enough. That is why I mentioned possibly needing a level shifter on the I2C lines.
Because the I2C chip on the LCD is powered by 5 volts the output from a 3.3v processor may not be high enough. That is why I mentioned possibly needing a level shifter on the I2C lines.
-
- Posts: 11
- Joined: Tue Nov 21, 2017 1:15 am
Re: I2C LCD
Thank You for your responds. I have not run into any trouble powering the chip through the 5 volt pin with an external power supply. I will try to hook up the lcd to my backup esp32 this week. Thank You for your help I will let you know how that goes.
Sprinkfitter
Sprinkfitter
Who is online
Users browsing this forum: No registered users and 60 guests