OpenSprinkler Forums Hardware Questions OpenSprinkler Pi (OSPi) Current reading like OS3

  • This topic has 4 replies, 2 voices, and was last updated 7 years ago by Ray.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #47895

    951calguy
    Participant

    How hard is it to get a current reading on OSPi like you guys have on OS3?
    is there a step by step?

    #47983

    Ray
    Keymaster

    Not too hard — there is 0.2ohm current sensing resistor combined with an op-amp based precision rectifier. The signal can then be fed into the ADC (on OpenSprinkler, the microcontroller itself has ADC pins, whereas RPi doesn’t have built-in ADC but OSPi has a PCF8591 ADC chip on board).

    #48048

    951calguy
    Participant

    thanks Ray. I have been able to build my own OSPi but I am not that technical yet, so any way to tell me exactly where these parts would go on the board? Also part numbers and where to get them from? Thank you again Ray.

    #48302

    951calguy
    Participant

    Can anyone else help with this?

    #48414

    Ray
    Keymaster

    If you download the OS3.0 main controller EagleCAD files:
    https://github.com/OpenSprinkler/OpenSprinkler-Hardware/tree/master/OS/3.0/Master
    and open the .sch in EagleCAD, you will see a section that looks like below. That’s the precision rectifier circuit. What it does is to rectify the AC voltage that falls on the 0.2ohm current sensing resistor to DC voltage, then feed that to an ADC pin.

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

OpenSprinkler Forums Hardware Questions OpenSprinkler Pi (OSPi) Current reading like OS3