CraftBeerPi Plugin
Project description
CraftBeerPi4 PCF8574 IO Actor Plugin
PCF8574 based Actor
Plugin will add an PCF8574Actor which has to possibility to define up 8 additional actors to your pi. The board needs to be connected via I2C Theoretically, multiple boards (up to 8) could be connected with different addresses to make up to 64 IO ports available. However, the pulgin supports one board.
Installation:
- sudo pip3 install cbpi4-PCF8574-GPIO
- or install from repo: sudo pip3 install https://github.com/avollkopf/cbpi4-PCF8574-GPIO/archive/main.zip
- cbpi add cbpi4-PCF8574-GPIO
Usage:
- Add an actor and select PCF8574Actor
- Select a pin you want to switch
- Select 2 or 5 seconds for the Samplingtime (Will define the 'Resolution' for Power settings)
- Select Inverted yes or no. No means, that the pin will be on high if the sensor is active
Hardware requirements:
Some information can be found here: https://www.instructables.com/PCF8574-GPIO-Extender-With-Arduino-and-NodeMCU/ Connect the device to 5 Volt, GND and your I2C bus. Check the Address ans set it to a different address if required According to the datasheet, the pins can handle up to 25 mA. If you want to trigger an SSR or a relais, it is recommended to add a darlington array like the ULN2308
Changelog:
- 09-12-21: (0.0.1) Initil releasa
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file cbpi4-PCF8574-GPIO-0.0.1.tar.gz
.
File metadata
- Download URL: cbpi4-PCF8574-GPIO-0.0.1.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.4.2 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8b334f06958c1e0bc47c2ef99e65d7d201c6c7602c99f6bc5206ac6a0e9fe95 |
|
MD5 | f0f407a0ab2b240ecedb36982a5233dc |
|
BLAKE2b-256 | f7089bb9bce6132549581cadac444ee9638195689c26332c9cf97c4a5f2aaa8b |