SHT31-D Convert to Fahrenheit?

9mmReefer

New Member
View Badges
Joined
Sep 4, 2021
Messages
3
Reaction score
1
Location
Milwaukee
What state or country do you live in
Wisconsin
Rating - 0%
0   0   0
I have the SHT31-D working and giving me humidity and room temp data but the temp is in Celsius. I'm sure there is a way to convert this but I don't know what it would be and was hoping someone could help. Thank you.
 
The formula is simple to convert (0°C × 9/5) + 32 = 32°F where 0 can be replaced with your reading
 
Thank you, I understand the formula but I don't know where to put it in the program / code?

reefpi temp.jpg
reefpi temp2.jpg
 
If I am correct you have an analog file input which is fed by a python script. If that is the case you have to modify the python script to give you the right values
 
This sensor is supported by default I really have no idea where the file would be or the file structure of reef pi. If I knew where it was I'm sure I could modify it to make it work. Maybe if I take the SD card out and plug it into the computer I could see the file structure and find it there?
 
yes, sht31d has built in driver, so no file based workaround is required. I think i mentioned this in another place, unfortunately right now there is no way (other than calibration) to apply such a function on the sensor value. We have plans for this in future release.
 

IF YOU HAD TO TAKE A REEFING EXAM, WOULD YOU PASS?

  • Yes!

    Votes: 32 45.7%
  • Not yet, but I have one that I want to buy in mind!

    Votes: 9 12.9%
  • No.

    Votes: 26 37.1%
  • Other (please explain).

    Votes: 3 4.3%
Back
Top