Updated procedure for moOde 8 and higher:
\\ Only for moOde 64bits
Replace this line: "ExecStart=/usr/sbin/lircd --nodaemon" by:
Only for moOde 64bits \\
Add at the end of /boot/config.txt:
Download and install oled and lirc files:
Code:
sudo apt update
sudo apt-get -y install lirc
sudo -i pip install --upgrade pip setuptools
sudo pip install luma.core luma.oled
sudo -H pip install 'pillow==9.5.0'
\\ Only for moOde 64bits
Code:
sudo nano /lib/systemd/system/lircd.service
Replace this line: "ExecStart=/usr/sbin/lircd --nodaemon" by:
Code:
ExecStart=/usr/sbin/lircd --nodaemon -U /usr/lib/aarch64-linux-gnu/lirc/plugins
Code:
sudo systemctl daemon-reload
Code:
sudo nano /boot/config.txt
Add at the end of /boot/config.txt:
Code:
dtparam=spi=on
dtoverlay=gpio-ir,gpio_pin=4
Download and install oled and lirc files:
Code:
wget -O raspdacmini_8.tar "https://drive.google.com/uc?export=download&id=1-CRIicwQYm1y5xZgu8w54mvn0XjmcLe9"
tar xvf raspdacmini_8.tar
sudo chmod 755 oled/raspdac_oled_main.py
sudo chmod 644 oled/oled.service
sudo cp oled/oled.service /etc/systemd/system/
sudo systemctl enable oled
sudo cp -r lirc/* /etc/lirc
rm -r lirc
rm raspdacmini_8.tar
sudo reboot