Git Product home page Git Product logo

cbpi4-pcf8574-gpio's Introduction

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

cbpi4-pcf8574-gpio's People

Contributors

avollkopf avatar

Watchers

 avatar

Forkers

walidbadar

cbpi4-pcf8574-gpio's Issues

Add more ICs

Is it possible to implement the use of more PCF8574 ICs?

I am assembling equipment to control 12 fermenters using PT100, I needed to expand more IOs that will be responsible for activating the valves of the fermenters, which will be 2 per fermenter (heating/cooling). I intend to leave the RASP GPIOS. only for the CS pins of the MAX modules.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.