Go Down

Topic: SHT1x Temperature and Humidty Issue (Read 613 times) previous topic - next topic

langley1011

Hello, I have been trying to fix this for days. I am using an ARDUINO MEGA 2560 in pair with a SH1x to record temperature and relative humidity. I have attached my code, picture of boar layout and my results. Any help would be appreciated.

groundFungus

Quote
picture of boar layout
Nope.

The negative humidity values indicate a communication problem between your board and the sensor.

I presume that the sensor is on a module board or shield.  Can you post a data sheet for the module?
You will save everyone's time if you read and follow the forum guidelines.  :)          
https://forum.arduino.cc/index.php/topic,148850.0.html
and
https://forum.arduino.cc/index.php?topic=97455.0

langley1011

Not a single bit of code with digital input work in the slightest. I have since tried using analog inputs instead and got it working perfectly. After about 3 hours, my sensor started showing data errors ( -40 degrees C and -4 percent RH). I am attaching my new code, board layout, and the datasheet of my SHT sensor.

Go Up