I got the hat board, relay board and two sensors. The relays works. But the sensor.. don't know what I'm missing. I connected it to AN0, and I assume the ground is green/yellow. Also tried it on GPIO21.
After a while I noticed you can load different presets in HardwareSetting, so I put chose Automationhat 10 (also tried automationhat 10+hygro). After that, I went to Settings and pressed read on AN0. Voltage shows 00.00-00.02v. What am I missing?
Hi, the "volt" indication was not correct, I removed it in latest version. You can use % as after calibration you should get the minimum to zero and maximum to 100. The threshold selection depends on many factors, what I normally do is to set the threshold around 70% then I adjust it according to the observation of the plant.
I can check it later on, if it needs. The other two works, so it's fine for me!
One other question though.. I'm looking at the AutoWatering setting. "Sensor threshold" uses volt, and has min 2.0 and max 4.0. What unit/numbers am I supposed to use there? Does it go by the same moisture numbers in the hardwaresetting? which is % for me. And what would be a good starting point? I assume I'll use 0-100% moisture.. and could use like 40-50% - 80%?
About the GPIO PIN 21 and 24, it seems unlikely that both of them have problems as I test all the PIN before shipment. If you have time, can you try the following procedure?
First, you can save your current configuration by going to "Setting" and click "DownloadConfigFiles", a link will appear, you can right click over it and download the file. so you can reload it after the test is finished.
1) Go to HardwareSetting "edit table" and remove the 3 rows which include the pin 21 and 24.
2) click "confirm and save"
3) Add a row for the moisture sensor for the PIN 24, then confirm and save.
4) reboot the raspberry (disconnect and reconnect the power will be ok)
5) test if the sensor works on pin 24
Then you can reload your saved configuration using "setting" and "configuration upload" section.
This test is to understand if there was some problem with the configuration when updating the PIN number.
Regards,
Angelo
Yes, you can use the pwr_comm
Oh, and another thing. Right now I'm using usb c for the raspberry, and a power adaptor for the valves. To use the power adapter only (through a step down), I just connect it to pwr_conn, right?
Can you add another row for another pin like for example the GPIO PIN 18 and make a test also on that pin with the sensor? As you have two sensors let's try both of them.
The configuration looks ok, except for the"oneshot" which should be "periodic" but this is not going to influence the reading.
I also noticed that if the sensor was connected while I was making the configuration, then to make it works I had to detach and reattach the sensor.
Hello,
I suppose we are speaking about my Digital hygrometers, please check the instructions here in this page:
Being a digital sensor it should be connected to the GPIO.
As you will see in the above link, it is required to go to "Hardwaresetting" page and add one row to the hardware table with the sensor configuration. Make sure that there is no other configuration in the table using the same PIN that you intend to use for the Sensor.
The Blue is the GND and the Yellow/green is the DAT which should be connected to the GPIO.
Let me know for any question,
Best regards,
Angelo