From 7cfd8127b841e0f984a5700a6e25c5504030a968 Mon Sep 17 00:00:00 2001 From: Phil Howard Date: Wed, 23 Nov 2016 15:44:03 +0000 Subject: [PATCH] Automation pHAT draft --- draft/overlay/automation-phat.md | 90 ++++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 draft/overlay/automation-phat.md diff --git a/draft/overlay/automation-phat.md b/draft/overlay/automation-phat.md new file mode 100644 index 0000000..7751b4b --- /dev/null +++ b/draft/overlay/automation-phat.md @@ -0,0 +1,90 @@ + +#Automation pHAT + +Automation pHAT is a home monitoring and automation controller for the Raspberry Pi; with relays, analog channels, powered outputs, and buffered inputs. All 24V tolerant. + +To get the pHAT set up and ready to go you can use the one-line product installer: + +```bash +curl -sS https://get.pimoroni.com/automationhat | bash +``` + +Then import it into your Python script and start tinkering: + +```bash +import automationhat +automationhat.relay.one.on() +```