Running the openPDC on a Raspberry Pi and Pi 2
To avoid needing to compile Mono and speed up the installation process, we have posted an image for download with the needed version of Mono (i.e., version 3.12.1 that includes
FREAK security fix
) and the openPDC (i.e., version 2.1.64) preinstalled for running on a Raspberry Pi and Pi 2 with the Raspbian OS. Download the zip file below that contains
Unzip the downloaded image file on a computer with an SD card reader. Note that the image size, when unzipped, is 6GB - as a result you will need an SD card at least that large to hold the image, 8 GB is the recommended minimum. Make sure to read raspberrypi.org's
. Use the following instructions for deploying the image onto an SD card:
For the initial boot it is recommended to start the Raspberry Pi up with a connected monitor and keyboard. When the Raspberry Pi is first powered on with the openPDC image on the SD card, the system will request a username (prompted as "login") and
password - these are the defaults for a Raspbian OS image, specifically:
- Login: pi
- Password: raspberry
After you enter the default credentials, the Rasbian configuration application (raspi-config) will launch. The following steps should be executed at a minimum:
- Run the "Expand Filesystem" command to make all SD card space available
- Run the "Change User Password" command for the default user (pi)
- Run the "Enable Boot to Desktop/Scratch" command to set desired boot operation
Once you have configured the Raspberry Pi, select "Finish" from the configuration tool to reboot the system. The openPDC is set to automatically run at startup as a daemon with security enabled. Run the following command from a terminal session to
access the openPDC:
- mono /opt/openPDC/openPDCConsole.exe
This will start the openPDC remote console session. Authentication is required, enter "pi" as the user name and the current password for this user. The console may make a few authentication attempts with the provided credentials testing various authentication
options. Once authenticated, type "version" in the console and press Enter - this will show the running openPDC version and current OS details.
The default openPDC configuration comes with a sample device and an available IEEE C37.118 output stream. If the Raspberry Pi is connected to a network, the outputs can be exercised immediately. The IEEE C37.118 output stream will be listening on TCP port 8900
for both commands and data.
For best openPDC performance, the Raspberry Pi 2 is recommended. The new Raspberry Pi 2 Model B has 4 cores, 1 GB of RAM and better CPU performance all of which provide a very practical and performant micro-environment for running the openPDC.
The openPDC also runs on the original Raspberry Pi (same image for both platforms). For optimal performance on this single core system it is recommended that the configuration of the openPDC on the Raspberry Pi be reduced to its primary tasks.
For more details, read the
openPDC Linux Deployment Instructions