About Raspberry Pi
Raspberry Pi is a low-cost, credit-card-sized computer that can be used for a variety of purposes. Here are some examples of what you can do with Raspberry Pi:
- Build a retro arcade machine
- Create a robot
- Play Minecraft
- Broadcast an FM radio station
- Build a smart doorbell/intercom system
- Cut the cord with Kodi: A Raspberry Pi media center
Step-by-step Guidelines
To turn a Raspberry Pi into a PLC, you can install OpenPLC runtimes on it. Here are the steps to get started :
- Automatically install git (if this is not pre-installed).
- Automatically distribute the install script for OpenPLC and install.
- Access the OpenPLC runtime server on the remote Raspberry Pi with the built-in qbee VPN (this will work across firewalls).
- Create a test program for the PLC based on “Hello-World”.
- Remotely configure the PLC, upload the program file and start the PLC execution.
You can find more detailed instructions at qbee.io.
About OpenPLC
OpenPLC is an open-source PLC software that allows you to execute your PLC programs on a multi-platform, portable, PLC runtime. The OpenPLC runtime was designed with portability in mind, allowing it to be ported to many different hardware platforms, from an 8-bit AVR in an Arduino board to a 64-bit Xeon in a server rack. Its core was written in pure C, allowing it to be ported to many different hardware platforms .
You can download the OpenPLC editor for free and use it to upload PLC code directly to any board or system running OpenPLC runtime .
Here are some examples of OpenPLC projects:
- PLC Ladder Logic on an Arduino: Introduction to OpenPLC
- Examples of OpenPLC IEC 61131-3 programming languages
- Creating Your First Project on OpenPLC Editor
Looking for a Expandable PLC for your next project ? Click to learn more!