Code Monkey home page Code Monkey logo

pcf8574_8ch_relay's Introduction

pcf8574 connected to 8channel relay board controlled via i2c off a raspberry pi and libwiring
---------------------------------------------------------------------------------------------
this lets you have control over 8 high current channels using just usb power and raspberry pi + additional $22  dollars or so.

build with:

make



ch_control 5 1 - turns on channel 5

ch_control 6 0 - turns off channel 6

super simple


i2c to 8bit gpio board: http://www.amazon.com/Expansion-PCF8574-Expander-Evaluation-Development/dp/B00DUO17J6/ = $10
8 channel relay board:  http://www.amazon.com/Kootek-Channel-Module-Arduino-Raspberry/dp/B00C8O9KHA/ = $12


the jumper on the relay board should be in JD-VCC position

pcf8574_8ch_relay's People

Stargazers

EXPRMNTR avatar

Watchers

Gennady Gurov avatar

pcf8574_8ch_relay's Issues

About pcf8574 io problem

hello
I dont know how can i control each io port and make them output high or low.Does the io can be controled by send something to the address such as 0x08 0x00? I am a beginer of the i2c i cant understand how to make a driver from the datasheet. ps:My running environment is raspberry pi(arm v6)linux I use python

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.