Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: Interval Plugin – Garage Controls – BETA #34071

    zither911
    Participant

    hi,

    where can I download your plugin?

    Louis

    in reply to: PHP based Interval Program #23769

    zither911
    Participant

    @ndboost wrote:

    Can someone chime in and provide some lamen term explanation of how the ipensprinkler interval program function
    def setShiftRegister(srvals) works? What do each of these defined pins map out to?

    I am trying to translate this python code to ruby.

    pin_sr_dat = 27 #Use for rev 2 Pi
    pin_sr_clk = 4
    pin_sr_noe = 17
    pin_sr_lat = 22

    Go watch the video i posted to understand the logic. the mappings are in this thread : viewtopic.php?f=28&t=109

    in reply to: PHP based Interval Program #23766

    zither911
    Participant

    hi,

    i’ve also started but am not clued up in PHP. so i’ll try to help.
    I’ll try and explain. Ray’s board uses a shift register to control the 8 valves. Go and read this to understand how a shift register works – http://bildr.org/2011/02/74hc595/
    Now that i hope you know how it works, you’ll understand the 4 wires you have to connect from the Pi to the sprinkler board.
    Also if you open his manual test program you will see his shift functions especially the shiftout one. etc
    So using the PhpGpio module, we can talk to the pins like he talks to them in Python.

    Hope this helps so far.

Viewing 3 posts - 1 through 3 (of 3 total)