Close
0%
0%

DIY SCADA / smart home

A DIY smart home system the SCADA way...

Similar projects worth following
It controls lights, heating, ventilation, a robot vacuum cleaner, and even an automated cat feeder. Its Levels referring to the diagram Functional levels of a manufacturing control operation (see 2. in details) are:

Level 0: field devices
Sensors: DHT11, DHT22, BH1750, HC-SR501, DS18B20
Actors: stepper and DC motors, solenoid valves, radio-controlled plugs and relays (433Mhz), IR-remote controlled devices

Level 1: I/O modules
Remote input/output (RIO) modules made from Arduino's which sends the sensor data to the CodeSys software PLC and directly controls critical functions (as feeding the cats, positioning roller blinds).
Additionally a Pixtend I/O Board is connected to a Raspberry PI.

Level 2: supervisory
A Raspberry PI with CodeSys software PLC and graphical HMI which controls

Level 3/4: coordinating
A Raspberry PI With Node-RED and Grafana to collect and store all my data. And Alexa voice control.

1.  Demo of graphical HMI and Alexa voice control.

2. Functional levels of a manufacturing control operation (source:https://en.wikipedia.org/wiki/SCADA

20191004_135146.gif

Quick Demo of door monitoring

Graphics Interchange Format - 6.53 MB - 10/12/2019 at 05:32

Preview
Download

20190930_174021.gif

Quick Demo of auto-refill function

Graphics Interchange Format - 12.91 MB - 10/05/2019 at 05:55

Preview
Download

20190929_121927.gif

Quick Demo of graphical HMI and Alexa voice control

Graphics Interchange Format - 10.46 MB - 09/29/2019 at 10:22

Preview
Download

  • 2 × Raspberry Pi 3 Software PLC and Grafana+NodRED
  • 5 × Arduino Uno / Mega 2650 Remote I/Os (cat feeder, door alarm, ...)
  • 1 × 1kg Load Cell and HX711 A/D converter Measures how much cat food is left in the bowl
  • 22 × RCS 1000 N (Brennenstuhl) 433,92 MHz wireless control socket Cheap but reliable Actor for mains powered devices
  • 2 × Generic 433MHz sender To transmitt to the wireless controled socket

View all 15 components

  • > monitoring the front door <

    stefan.schnitzer6 days ago 0 comments

    I never wanted to control the door lock via my smart-home system. 
    It always seemed too risky. 

    So I added the capability to only monitor the state of the front door (open/closed) and the lock of the door (locked/unlocked). 

    The door state is monitored with a magnet and reed switch combination, the lock via an inductive proximity switch on the frame.

    The states are captured with my Arduino remote I/O 

    (https://hackaday.io/project/167904-diy-scada-wireless-remote-io)
    and sent to the software PLC. 

    Read more »

  • implementation of functional levels in my smart-home

    stefan.schnitzer10/08/2019 at 12:58 0 comments

    A diagram that shows the implementation of functional levels in my smart-home:
    Functional levels of DYI SCADA Smarthome

    Level 0: field devices
    Sensors: DHT11, DHT22, BH1750, HC-SR501, DS18B20
    Actors: stepper and DC motors, solenoid valves, radio controlled plugs and relays (433Mhz), IR-remote controlled devices

    Level 1: I/O modules
    Remote input/output (RIO) modules made from Arduino's which sends the sensor data to the CodeSys software PLC and directly controls critical functions (as feeding the cats, positioning roller blinds).
    Additionally a Pixtend I/O Board is connected to a Raspberry PI.

    Level 2: supervisory 
    A Raspberry PI with CodeSys software PLC and graphical HMI which controls 

    Level 3/4: coordinating
    A Raspberry PI With Node-RED and Grafana to collect and store all my data. And Alexa voice control.


    (What I mean with Remote I/Os: https://en.wikipedia.org/wiki/Remote_terminal_unit)

    (Remote I/Os in my Projekt: hackaday.io/.../167904-diy-scada-wireless-remote-io)

  • water auto-refill for endless coffee supply

    stefan.schnitzer10/05/2019 at 06:19 0 comments

    The simplest function of the system is also one of my favorites. It automatically refills the water tank of my coffee maker. All it needs is a float switch and a solenoid valve that lets fresh tap water flow in the tank.

    Thanks to the SCADA like the design of my smart home system it is easy to derive the water usage from the time the valve was open (@ Level 3/4: A Raspberry PI With Node-RED and Grafana). 

    Every step up on the following graph represents a refill of the tank.

    Don't worry there are some safety functions implemented in Level 2: (A Raspberry PI with CodeSys software PLC ) of the system. Such as maximum filling time or only refill when someone is at home.

    And it is possible to trace all actions within Grafana:

  • Finally, after 3 years I installed the last 433MHz receiver / ​remote switch.

    stefan.schnitzer09/30/2019 at 18:55 0 comments

    Finally, after 3 years I installed the last 433MHz receiver / remote switch.

    Since I recently got a 3D-printer I made a simple case for it.

View all 4 project logs

Enjoy this project?

Share

Discussions

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates