OpenSprinkler Forums Hardware Questions OpenSprinkler Pi (OSPi) Analog input support

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #37456

    karolis
    Participant

    Hi,

    Since I have a bit of experience with rpi, I am considering to buy the ospi version of open sprinkler.

    I have read somewhere that there may be difficulties reading analog sensor data on the pi version compared to the arduino opensprinkler. Is this true? I would like the sprinkler to operate depending on the soil moisture / humidity sensor data and I don’t have a problem to write my own software for this. Does the ospi hardware support this?

     

    Here is the sensor that I have in mind:

    http://www.vegetronix.com/Products/VH400/

     

    And I would also like to read temperature sensor some time in future and create some RRD graphs…

     

    Wondering if ospi is the right choice for this.

     

    thanks,

    Karolis

    #37478

    Ray
    Keymaster

    OSPi has an on-board 4-channel ADC (PCF8591) that you can use to read analog sensor values. Although the firmware doesn’t have built-in support to read the ADC, there are plenty of C++, Python, or command line script code you can find to read the ADC. For details, check the OSPi user manual page 7:
    http://rayshobby.net/docs/ospi14_manual.pdf

    #37483

    karolis
    Participant

    Thanks, ordered one, will see how it goes 🙂

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

OpenSprinkler Forums Hardware Questions OpenSprinkler Pi (OSPi) Analog input support