rszimm / sprinklers_pi

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

Zones not working #95

Closed encathal closed 7 years ago

encathal commented 7 years ago

I have the issue that the zones are not running on a schedule. The application shows them running but the relays don't activate. I have run some scripts to test the connections and the relays run. I have manually run a zone and the used a meter to test for signal and nothing. I keep wondering if something is up with the WiringPi. I am running this on a raspberry Pi 3 that has a 40 pin connector. I even found a layout that shows me how the wiringPi works with a 40 pin connector. Help please.

Richard.

nhorvath commented 7 years ago

Make sure you select direct negative mode if your relays trigger on ground. Also make sure you have them connected to the correct pins. Use the wiringpi pin numbers. The wiki has details.

On Aug 12, 2017 5:18 PM, "encathal" notifications@github.com wrote:

I have the issue that the zones are not running on a schedule. The application shows them running but the relays don't activate. I have run some scripts to test the connections and the relays run. I have manually run a zone and the used a meter to test for signal and nothing. I keep wondering if something is up with the WiringPi. I am running this on a raspberry Pi 3 that has a 40 pin connector. I even found a layout that shows me how the wiringPi works with a 40 pin connector. Help please.

Richard.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/rszimm/sprinklers_pi/issues/95, or mute the thread https://github.com/notifications/unsubscribe-auth/AAKE3I-KW2O8BN22ImHUFW_7SJxzfqzKks5sXhaWgaJpZM4O1hV1 .

encathal commented 7 years ago

Closer. So when I set it to direct negative all the relays trigger. But when I run a zone manually on or run a schedule nothing happens. The relays stayed trigger. When I change it to direct positive the same. Just and an FYI I am using a Sainsmart 16 relay board with a external power supply. I even disconnected the power supply during this and had the same results.

encathal commented 7 years ago

I got it working. Made the mistake of using voltage called on the relay and not of the Pi.