Skip to main content

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:

Usage:

  • Configure the PCF8574 I2C Address in the cbpi global settings.

PCF8574 I2C address Settings

  • Add an actor under Hardware/Actor and select PCF8574Actor
  • Select the pin you want to switch (p0 to p7)
  • 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:

  • 10.06.23: (0.0.6) bump version to release
  • 02.06.23: (0.0.6.rc1) Added cbpi4 version requirement
  • 07.04.23: (0.0.6.a1) Added fucntions for plugins settings selection branches of server and ui
  • 11.05.22: (0.0.5) Updated README (removed cbpi add)
  • 10.05.22: (0.0.4) Removed cbpi dependency
  • 10.12.21: (0.0.3) Updated README
  • 09.12.21: (0.0.2) Bug Fix for power
  • 09-12-21: (0.0.1) Initial release

Metadata

Release files for cbpi4-PCF8574-GPIO 0.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cbpi4-PCF8574-GPIO 0.0.6
File Size Uploaded
cbpi4-PCF8574-GPIO-0.0.6.tar.gz 16.6 kB Details

Release files / cbpi4-PCF8574-GPIO-0.0.6.tar.gz

Download URL cbpi4-PCF8574-GPIO-0.0.6.tar.gz
Size 16.6 kB
Tags Source
SHA-256 checksum
How to use checksums
97c760e79cd140542be1a45af3d1bbb59096d1f31819feb7dbdb9caf6d7a9614
BLAKE2b-256 checksum
How to use checksums
9957a5655d42ec4c51e4e81db8a7901229fa62729f78a3f5736a4a8a9e8815da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.13

Release history Release notifications | RSS feed

This release

0.0.6 This release

1 release file

0.0.4

1 release file

0.0.2

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page