From D2000 version v12, the installation program is available for the operating system Raspbian for Raspberry PI platform (models 2 and higher) and for computers built on Raspberry Compute Module (for example, Techbase NPE X500 M3 inudstrial computer).
A full D2000 system image for Raspberrry PI can be for simplification directly downloaded from https://d2000.ipesoft.com/download/#raspberry (950 MB, after unziping 3.5 GB). The image does not contain a graphic interface (to keep the image small), but it can be installed.
To obtain the D2000 installers for Raspberry PI platform and to obtain the images for the Techbase NPE X500 M3 industrial computer, please contact Ipesoft sales department.
Installing and configuring the image for Raspberry PI:
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 172.16.0.108 netmask 255.255.0.0 broadcast 172.16.255.255
inet6 fe80::d2bb:4bde:c49a:5f97 prefixlen 64 scopeid 0x20<link>
ether b8:27:eb:a7:f2:5e txqueuelen 1000 (Ethernet)
RX packets 5175309 bytes 748932223 (714.2 MiB)
RX errors 0 dropped 92287 overruns 0 frame 0
TX packets 1726640 bytes 739692537 (705.4 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Note: If you do not have a DHCP server on the network (or if you want to use a fixed IP address), set the fixed IP address and network mask by editing the /etc/dhcpcd.conf file.
To insert the IP address and network mask into the /opt/d2000/instance.properties configuration file, edit it with the command:
sudo nano /opt/d2000/instance.properties
Change the IP address in the row
IPAddr1 = 172.16.0.108
and mask in the row
IPMask = 255.255.0.0
If you have configured a WiFi interface, you can also edit the line with IpAddr2.
Save the file with the keyboard shortcut Ctrl+O and exit the editor by pressing Ctrl+X.
Standard Raspberry PI does not contain a real-time clock (RTC). If your Raspberry PI doesn't have access to preconfigured NTP server (126.96.36.199 t.j. darkstar.sanet.de), then you have to specify a custom NTP server:
sudo nano /etc/systemd/timesyncd.conf
Edit the row in the [Time] section with the NTP server IP address and enter IP address of a custom NTP server:
Save the file with the keyboard shortcut Ctrl+O and exit the editor by pressing Ctrl+X . Restart the NTP server by the command
sudo systemctl restart systemd-timesyncd
Shortly, the date command should display the current time.
|I/O tag||BCM pin||Description of configuration and functionality (for identification of BCM pins see https://pinout.xyz)|
|M.RPI_22_DI_UP||22||The pin configured as a digital input with a pull-up resistor (unconnected is 1, after connecting to the ground 0).|
|M.RPI_23_TRIGGER_UP||23||The pin configured as a counter of signal changes with 100-ms filter with pull-up rezistor. The trigger measures number of rising and falling signal edges (0V→3.3V and 3.3V → 0V).|
|M.RPI_24_TRIGGER_UP_TOON||24||The pin configured as a counter of rising edges with 100-ms filter with pull-up resistor. The trigger measures number of rising signal edges (0V→3.3V).|
|25||The pin configured as a counter of falling edges with 100-ms filter with pull-up resistor. The trigger measures number of falling signal edges.(3.3V → 0V).|
|M.RPI_26_DO||26||The pin configured as a digital output (values True sets at the output to 3.3 V, value Frue sets at the output to 0 V).|
|M.RPI_27_PWM||27||The pin configured as a pulse-impulse output whose width is configurable by writing a value (values 0-255 correspond to 0-100%)|
|M.RPI_REVISION||-||Returns the value of the hardware revision (number from "Revision" row, from file /proc/cpuinfo).|
The outputs of M.RPI_26_DO and M.RPI_27_PWM can be controlled (after connecting e.g. LED diodes to respective pins it is possible to see their flashes (pin 26) or change of LED's brightness (pin 27).
The output M.RPI_26_DO is in the automatic mode, it changes every 5 seconds according to the calculated trigger.
The transition between manual and automatic control is possible through the control dialog, which opens after clicking on the top button from two identical buttons labeled "GPIO port 26".
Switching the 0/1 values can also be conveniently done via the lower button.
The M.RPI_27_PWM output can be controlled directly by entering a value or by clicking on one of the up/down arrows.
The scheme also shows a chart with time trends of the individual I/O tags that are read from the D2000 Archiv.
The schema is by default displayed in English, in the System → User preferences menu it is possible to change the language by changing item Language from EN to SK or CZ.
Subsequently, both the interface and schema content are displayed in the selected language:
The D2000 installation does not include a software license key, so it works in DEMO mode (restart every hour). To enable time-unlimited DEMO operation, allow D2000 to send diagnostic telemetry to Ipesoft. To enable the telemetry, edit this configuration file /opt/d2000/instance.properties and set following values:
enable the telemetry
InstanceConfig.DiagCollect.Enabled = 1
if you use direct internet connection
InstanceConfig.Proxy.ProxyType = 0
if you use proxy
InstanceConfig.Proxy.ProxyType = 2
enter <proxy_address> and
InstanceConfig.Proxy.ProxyAddress = <proxy_address>
InstanceConfig.Proxy.ProxyPort = <proxy_port>
if the proxy server doesn't need authentication
InstanceConfig.Proxy.ProxyAuth = 0
if the proxy server needs authentication
InstanceConfig.Proxy.ProxyAuth = 1
enter < and
InstanceConfig.Proxy.ProxyUser = <user_name>
InstanceConfig.Proxy.ProxyPassword = <user_password>
If you are interested in generating a license key, please run /opt/d2000/bin/hwinfo. A file named info_<computername>_yyyy-mm-dd.hwi (e.g., info_raspberrypi_2018-09-13.hwi) will be created, based on which the license can be generated.
Then copy the license (LicenseRun.code file) to the /opt/d2000 directory and restart D2000.
Myapp application is configured with running Java (openjdk-8-jre is used). By changing a line
Kernel.UseJava = 1
Kernel.UseJava = 0
in file /opt/d2000/app/myapp/application.properties and following restart, it is possible to disable Java usage to reduce the memory requirements of the kernel (114 MB → 96 MB according to the output of the command "ps aux -sort -rss")
sudo apt-get install --no-install-recommends xserver-xorg
sudo apt-get install --no-install-recommends xinit
sudo apt-get install raspberrypi-ui-mods
sudo apt-get install --no-install-recommends raspberrypi-ui-mods lxterminal gvfs
then Google Chrome browser can be installed:
sudo apt-get install chromium-browser
You can read blogs about D2000 and Raspberry PI: