rszimm / sprinklers_pi

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

When using OSPi, Zone 1 is mapped to port 2 of shift register #10

Closed mikedevita closed 10 years ago

mikedevita commented 10 years ago

Putting a solenoid on the first port of the connector on the OSPi, and manually triggering Zone 1 does nothing.

If you move the solenoid to pin 2 of the connector on the OSPi, and manually trigger Zone 1, it will trigger.

This effectively makes it only possible to control 7 zones and not 8.

rszimm commented 10 years ago

That's actually by design. The first port is for the "master valve" or "pump". It will come on simultaneously with the actual zone output for any zone configured in the 'Zones' screen with the "Pump" option turned on.

If you don't need a master valve, you can fake the system into a full 8 zones by setting zones 1-7 with the pump OFF and then setting zone 8 with the pump ON. Then hookup zone 8 to the first output.

mikedevita commented 10 years ago

Holy crap that's confusing, but thanks! is this in the documentation?

rszimm commented 10 years ago

Yeah, it is a bit confusing, but a lot of people use the Master Valve / Pump feature, and once you set it up for the first time and assign names to the zones it won't be confusing after that.