Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MCP23017 plugin
#1
Hi,

I just wanted to put up a short note that I have started developing a plugin to control a relay board that is interfaced to a Raspberry Pi using a MCP23017 GPIO expander.
The code is very much in its infancy at the moment, and is really just a hack of the relayboard plugin.

My approach has been to abstract the hardware interfacing elements out of the SIP plugin and rather have it call 2 C programs which respectively initialise the MCP23017, and control valves.  This has the side effect that the plugin could be repurposed to interface to a different hardware layer by purely replacing the 2 C programs.

The code still needs tidying, but it looks like it is working so far.

I would be interested to know if anyone else has a use for this plugin.  (That would motivate me more to get it to a point where it can be redistributed.)

Regards,
Geoff.
Reply


Messages In This Thread
MCP23017 plugin - by geoffr - 2016 Nov 08, 11:41 PM
RE: MCP23017 plugin - by dan - 2016 Nov 10, 09:51 PM
RE: MCP23017 plugin - by geoffr - 2016 Nov 10, 10:40 PM
RE: MCP23017 plugin - by Matias - 2016 Nov 13, 04:00 AM
RE: MCP23017 plugin - by dan - 2016 Nov 17, 11:11 PM
RE: MCP23017 plugin - by geoffr - 2016 Nov 18, 01:01 AM
RE: MCP23017 plugin - by dan - 2016 Nov 19, 11:53 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)