Uncategorized

I2C OTHER PINS IN RASPERRY PI FOR I2C LCD

  1. tlfong01

I2C OTHER PINS IN RASPERRY PI FOR I2C LCD

Ask Question

Asked today

Modified today

Viewed 4 times

1

I am planning to put a power button on my raspberry pi 3b+ which uses the PIN 5 in order for me to shut it down and turn it on again when I wanted to. However, pin 5 is I2C CLOCK which is used for the I2C LCD. Now, my problem is I need them both. Are there alternative pins that I can use for my I2C LCD? Thank you so much!

gpiopi-3b+i2c

Share

EditFollowCloseFlag

asked 18 mins ago

user avatar

ambangeles

1111 bronze badge

 New contributor

  • Let me see. (1) Rpi4B has 5 I2C channels. (2) So you can use any of the I2C buses that do not use GPIO pin5 as the I2C clock. (3) Reference: Python I2C LCD module (using PCA8574) V0.01 – WuSiYu, GitHub: github.com/WuSiYu/python-i2clcd – tlfong01 2 mins ago   Edit  

Add a comment

Categories: Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.