10-05-2018, 09:53 AM
(This post was last modified: 11-03-2018, 10:14 AM by rikardo1979.)
Instruction how to install pydPiper python scripts for RaspDAC Audiophonics I-Sabre ES9023 V3 [Winstar 80x16 OLED]
Download and install pydPiper
You can test display with this command :
Service Installation :
Start the configuration:
And set all as followed:
Now we need to edit :
In the section "sequence" replace all the stream by encoding in db ['stream' ] to have db ['encoding']
save and exit (ctrl-x, yes, enter)
Then activate service :
All should be working smooth after reboot
I take no credits for any of the work done. I just put the simple steps together so its easy to follow.
Download and install pydPiper
Code:
cd /home/pi
git clone https://github.com/dhrone/pydPiper.git
cd pydPiper
./install_docker.sh
sudo wget https://raw.githubusercontent.com/audiophonics/Pydpiper-Raspdac/master/pydPiper.cfg
sudo wget https://raw.githubusercontent.com/audiophonics/Pydpiper-Raspdac/master/pages_raspdac_16x2.py
You can test display with this command :
Code:
sudo docker run --network=host --privileged -v /var/log:/var/log:rw -v /home/pi/pydPiper:/app:rw dhrone/pydpiper:v0.31-alpha python /app/pydPiper.py
Service Installation :
Code:
sudo wget https://raw.githubusercontent.com/audiophonics/Pydpiper-Raspdac/master/pydpiper.service
Start the configuration:
Code:
sudo python configure.py
And set all as followed:
Code:
Startup mode duration (in seconds)? [5]: 5
DISPLAY CONFIGURATION
Display type ?: winstar_weg
Register select pin? [7]: 7
Enable pine? [8]: 8
Data 4 pin? [25]: 25
Data 5 pin? [24]: 24
Data 6 pin? [23]: 23
Data 7 pin? [27]: 27
Width of display (in pixels)? [80]: 80
Height of display (in pixels)? [16]: 16
Enable pulse duration (in microseconds)? [0.1]: 0.1
Location of the pagefile? [pages_lcd_16x2.py]: pages_raspdac_16x2.py
Animation Smoothing (in seconds)? [0.15]: 0.15
SYSTEM CONFIGURATION
Location of log file? [/var/log/pydPiper.log]: /var/log/pydPiper.log
Logging Level? [info]: info
Time Zone? [Europe/London]: Europe/London
24-hour clock? [True]: true
Temperature Scale? [fahrenheit]: celsius
Enable weather? [n]: n
MUSIC DISTRIBUTION
Name of distribution? [moode]: moode
Server address? [localhost]: localhost
Port? [3000]: 6600
Password:
Now we need to edit :
Code:
sudo nano pages_raspdac_16x2.py
save and exit (ctrl-x, yes, enter)
Then activate service :
Code:
sudo cp pydpiper.service /etc/systemd/system
sudo systemctl enable pydpiper
sudo systemctl start pydpiper
All should be working smooth after reboot
I take no credits for any of the work done. I just put the simple steps together so its easy to follow.
<marquee behavior="alternate" scrolldelay=150
~~~~>>>Please always follow rules and read before you post<<<~~~~
</marquee>
~~~~>>>Please always follow rules and read before you post<<<~~~~
</marquee>