Does the automation board support capacitive moisture sensors? I have tried 3 different ones connected to the analog pins but I cannot get it to provide a reading. All report 0 volts.
My humidity sensor is also reporting 80% when other sensors in the house read 25-30% range. Is there a way to calibrate this without changing the code? Temperature on the same sensor seems ok.
My sensors look like the same models and pictures as the ones on your site but might have been different manufactures.
Thanks
After analysis of the logs you sent to me, seems that the ADC chip had a premature death. I'm sending you a new board.
Sorry for the inconvenience,
Regards,
Angelo
I tried what you suggested with the sensor connected to the wire and without and I never get 5V showing in the website readout. I do get 5V when I check it with my volt meter. I am using your compiled image 111d dated 2019-12-31. hardwareSettings are set to the default AutomationHat-v8. I did not edit the table. Board was bought as a Christmas gift so it has never been used yet for any other purpose.
Thanks for your help.
Yes the automation board support the capacitive sensors which have analog output, I tested the following model:
To test the board analog inputs I suggest the following procedure:
Unplug the cables that are eventually connected to the analog inputs. Go to "setting" page, in the sensor section identify the row corresponding to one of the analog inputs and press the "read" button. You will get the sensor reading every 2 seconds interval, the reading should be around zero (0.01), now use a wire to connect the 5v pin to the Analog pin, wait around 2 seconds to see if the reading go to 5.0, after that use the same wire but now connect the analog pin to the GND, the reading should be exactly zero.
If this is not working then there might be some problems with the software configuration, in such case I can provide additional support.
Regarding the other question, in recent SW version is possible to calibrate the sensor reading, you can go to the setting page and click the button "Sensor Calibration". You can chose to modify the "scale" value to a number lower than 1. After changing the values remember to click the "save" button.
Last thing, I assume that you have selected the specific configuration in the "hardwareSetting" page. Please note that if the SPI pin (GPIO09, GPIO10, GPIO11) have been used in previous hardware configurations for other purposes, then the system requires reboot before the new hardware setting takes action.
Let me know the result of the testing,
Regards,
Angelo