I2C LCD

sprinkfitter
Posts: 11
Joined: Tue Nov 21, 2017 1:15 am

I2C LCD

Postby sprinkfitter » Wed Nov 29, 2017 11:00 pm

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. :shock: :shock: Just thought I would share the info. :) :)
Have a Great Day :)
Sprinkfitter

-Rudy-
Posts: 31
Joined: Sun Feb 05, 2017 1:08 am

Re: I2C LCD

Postby -Rudy- » Fri Dec 01, 2017 4:28 am

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.

sprinkfitter
Posts: 11
Joined: Tue Nov 21, 2017 1:15 am

Re: I2C LCD

Postby sprinkfitter » Fri Dec 01, 2017 9:31 pm

:oops: 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

-Rudy-
Posts: 31
Joined: Sun Feb 05, 2017 1:08 am

Re: I2C LCD

Postby -Rudy- » Sat Dec 02, 2017 2:05 pm

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.

sprinkfitter
Posts: 11
Joined: Tue Nov 21, 2017 1:15 am

Re: I2C LCD

Postby sprinkfitter » Sun Dec 03, 2017 9:32 am

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. :D :D

Sprinkfitter

Who is online

Users browsing this forum: No registered users and 60 guests