HTML5: Best viewed in Mozilla Firefox.

This page will be moved to a new location: DCIUX

Header image

RPIsPLC.

Simple Raspberry Pi PLC.

Example with 8 in, 8 outputs and 8 analog inputs.

How to create a simple Raspberry Pi (model b) PLC usable for home automation.

An attempt to implement the PLµX project into a Raspberry Pi single-board computer.

Last modified: De Coninck Ivo

Project start date: 2014-02-05.

  1. What do you need to start?
  2. How to configure Raspberry Pi?
  3. Setup SSH on a Raspberry Pi.
  4. Installation of PLµX software and I2C.
  5. How to connect the hardware to the raspberry board.
  6. Creating a first Ladder Diagram.
  7. RPIsPLC first run.
  8. Rpi ADC Raspberry Pi, Analog to Digital Converter Example.
  9. To be continued. . . . .
rpi.simple.main.png
Fig1. - Raspberry Pi Simple PLC, with 24V interface, 8 inputs, 8 outputs and 8 analog inputs.

Top

What you need to get your Raspberry Pi PLC up and running.

Last modified:

  1. Raspberry Pi Model B 512MB RAM
    rpi.png
    Raspberrypi.org
  2. SAMSUNG - RASPBERRY-PI / PROG-8GB-USD - MEMORY, 8GB MICROSD, RASPBERRY PI, NOOBS
    This is a microSDHC card that comes with a SD adapter and is pre-programmed to contain the latest Raspberry Pi Linux distribution "Raspbian Wheezy".
    Wheezy is the development codename for Debian 7.0.
    rpi.png
  3. RASPBERRY PI PSU - RPI-PSU-UK-MK1 - POWER SUPPLY, RASPBERRY, 5V, 1A (5vdc 1A UK Micro USB power supply).
    rpi.power.png
  4. UTP Cable RJ45 CAT 5e
  5. GNUBLIN module-ADC provides 8 analog inputs (8-bit resolution).
    The GNUBLIN modules ADC is used to measure voltages.
    gnublin.adc.png
    GNUBLIN Module-ADC.
    PLµX ADC interface.
  6. I2C/GPIO Digital 24 volt IO-interface.
    gpio.8in.out.png
    PLµX interface card.
  7. Ribbon cable and idc connectors.

Next >

Top

Some video examples.

Last modified:


First test video (ogv). Very fast loop of eight outputs.

Best viewed in Mozilla Firefox.

Video (ogv). 6 timers, 3 flashing outputs.

Top

Leave a Message.