Pi Grow Moisture Sensors without Pi Grow Hat

I plan on using the pi grow moisture sensors connected to a pi4 and not a pi zero. I also want to use more than 3 moisture sensors so I didn’t buy the pigrow hat for both the above reasons. On the product page it states that the sensors can be used without the pigrow hat.

Pinout: https://cdn.shopify.com/s/files/1/0174/1800/files/moisturesensorpinout.png?v=1600423302

Now my problem is the pinout doesn’t make any sense so I don’t know which of the 3 pins in the sht connecter is vdd, gnd and signal (I’m guessing signal is middle based on the pinout but lost with the others) can anyone help me?

I have one other question, can the sensors be plugged direct into the gpio pins and read? Or will I need to use an ADC? I can’t find if they are analog or digital sensors

Many thanks

When looking at the sensors from the same angle as the shop photo the pins, from left to right, are GND, Data, VDD. The red pads on the pinout diagram are the pads where the connector attaches to the boards!

They are digital sensors that give out a sequence of pulses - you can read the moisture level by hooking the data pin up to a GPIO and monitoring the frequency of the pulses (you can see how Grow does it here).

1 Like

Awesome thanks alot hel that’s perfect

I had seen the code in git and was going to try that anyway before buying an ADC but thought I’d ask whilst I had the other query