Use parallel connection on 16x2 lcd and pydpiper

Maybe i try to use parallel connection on 16x2 lcd and pydpiper but i dont know how to edit the file text so i can use parallel.
my current default for 16x2;
sudo git clone GitHub - dhrone/pydPiper: A general purpose program to display song metadata on LCD and OLED devices
cd ./pydPiper
sudo ./install_docker.sh
sudo ./install_volumio.sh
sudo nano ./pages_lcd_20x4.py
[my example: pages_lcd_20x4.zip (2.4 KB)]
sudo systemctl restart pydpiper.service

And it works fine for me. however, i don’t know how to edit the pydpiper file and use parallel instead.

And oled from i2c and plugin store.

Thanks hope you understand,

Just try it without editing anything.
MPD_OLED mostly runs on 3c, LCD on 27
For code changes on pydpiper, you need to connect with it’s developer.
As this is not any official plugin and have no idea if it will break something.

Hi wheaten sorry for late response,
I tried to do what i said before, lcd and oled are connected at same i2c on rpi and neither of these one not showing any display nor working.
I also tried to seperate power of these lcd and oled it seems not working either.

Additional, I’d tried to scan device on mpdoled plugin and it show on 27 not 3c just like before. Maybe it has signal interference.

Thanks anyways.

I will not provide support to get the LCD code up and running, that’s with the developer of the code.
What I can do is show you it work with both MPD_OLED and a LCD Matrix screen on the same pins.
image

So in your case check the wiring.

image

cd ~
pip install RPLCD
sudo apt install python3-smbus
sudo pip3 install smbus2
git clone https://github.com/dbrgn/RPLCD.git
cd /home/volumio/RPLCD
python3 rplcd-tests i2c testsuite expander=PCF8574 addr=0x27 port=1 cols=20 rows=4 charmap=A00

you should see 2 addresses. I don’t think there is signal interference as each device on the I2C bus will only respond to data that sent to the device’s address. What you could do is try running the screen on the I2C-0 bus.

1 Like

In my working example they both are connected to pin 3 and 5, 6.
Only for VCC OLED pin 1 and LCD pin 2.
image

1 Like

Hi there!
Mind me to know what version of os did you use and how do you run this lcd and do you have tutorial to work my lcd.
Thank you wheaten,

I’ll try these.

Ran it on the latest stable Volumio version (V3,742)
No tutorial, it was just a test and I provided everything I did, as all I wanted to demonstrate was that it works.
The lib I used has a lot of documentation:
https://rplcd.readthedocs.io/en/stable/

Thank you appreciate your help.

Hi wheaten i manage to work oled 0.96inch on a latest ver of volumio. However, it’s so hard for me to do the instruction that yo gave me Welcome to RPLCD’s documentation! — RPLCD 1.3.0 documentation
This a lot of work for me to follow even i have lack/not too knowledgeable with the program.

Regards,

Then I would suggest to connect with the author of PydPiper, as this is a lot of work for something I won’t use.