PROFIBUS on Raspberry Pi
Image preview of raspipb-details.jpg

The PROFIBUS-on-raspi project aims at building a PROFIBUS protocol stack with custom hardware and software on the Raspberry Pi.

Image preview of et200s-small.jpg

We are currently able to talk to a Siemens ET-200S slave, read its inputs and write to the outputs. So the basic hardware (OSI layer 1) is implemented and works as expected. Software (OSI layer 2 and 7) is work in progress. Most of the implemented features work correctly. So the Raspberry Pi acts as a DP-Master (class 1) with the current stack.

The hardware is based on:

In real applications, the PROFIBUS should be electrically isolated from the rest of the PHY by using an isolated RS-232-to-RS-485 converter. These converters are more expensive, though.

In total we need hardware at the price of about 55 Euro to get a working PROFIBUS DP-Master.

The awlsim Soft-PLC software can be used to control hardware connected to PROFIBUS-DP via PROFIBUS-on-raspi.
See the awlsim page for details.

Latest bleeding edge raspi-profibus can be downloaded using the Git version control system as follows:

git clone git://git.bues.ch/raspi-profibus.git

or by downloading the raspi-profibus snapshot archive.
To browse the Git repository online, go to the gitweb interface.
A mirror of the repository is available on Github.

Copyright (C) Michael Büsch
Licensed under the terms of the GNU General Public License version 2 . See the sourcecode for details.

Updated: Sunday 17 August 2014 16:55 (UTC)
https (SSL) encrypted
xhtml / css