SHT15 Humidity and Temperature Sensor - SHT15 Breakout

Funny - I was playing aruond w/ the settings earlier and chose cumulative sevearl times, then it shows setting are saved - and I’m right back at viewing the same graph. I’ve also (seperately) adjusted the amoutn of data points to display to max out at 2000 - again, it shows the same default display. I tried a few different browsers to see if that might be it - but no luck. I’m only logging every 30 min’s now, which should be about 96 dots / day I can’t seem to view beyond 5/8 (for today, 5/11). Minor points.

@h2ogood

I was experiencing the same thing after clicking Cumulative also but I figured it was because my unit was offline at the time.

I’m sure @aguspg will chime in here in the near future with some feedback. Ubidots has always been rock solid for me.

Also I think you can download all the data over time from Ubidots and display it via a Spreadsheet.

Google spreadsheet’s was a real pain in the ass and never really worked properly for me over the long haul.

Hi @h2ogood thanks for the feedback.

The cumulative option is supposed to fix the amount of initial datapoints, and then start accumulating the new dots that arrive since the last update of the browser window (is not supposed to show the complete history). We think of the dashboard more for the latest chunks of data, which is why the historical navigation is found under the “Source” --> “Variables” tab. Feel free to loop any further feedback to support@ubidots.com (we’re also noting the GET external source suggestion for our backlog!)

Btw @RWB great idea, just created a project on Hackster to get Ubidots data from Google Sheets it works pretty well.

Yes please!

My code is posted here: SHT15 Humidity and Temperature Sensor - SHT15 Breakout

1 Like

404 Page Not Found

Thanks @RWB,
I guess you don’t have a pre-ubidots version of the code, or do you?
Im working my way down all the posts and want to learn step by step.
Great stuff here, thanks for all the information!
J

ps: I have actually starting coping some of your edits from a picture you posted feb 14 :smile:

The code that works now is posted in on post 29 of this thread. I don’t have any other code than what you may find going back into earlier post from this thread.

No worries. Thanks for everything anyway!

1 Like

Hello! I’d like to connect a temperature & humidity sensor Sensirion SHT71 to my Particle Spark Core. Any suggestion on the code or library to use?

Thank you,
Giulio

Hello,

at the end I’ve manged to get a Sensirion sensor SHT75 working with my Spark Core board, transmitting temperature and humidity values to Ubidots.

However, compared to the popular lib SHT1x which is for VDD = 5V (like when interfacing to an Arduino UNO), in the case of Particle boards the sensor is supplied with a VDD = 3.3V, then I had to use a different conversion coefficient D1 in formula to convert the digital readout (SOT) to the temperature value.
Interpolating the D1 coefficient values listed in the Sensirion datasheet table 8, the linear interpolated values to be used in the .cpp file are:

In case of degrees Celsius readTemperatureC()
const float D1 = -39.66; // for 14 Bit @ 3.3V

In case of degrees Fahrenheit readTemperatureF()
const float D1 = -39.42; // for 14 Bit @ 3.3V

Also, I’ve noticed that not all the libraries reflect the optimization of the coefficients introduced in Dec 2011 by Sensirion for both Sensirion families SHT1x(SHT10, SHT11, SHT15) and SHT7x (SHT71, SHT75).
In the file .cpp, the corrections are as follows:

For the temperature (14-bit):
D1 = -40.1 For 5V and temperature in Celsius,
D1 = -40.2 For 5V and temperature in Fahrenheit,
For the humidity constants (12-bit):
C1 = -2.0468 C2 = 0.0367 C3 = -0.0000015955

Therefore, I suggest you to refer to the following libraries:
lthiery/SHT1x (a fork with updated coefficients that also allow different VDD voltages from 2.5 to 5V: dynamically determines conversion coefficients based on voltage tables generated by datasheet) and markbergsma/SHT1x (which includes also additional improvements, i.e. CRC checking, cleanups, …)

Hope this helps,
Giulio
https://twitter.com/giuliotamberi

1 Like