AM1011 on analog sensor board
- This topic has 1 reply, 2 voices, and was last updated 11 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
The AM1011 is a very affordable temperature and humidity sensor.
But how do you use it with OpenSprinkler or OSPi?
Connect the 4 wires as follows:
RED=red=VDD (+5V)
BLACK=black=GND
YELLOW=yellow=humidity at S0 (any analog sensor input)
WHITE=white=temperature at S1 (another, arbitrary analog sensor input)
Now set in the sensor configuration:
a) for S0/humidity:
Type=ASB – user defined sensor
Name=AM1010 hum
ID=0 (or the number of the analog sensor input)
Factor=100
Divider=3
Offset=0
Unit=Air Humidity %
b) for S1/Temperature
Type=ASB – user defined sensor
Name=AM1010 temp
ID=1 (or the number of the Analog Sensor Input)
Factor=120
Divider=5
Offset=3750
Unit=Degree Celsius °C
Hello, I connected the AM1011a sensor to the ASB and configured it as described in the previous post. The humidity is correct, but the temperature value is not. Could it be that either the factor (120), the divider (5), or the offset (3750) is incorrect?
At a temperature of 24 degrees Celsius, I get an output from the Analog Sensor Board of 4.32V and only 13.7 degrees.