The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Instruction Guide pydPiper for Audiophonics I-Sabre ES9023 V3 [Winstar 80x16 OLED]
#1
Lightbulb 
Instruction how to install pydPiper python scripts for RaspDAC Audiophonics I-Sabre ES9023 V3 [Winstar 80x16 OLED]



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
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 :
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.
[Image: UDedgy.jpg][Image: TaA0Eq.jpg][Image: HSvzEO.jpg][Image: KubFUP.jpg][Image: RQbkcf.jpg]
<marquee behavior="alternate" scrolldelay=150
~~~~>>>Please always follow rules and read before you post<<<~~~~

</marquee>
Reply


Messages In This Thread
pydPiper for Audiophonics I-Sabre ES9023 V3 [Winstar 80x16 OLED] - by rikardo1979 - 10-05-2018, 09:53 AM

Forum Jump: