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!
-
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– tlfong01May 5, 2022 at 14:17
-
1I am using raspi 3B+. Is that the same on 4B? and what pins exactly those other i2c buses located?– ambangelesMay 5, 2022 at 14:32
-
(1) stackoverflow.com/questions/62757687/…, (2) penzu.com/public/2450c7ae– tlfong01May 5, 2022 at 15:13
-
Thank you for helping! I already fix my problem in the pins using this link instructables.com/Raspberry-PI-Multiple-I2c-Devices and I use your LCD module because my current module is not working properly.– ambangelesMay 5, 2022 at 15:56
-
1Thank you also for the help! :)– ambangelesMay 7, 2022 at 20:00
|
Show 1 more comment