The new PiXtend V2 board at a glance
Balanced Trio

© Lead Image © bluedarkat, 123RF.com
The PiXtend board extends the Raspberry Pi with many useful interfaces and functions for new target groups.
The PiXtend board [1] opens numerous possibilities for the Raspberry Pi and provides additional flexibility, not only by the hardware, which meets industry standards, but also because of its support for professional software. Recently, the new PiXtend version 2.0 [2] was released (Figure 1).
Alternative
Manufacturer Qube Solutions provides the new board in three forms: as a plain vanilla extension board and as the ePLC Basic and the ePLC Pro. The last two alternatives include a Raspberry Pi 3 (RPi3) and a pre-installed operating system tailored to the respective application.
The ePLC Basic (~EUR240) is intended for easy installation in devices and for developing programs. The Pro version has everything you need for deployment as a professional-grade industrial programmable logic controller (PLC; a digitally programmable device for controlling or regulating a machine or system): a metal case suitable for mounting on a top-hat rail, which explains why the Pro version costs around EUR290. If you are unsure, start with the Basic version and retrofit the housing later. The PiXtend V2 S extension board is aimed at users who already own a Raspberry Pi: Neither the RPi3 nor an operating system are included, but it only costs around EUR165.
The PiXtend V2 is not intended to replace the previous version 1.3 board. Instead, it offers users who want to use the board in control systems a more cost-effective and space-saving alternative. A glance at the technical data of the PiXtend V2 will reveal whether it is suitable for the desired purpose.
Technology
The PiXtend V2 hardware is designed for practical use; the board is well thought out, like its predecessor, and components are almost exclusively surface mount, so that it is a good third smaller than its predecessor and accordingly costs a little less than version 1.3. Table 1 provides an overview of the various inputs and outputs.
Table 1
Technical Data
Interface | Details |
---|---|
Digital Inputs |
8x (3.3/5/12/24V) |
Digital Outputs |
4x (max 30V, 0.A each) |
PWM/Servo Outputs |
4 (2x8, 16 bits each) |
Relays |
4x (max 230V, 6A) |
Analog Voltage Inputs |
2x (0-5V/0-10V) |
Analog Voltage Outputs |
2x (0-10V) |
GPIOs |
4x (5V) |
Serial Interface |
RS-232 |
Real-Time Clock (RTC) |
RTC with battery buffer |
Sensor Support |
Up to 4 DHT11/DHT22/AM2302 sensors (temperature and humidity) |
Transmitter (433MHz) |
Slot; transmitter not included |
Voltage Regulator |
Onboard; input 12-24VDC (max 30V), output 5VDC/2.4A (powers PiXtend V2 S, Raspberry Pi, and connected USB devices) |
Retain/Persistent Memory |
32B flash EEPROM |
Compatibility |
Raspberry Pi B+, 2B, 3B |
Certification |
CE (EU consumer safety, health, and environmental conformity), RoHS (restriction of hazardous substances) |
The digital outputs deserve special attention: Version 2 works in PNP mode (version 1.3 uses NPN mode). PNP mode is used in industrial controls (PLC standard), and the operating voltage is at the output on switching, whereas in NPN mode, it switches to ground. The advantage of PNP mode is that the systems react in a more fault-tolerant way, because no permanent operating voltage is present at the consumer ends, in contrast to NPN mode.
Another novelty is persistent memory, which can store status information in the controller permanently, even if you switch it off or the power fails (i.e., an unforeseen power failure means that there is not enough time to write the data to an SD card). If the operating voltage drops below 19V, the PiXtend V2 microcontroller saves the residual data in flash memory in just 5msec. This technology can otherwise only be found in very expensive industrial controls.
Supported Software
Codesys. As with the predecessor, version 2 of the PiXtend board has extensive software support: Codesys [3] is a hardware-independent programming system supported by many manufacturers in the field of professional industrial controls.
Codesys implements the IEC 61131-3 [4] standard and supports the creation of web visualizations that deliver data as HTML from a web server for display on all common browsers. The open Codesys system allows for an easy exchange of programs developed on different hardware.
Linux Tools. The functions of PiXtend V2 can be tested with Linux tools, and the board can be programed in C. SD card images for the PiXtend come with these tools pre-installed, which use Gordon Henderson's WiringPi library, also integrated into the images.
The pxauto2s
tool provides a graphical interface for the Linux console, where you can read and set all values and settings of the board. It exchanges data with the hardware 100 times per second, which makes it very easy to test the basic functions of the board.
With the pixtendtool2s
tool, you can change and read out the settings directly in the shell, allowing you to develop small scripts quickly that perform simple control tasks, for example, with FHEM [5], a home automation server that allows easy builds of smart home solutions. FHEM is open source software that controls components from almost all professional manufacturers. If required, you can install a large number of modules for various items of hardware on the server and connect them to each other in a central interface.
Python. The popular Python scripting language is often used for development in the IoT area. It has evolved over the past decades, with libraries for almost every scenario imaginable to make your work easier.
OpenPLC. This completely free software serves as the basis for PLCs. Because it is very easy to install and operate, it is often used in training and studies. The OpenPLC project supports programming language standards according to IEC 61131-3:
- IL (instruction list): text-based, comparable to Assembler.
- LD (ladder diagram): graphical, like an electric circuit diagram.
- FBD (function block diagram): graphical, similar to a logic circuit diagram.
- SFC (sequential function chart): graphical, a kind of state diagram.
- ST (structured text): text-based, high-level language based on Pascal.
FourZero. The FourZero [6] platform supports the development of IoT and automation applications. It abstracts dependencies on the deployed hardware, enables system-level tests, and prevents redundant developments. All these features significantly accelerate the development process and reduce project costs. FourZero uses a decentralized approach.
STEP. The Standard for the Exchange of Product (STEP) Model Data [7] – ISO 10303, the computer-aided design (CAD), manufacturing (CAM), and engineering (CAE) standard for describing product data and partly adopted in German DIN standards – is a text-based CAD format that virtually any design software supports. With the STEP model, it is possible to design the PiXtend board for a control cabinet or a system, making it easier for mechanical engineering companies to integrate the hardware into their systems. The STEP model also makes it very easy for 3D printer owners to create precisely tailored housings for the board.
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Direct Download
Read full article as PDF:
Price $2.95
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Find SysAdmin Jobs
News
-
OpenMandriva Lx 23.03 Rolling Release is Now Available
OpenMandriva "ROME" is the latest point update for the rolling release Linux distribution and offers the latest updates for a number of important applications and tools.
-
CarbonOS: A New Linux Distro with a Focus on User Experience
CarbonOS is a brand new, built-from-scratch Linux distribution that uses the Gnome desktop and has a special feature that makes it appealing to all types of users.
-
Kubuntu Focus Announces XE Gen 2 Linux Laptop
Another Kubuntu-based laptop has arrived to be your next ultra-portable powerhouse with a Linux heart.
-
MNT Seeks Financial Backing for New Seven-Inch Linux Laptop
MNT Pocket Reform is a tiny laptop that is modular, upgradable, recyclable, reusable, and ships with Debian Linux.
-
Ubuntu Flatpak Remix Adds Flatpak Support Preinstalled
If you're looking for a version of Ubuntu that includes Flatpak support out of the box, there's one clear option.
-
Gnome 44 Release Candidate Now Available
The Gnome 44 release candidate has officially arrived and adds a few changes into the mix.
-
Flathub Vying to Become the Standard Linux App Store
If the Flathub team has any say in the matter, their product will become the default tool for installing Linux apps in 2023.
-
Debian 12 to Ship with KDE Plasma 5.27
The Debian development team has shifted to the latest version of KDE for their testing branch.
-
Planet Computers Launches ARM-based Linux Desktop PCs
The firm that originally released a line of mobile keyboards has taken a different direction and has developed a new line of out-of-the-box mini Linux desktop computers.
-
Ubuntu No Longer Shipping with Flatpak
In a move that probably won’t come as a shock to many, Ubuntu and all of its official spins will no longer ship with Flatpak installed.