
You are here
Hello,
I really enjoy playing around with the flyport and think you guys (and girls ;-) ) did a wonderful job.
The programmers guide is easy to understand and every example works flawless!
However, there is a small improvement and a bug I'd like to report for the SHT library:
1) improvement
please activate the pull-up resistor for the data line, this way you don't need the external pull-up on the data line and it's more "dummy-friendly" to get the SHT sensors working. If there is no external pull-up and you don't active the internal pull-up the readings are wrong (of course).
void float_pin(unsigned char io)
{
IOInit(io,inup);
}
2) bug
the formula for converting the humidity readings is implemented wrong:
*truehumid = ((*temp - 25.0 * (0.01 + (0.00008 * rh))) + rhlin);
correct:
*truehumid = ((*temp - 25.0) * (0.01 + (0.00008 * rh))) + rhlin;
3) improvement
please advice users in the SHT pdf that the factors for temp and humidity calculations need to be adapted for every application because they depend on Vdd and used resolution.
Regards and Thank you,
Michael
featured on





Michael
Michael
thanks for this useful post! I'll push the guys to change the SHT library. And the girl to announce the spread the word about this change! :-)
I'm delighted to read about a
I'm delighted to read about a SHT library and I assume this might support the SHT15 / SHT75 etc. thermal and humidity sensors from Sensirion.. but I can't find that library anywhere..
Got any hintsplease?
Andreas
Hi Ande,Unfortunately the
Hi Ande,
Unfortunately the spam-filter does not allow to post the right URL, so please just google for "OP-AN-004"
BR,
Michael
Thanks - I still have the
Thanks - I still have the problem. This is the end of the wiki URL I mentioned:
title=Special:Upload&wpDestFile=OP-AN-004-WIFI.zip
What I expect is that I may download a zip-file. What I get is this: Bildschirmfoto 2016-06-01 um 17.56.00.png
This is the page from where I started:
Bildschirmfoto 2016-06-01 um 17.59.27.png
Andreas