08-29-2021, 09:47 AM
(08-29-2021, 09:45 AM)Jempie Wrote:(08-29-2021, 09:44 AM)Jempie Wrote:(08-28-2021, 07:57 PM)fdealexa Wrote: I don't know if you, now, see the pictures...anyway this is the cabling (the same reported in the github)
https://github.com/antiprism/mpd_oled
CS : 24
DC : 18
RES : 22
SDA : 19
SCL : 23
VCC : 17 (or 1)
GND : 14 (or 9)
the number are related at the pin numbers of the connector:
https://www.raspberrypi-spy.co.uk/2012/0...-and-pins/
please do not hesitate to ask, if any doubt.
Regards,
Francesco
francesco connection display the same wires on the right connector board RPI4
pi@moode:~ $ sudo service mpd_oled status
● mpd_oled.service - MPD OLED Display
Loaded: loaded (/etc/systemd/system/mpd_oled.service; enabled; vendor preset:
Active: active (running) since Fri 2021-08-27 06:03:31 EDT; 1 day 23h ago
Process: 385 ExecStartPre=/usr/local/bin/mpd_oled_launch_test (code=exited, st
Main PID: 644 (mpd_oled)
Tasks: 5 (limit: 4915)
CGroup: /system.slice/mpd_oled.service
├─ 644 /usr/local/bin/mpd_oled -o 1 -b 21 -g 1 -f 20 -c alsa,plughw:L
├─1315 sh -c mpd_oled_cava -p /tmp/cava_config_ts3g7a
└─1316 mpd_oled_cava -p /tmp/cava_config_ts3g7a
Aug 27 06:03:15 moode systemd[1]: Starting MPD OLED Display...
Aug 27 06:03:31 moode systemd[1]: Started MPD OLED Display.
Aug 27 06:07:11 moode mpd_oled[644]: open file /tmp/cava_fifo_644 for writing ra
pi@moode:~ $ cat /boot/config.txt
disable_splash=1
disable_overscan=1
hdmi_drive=2
hdmi_blanking=1
hdmi_force_edid_audio=1
hdmi_force_hotplug=1
hdmi_group=0
dtparam=i2c_arm=on
dtparam=spi=on
dtparam=i2s=on
dtparam=audio=on
#dtoverlay=disable-wifi
#dtoverlay=disable-bt
pi@moode:~ $