Embedded systems
CAN applications for the Raspberry Pi
As part of their cooperation, Janz Tec and Emtas are offering a new solution: A Raspberry Pi system for CAN communication. With the open source tool 'horch', the embedded computer can be used as a data logger, CAN gateway or for troubleshooting.
The Raspberry Pi computer 'emPC-A/RPI' from Janz Tec is now supplied in combination with various CAN applications from Emtas. The new bundle of CAN applications supplied includes programs for remote access to CAN/CANopen networks and for developing your own CAN and CANopen applications. The aim is to provide users with a cost-effective and flexible gateway system.
The integrated CiA-309 gateway allows access to CANopen networks via a network connection. The gateway can also act as a CANopen master and therefore send NMT commands in addition to standard services such as SDO and PDO. The node number can be set when the program is started. The gateway provides a TCP server on a configurable port to which TCP clients can connect. Communication takes place via ASCII characters. The software is supplied in a free demo version on every device. It contains all the features of the full version and is only limited in its runtime.
Integrated open source tool 'horch'
Prefabricated examples for evaluating CANopen applications are also integrated in the scope of delivery of the 'emPC-A/RPI'. The examples implement the CiA 401 profile for generic I/O modules. They are designed to enable testing and implementation of SDO, node guarding, heartbeat, PDO and EMCY services. The examples use the SocketCAN interface of the emPC A/RPI.
The integrated open source tool 'horch' is an application for converting CAN Layer 2 messages into text form. On the one hand, it enables the display and recording of CAN messages on an emPC A/RPI. In addition, 'horch' can also work as a server that transports CAN Layer 2 messages to a client via TCP/IP. The embedded computer can thus be used as a data logger, for troubleshooting or as a CAN gateway.










