An Extension for Moode, including OLED display, IR control, and CD playback.
For now, it is running in an RPi4B with Moode 6.4.0.
With this extension, you can use the Apple Remote to control Moode in RPi4B and roon in Windows.
Basically, I just integrated the following posts.
***NOTICE: Use these scripts at your own risk, some have not been fully tested!***
Demo
I use this system under these scenarios.
Date Screen: Display date and IP.
Play Screen: Display song info, only activate if Moode is playing.
Renderer Screen: Only activate if Moode is not playing but DAC is occupied.
The OLED display will go out after 10 seconds to prevent OLED burn-in and any key pressed on the Apple Remote will light it for 10 seconds.
Hardware
Wire Connection
IR Receiver Module
The Argon One Case reserved a place for VS1838B, just connect it.
Insert Flirc USB IR Receiver into a windows pc.
OLED Module
Installation
Requirements
Remote Control
CD Playback
When you insert a CD, it will generate a playlist named CDPlayer automatically.
Usage
After installation, you can use the Apple Remote to control Moode in RPi4B.
To control roon, you should set these key mapping in Flirc App.
Here is the key mapping of mine.
| Apple Remote Key | Description |
| UP | Moode: Previous Track |
| DOWN | Moode: Next Track |
| Enter | Moode: Play/Pause |
| LEFT | Roon in windows: Previous Track |
| Right | Roon in windows: Next Track |
| Play | Roon in windows: Play/Pause |
| Menu | None |
For now, it is running in an RPi4B with Moode 6.4.0.
With this extension, you can use the Apple Remote to control Moode in RPi4B and roon in Windows.
Basically, I just integrated the following posts.
- Thread Modes Instruction Guide AUDIOPHONICS RaspDAC Mini Kit - I-Sabre ES9038Q2M
- USB CD-Rom + Moode = UPnP streamer
- Playing CDs directly from MPD
- Automated CD ripping, tagging and adding to collection
***NOTICE: Use these scripts at your own risk, some have not been fully tested!***
Demo
I use this system under these scenarios.
- NAS -> PRi4B(Moode) -> DAC
- CD Drive -> PRi4B(Moode) -> DAC
- ROON in Windows -> PRi4B(Roon Bridge) -> DAC
- ROON in Windows(Surface Go) -> HQPlayer(PC) -> PRi4B(NAA) -> DAC
Date Screen: Display date and IP.
Play Screen: Display song info, only activate if Moode is playing.
Renderer Screen: Only activate if Moode is not playing but DAC is occupied.
The OLED display will go out after 10 seconds to prevent OLED burn-in and any key pressed on the Apple Remote will light it for 10 seconds.
Hardware
- Raspberry Pi 4B
- Argon One Case for RPi4B
- 1.5inch RGB OLED Module, made by WAVESHARE
- VS1838B Infrared Receiver Module
- Flirc usb ir reciver
- Apple Remote A1294
- USB CD Drive
Wire Connection
IR Receiver Module
The Argon One Case reserved a place for VS1838B, just connect it.
Insert Flirc USB IR Receiver into a windows pc.
OLED Module
Installation
Requirements
- Install roon bridge and NAA (optional).
- Follow the instructions to ensure that the OLED module works properly.
- Follow the instructions to ensure that the IR receiver module works properly. If you use the default position for IR in Argon One, the GPIO pin should be set as 23.
- Use the following code to install packages required by CD playback.
sudo apt-get install eject cdparanoia cdde inotify-tools
Code:
cd /home/pi
git clone https://github.com/TongboZhang/Moode_Extension.git
cd Moode_Extension
sudo chmod 755 src/OLEDDisplay/main.py
sudo cp src/OLEDDisplay/oledd.service /etc/systemd/system/
# Test OLED display
sudo systemctl start oledd
# Wait 10 seconds to start the service
sudo systemctl status oledd
# Make OLED service automatically start on boot
sudo systemctl enable oledd
Remote Control
Code:
sudo cp src/RemoteControl/apple-silver-A1294-lircd.conf /etc/lirc/lircd.conf.d/
sudo cp src/RemoteControl/irexec.lircrc /etc/lirc
# Test LIRC service
sudo systemctl start lircd
sudo systemctl status lircd
# Test IREXEC service
sudo systemctl start irexec
sudo systemctl status irexec
# Make LIRC and IREXEC service automatically start on boot
sudo systemctl enable lircd
sudo systemctl enable irexec
CD Playback
Code:
sudo chmod 755 geneCD.sh
sudo cp src/CDPlayback/99-srX_change.rules /etc/udev/rules.d/
When you insert a CD, it will generate a playlist named CDPlayer automatically.
Usage
After installation, you can use the Apple Remote to control Moode in RPi4B.
To control roon, you should set these key mapping in Flirc App.
Here is the key mapping of mine.
| Apple Remote Key | Description |
| UP | Moode: Previous Track |
| DOWN | Moode: Next Track |
| Enter | Moode: Play/Pause |
| LEFT | Roon in windows: Previous Track |
| Right | Roon in windows: Next Track |
| Play | Roon in windows: Play/Pause |
| Menu | None |