1 of 13

Automaton

Autonomous control with Raspberry Pi and Phidgets

2 of 13

Uses

Aquaponics/hydroponics

Home Automation

Beer Brewing

lots of other stuff...

3 of 13

My Background

Gardening

Flash

PHP/MySQL

Python

Make Controller

Hydroponics

Aquaponics

4 of 13

Core

Hardware:

  • Raspberry Pi
  • Phidgets
  • WiFi

Software:

  • ZMQ
  • Greenlets
  • gevent
  • Gunicorn
  • Web Sockets
  • SQLite
  • Flot

5 of 13

Architecture

6 of 13

Publisher, Subscriber and RPC

Every component is at least one of these

Node: Publisher, RPC

Trigger: Subscriber

Sensor: Publisher(kinda)

Output: RPC

Input: Publisher

Manager: Subscriber, Publisher, RPC

Client: Subscriber, RPC

7 of 13

Node

Raspberry Pi

Phidgets InterfaceKit 8/8/8

Edimax Wifi dongle

USB and WiFi... it's the future!

8 of 13

Sensors

Temperature

Humidity

PH

Light

Distance

Motion

anything that can output a range from 0v-5v.

9 of 13

Outputs

Simple state of on or off

Examples

    • Lights
    • Fans
    • Pumps
    • Motors
    • LED's

10 of 13

Inputs

Control outputs

    • Switch
    • Motion detector
    • Liquid Level

11 of 13

Triggers

Turn on or off any output based on any range from a sensor

Turn on or off any output based on the current time

Turn on or off any output based on an Input on or off

12 of 13

Manager

Single point of contact for Client to all Nodes.

Creates unified Subscriber and RPC endpoint for Client

Manages RPC delivery based on node name

13 of 13

Client

Dashboard

    • Realtime sensor
    • Control Outputs
    • View Inputs
    • Historical View

Admin

    • Add nodes
    • Edit nodes