All Projects → pimoroni → Automation Hat

pimoroni / Automation Hat

Licence: mit
Python library and examples for the Pimoroni Automation HAT, pHAT and HAT Mini

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Automation Hat

Zynthian Ui
User Interface for Zynthian
Stars: ✭ 92 (-8%)
Mutual labels:  raspberry-pi
Smgate
用树莓派做v2ray透明翻墙网关
Stars: ✭ 96 (-4%)
Mutual labels:  raspberry-pi
Jagcs
Just another ground control station
Stars: ✭ 99 (-1%)
Mutual labels:  raspberry-pi
Processing Sound
Audio library for Processing built with JSyn
Stars: ✭ 94 (-6%)
Mutual labels:  raspberry-pi
Phpi
Event driven library for interfacing with Raspberry Pi GPIO in PHP
Stars: ✭ 96 (-4%)
Mutual labels:  raspberry-pi
Picamnn
Survelliance system with deep learning based people detection (YOLO)
Stars: ✭ 97 (-3%)
Mutual labels:  raspberry-pi
Magicblue
💡 Unofficial Python API to control Magic Blue bulbs over Bluetooth
Stars: ✭ 92 (-8%)
Mutual labels:  raspberry-pi
Dumpvdl2
VDL Mode 2 message decoder and protocol analyzer
Stars: ✭ 100 (+0%)
Mutual labels:  raspberry-pi
Pimenu
Simple fullscreen menu system for Raspberry Pi Touchscreen
Stars: ✭ 96 (-4%)
Mutual labels:  raspberry-pi
Wifimeshraspberrypi
Workshop to create a sensor application over a WiFi Mesh network
Stars: ✭ 99 (-1%)
Mutual labels:  raspberry-pi
Picamera
A pure Python interface to the Raspberry Pi camera module
Stars: ✭ 1,339 (+1239%)
Mutual labels:  raspberry-pi
Bbc Fdc
Floppy disk interface for Raspberry Pi
Stars: ✭ 96 (-4%)
Mutual labels:  raspberry-pi
My Raspberry
My Archlinux Raspberry PI setup
Stars: ✭ 98 (-2%)
Mutual labels:  raspberry-pi
Raspberry Pi Dramble
Raspberry Pi Kubernetes cluster that runs HA/HP Drupal 8
Stars: ✭ 1,317 (+1217%)
Mutual labels:  raspberry-pi
Iotpos
IotPOS, an open source Point of Sale software.
Stars: ✭ 99 (-1%)
Mutual labels:  raspberry-pi
Qtrpi
An easy-to-use environment to cross-compile Qt applications for Raspberry Pi from your desktop.
Stars: ✭ 93 (-7%)
Mutual labels:  raspberry-pi
Nextcloudpi
📦 Build code for NextcloudPi: Raspberry Pi, Odroid, Rock64, Docker, curl installer...
Stars: ✭ 1,340 (+1240%)
Mutual labels:  raspberry-pi
Fas
C Pixels-based graphical audio synthesizer implemented as a WebSocket server
Stars: ✭ 100 (+0%)
Mutual labels:  raspberry-pi
Swift Arm64
Swift for Arm64/aarch64 Servers and SBC's - Rock64, RaspberryPi3 and many more
Stars: ✭ 100 (+0%)
Mutual labels:  raspberry-pi
Nintimdo Rp
Raspberry Pi Gaming Console
Stars: ✭ 98 (-2%)
Mutual labels:  raspberry-pi

Automation HAT

Build Status Coverage Status PyPi Package Python Versions

Automation HAT is a home monitoring and automation controller featuring relays, analog channels, powered outputs, and buffered inputs (all 24V tolerant). This library will also work with Automation HAT's smaller siblings - Automation pHAT and Automation HAT Mini.

Where to buy

Installing

Full install (recommended)

We've created an easy installation script that will install all pre-requisites and get your Automation HAT, pHAT or HAT Mini up and running with minimal efforts. To run it, fire up Terminal which you'll find in Menu -> Accessories -> Terminal on your Raspberry Pi desktop, as illustrated below:

Finding the terminal

In the new terminal window type the command exactly as it appears below (check for typos) and follow the on-screen instructions:

curl https://get.pimoroni.com/automationhat | bash

Alternatively, on Raspbian, you can download the pimoroni-dashboard and install your product by browsing to the relevant entry:

sudo apt-get install pimoroni

(you will find the Dashboard under 'Accessories' too, in the Pi menu - or just run pimoroni-dashboard at the command line)

If you choose to download examples you'll find them in /home/pi/Pimoroni/automationhat/.

Manual install

Library install for Python 3

on Raspbian:

sudo apt-get install python3-automationhat

other environments:

sudo pip3 install automationhat

Library install for Python 2

on Raspbian:

sudo apt-get install python-automationhat

other environments:

sudo pip2 install automationhat

Development

If you want to contribute, or like living on the edge of your seat by having the latest code, you should clone this repository, cd to the library directory, and run:

sudo python3 setup.py install

(or sudo python setup.py install whichever your primary Python environment may be)

In all cases you will have to enable the i2c bus.

Documentation & Support

FAQ

What is the accuracy and resolution of the Automation HAT

The ADS1015 is a 12-bit ADC, but since the 12th bit is the sign-bit there are only 11-bits of resolution available for positive voltage readings. The input voltage for 24v channels is scaled from 0-25.85v (25.85 rather than 24 due to how the resistor divider is set up) to 0-3.3v.

Since the full-scale range of the ADC is set to 4.096v, this means that 0-3.3v gives only ~1649 possible usable values making the input measurement granularity somewhere around 0.015v (25.85 / 1649) for the 24v inputs and 0.002v for the 3.3v input.

More information on this topic can be found here: https://forums.pimoroni.com/t/automation-hat-accuracy/7252/3

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].