rszimm / sprinklers_pi

Sprinkling System Control Program for the Raspberry Pi
GNU General Public License v2.0
310 stars 100 forks source link

PIFace... #24

Closed unmanagedtn closed 5 years ago

unmanagedtn commented 10 years ago

How are would it to use the piface with the software... what changes would need to be made? ref: http://wiringpi.com/dev-lib/piface/

sweeney4 commented 10 years ago

I don't have a PiFace but I do have the sprinkler system and have been using it for some time. I reviewed the PiFace web site and it looks interesting for limited control and display. I was wondering what you have in mind. For general control and display the mobile web tools by Richard Zimmerman are hard to beat. I use my Android phone or Ipad for display and control of the sprinkler system. Setting the sprinklers_pi schedule through the PiFace 16x2 display with an IR remote seems very awkward. However, I'd sometimes like to see the status of my sprinklers as I walk past the unit. That would be cool. You could do this with the PiFace or even just the bare 16x2 LCD display for $10.

While you could modify sprinklers_pi my guess is you could do this without any modification to Richard Zimmerman's code. Write a separate program in Python or C++ to monitor and then display the value of the I2C register that reflects the status of the sprinklers.

unmanagedtn commented 10 years ago

I guess I am confused as I thought that zimmerman's code used wieringPi Libs... The piface has only 0-7 or 8 outputs total... how would I go about making the changes... ref:https://www.sparkfun.com/products/11772