NEC RPI3CM-2 Edition Raspberry Pi Compute Module

Raspberry Pi Compute Module Setup Guide - Page 65

For RPI3CM-2.

PDF File Manual, 74 pages, Read Online | Download pdf file

RPI3CM-2 photo
Loading ...
Loading ...
Loading ...
©2019 NEC Display Solutions, Ltd. Page 65 of 74
13 Python Based NEC PD SDK
NEC has created a Python based SDK (Software Development Kit) to support many of the monitor
functions easily via the Operating System running on the Compute Module.
Examples of supported functions are:
Reading status information from the display, such as:
o Model name
o Serial number
o Temperature and fan statuses
o Diagnostic information
o Operating hours
o LAN IP and MAC addresses
This makes it very easy to integrate support for remote diagnostics and asset management into
any software running on the Compute Module.
Reading and writing almost any configuration setting and control within the display, such as:
power, video settings, schedules, Picture-in-Picture, Tile Matrix, etc.
This can be used to easily configure or reset settings via remote using a script.
Accessing the display’s internal Real Time Clock. This can be used to set the Operating System’s
clock when it is unable to get the current time from the network.
Monitoring the Shutdown signal from the display on GPIO 23 to gracefully shutdown any
running software and the Operating System, before the display turns off power to the Compute
Module.
To periodically send reset commands to the display’s built in Watchdog Timer, to signal that the
Operating System is currently running correctly. The lack of a reset signal would indicate that
the CPU on the Compute Module is hung, and the display would automatically restart the
Compute Module.
Automatically control the cooling fan for the Compute Module based on the reported system
temperature on the Compute Module’s internal temperature. This is done by sending a
command to the display to control the fan power.
Note: This feature requires at least display firmware version R1.7 on the Pxx4 and Vxx4/-T
models.
Communications with the display is via the UART on the Compute Module and an internal serial
connection to the display. It is also possible to communicate with the display over LAN via its IP address.
The SDK supports both communicating via both serial and LAN.
The SDK provides APIs (Application Programming Interfaces) for most of the commands supported by
the display, so it is not necessary to start understanding the communications protocol from scratch.
However, it is highly recommended to refer to the “External Control” document for the model being used
to understand the parameters and function of each API.
The SDK can be installed from Raspbian using either of the following commands:
sudo easy_install nec_pd_sdk
Loading ...
Loading ...
Loading ...