Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
November 28, 2024, 02:39:43 02:39


Login with username, password and session length


Pages: [1]
Print
Author Topic: SHT11 Sensor examples!  (Read 16273 times)
0 Members and 1 Guest are viewing this topic.
leosedf
Junior Member
**
Offline Offline

Posts: 44

Thank You
-Given: 72
-Receive: 9


WWW
« on: January 06, 2008, 12:12:55 12:12 »

Hello!
I would like to ask you if anyone has a working basic code for SHT11 sensirion sensors. www.sensirion.com
I want to build a small code just to read the sensor and then create a larger project i need (climate-humidity controller), i found a working app but it's on C which i don't quite understand well.
SHTx sensors have one I2C like interface which you have to emulate your own.


Thank you Smiley
Logged
Midnight
Newbie
*
Offline Offline

Posts: 11

Thank You
-Given: 6
-Receive: 2


« Reply #1 on: January 06, 2008, 09:21:28 21:21 »

First Google hit and I get this: http://www.etc.ugal.ro/cchiculita/software/sht11.htm

There are a ton of examples on the net, and why you no search?

Lazy? You want us to do your work?

Basic example: http://www.picbasic.co.uk/forum/showthread.php?t=888
« Last Edit: January 06, 2008, 09:24:56 21:24 by Midnight » Logged
leosedf
Junior Member
**
Offline Offline

Posts: 44

Thank You
-Given: 72
-Receive: 9


WWW
« Reply #2 on: January 07, 2008, 06:34:45 06:34 »

No way!
I have gathered a lot of data on my disk about this, was the first thing to do.
I never found anyone who made it in Mikrobasic. So as i see it i have to download and use picbasic instead.
There is also one example here http://www.btech-online.co.uk/climate_text.html with better accuracy on RH.
Logged
Stefkeb
Junior Member
**
Offline Offline

Posts: 92

Thank You
-Given: 139
-Receive: 85


« Reply #3 on: January 07, 2008, 07:16:58 07:16 »

Hi,

Just search the MikroE forum and you'll find some info that could help you in the right direction like:

http://www.mikroe.com/forum/viewtopic.php?t=1977&highlight=sht11

With best regards,

StefkeB.
Logged
leosedf
Junior Member
**
Offline Offline

Posts: 44

Thank You
-Given: 72
-Receive: 9


WWW
« Reply #4 on: January 07, 2008, 09:29:46 09:29 »

Ooops!
I missed that. It sure gives you a better idea on how to do it (noob alert here) only some small mods needed.

Thank you for that:)
Logged
eclipse_vr
Inactive

Offline Offline

Posts: 4

Thank You
-Given: 1
-Receive: 0


« Reply #5 on: January 07, 2008, 11:42:39 23:42 »

sensirion SHT11 is sample ?
Logged
drnewton
Guest
« Reply #6 on: January 09, 2008, 04:08:41 04:08 »

yes, I got samples in USA a few months ago
Logged
leosedf
Junior Member
**
Offline Offline

Posts: 44

Thank You
-Given: 72
-Receive: 9


WWW
« Reply #7 on: January 09, 2008, 12:41:21 12:41 »

Yes! You are only allowed to sample one time.
I did it once and didn't received anything, after that i contacted them if i could buy one and they did sent me 2 of them for free. Smiley

Generally as i see the SHT Sensors are one incomplete story, many forums have it but with incomplete or wrong code.
« Last Edit: January 09, 2008, 12:50:14 12:50 by leosedf » Logged
Stefkeb
Junior Member
**
Offline Offline

Posts: 92

Thank You
-Given: 139
-Receive: 85


« Reply #8 on: January 09, 2008, 01:31:20 13:31 »

Hi,

This looks like an interesting sensor for a reasonable price. Does anyone of the members who got a sample or bought a sensor actually build a working application for this device ?

http://www.sensirion.com/en/01_humidity_sensors/00_humidity_sensors.htm

If so are you willing to share ?

Rgds,

StefkeB
Logged
anemon06
Newbie
*
Offline Offline

Posts: 33

Thank You
-Given: 32
-Receive: 34


« Reply #9 on: February 15, 2008, 08:39:16 08:39 »

I worked temperature, but I wouldnt work  humidity. Actually  humidity is depend on tempature. SHT11 use SPI protocol. SPI protocol is not include picbasic.
Logged
hansolo
Guest
« Reply #10 on: February 16, 2008, 11:52:05 23:52 »

SHT sensor humidity reading is not accurate. Temperature is okay.

This is verified by a few users.

Hope this info helps.
Logged
Stefkeb
Junior Member
**
Offline Offline

Posts: 92

Thank You
-Given: 139
-Receive: 85


« Reply #11 on: February 17, 2008, 11:43:55 11:43 »

Hi Hansolo,

Do you mean the sensors do not meet their specs. or should I think of a more accurate version like the SHT75 for example. If you happen to know a humidity sensor with digital interface that is more accurate please let me know.

Thanks,

Stef.
Logged
bogdantk
Active Member
***
Offline Offline

Posts: 100

Thank You
-Given: 40
-Receive: 18


« Reply #12 on: February 18, 2008, 07:17:26 07:17 »

Hello
I have done 2 industrial projects with SHT 11 and 75 with more than 200 sensors
in the field. ALL, for most than 18 months, are within the specifications and even
better (the worst case exceed specification by more than 25%). Everything was
tested with professional humidity standard equipment. Do not forget to use the Sensirion filter !
So I think you have to check your information twice before posting or at lest provide
some evidences.
All the best
Logged
YoeNC
Guest
« Reply #13 on: February 18, 2008, 04:06:43 16:06 »

Dear Friend,

can you visited http://www.sensirion.com/en/01_humidity_sensors/02_humidity_sensor_sht11.htm#4, and check some application notes.

Regards,

Y@e
Logged
cepa
Active Member
***
Offline Offline

Posts: 104

Thank You
-Given: 201
-Receive: 708


« Reply #14 on: February 21, 2008, 06:05:46 06:05 »

hello
This is  another exemple , by the autor of tiny bootloader
http://www.etc.ugal.ro/cchiculita/software/sht11.htm

Logged
strat
Newbie
*
Offline Offline

Posts: 12

Thank You
-Given: 11
-Receive: 0


« Reply #15 on: February 26, 2008, 01:35:23 13:35 »

I asked a sample from Sensirion as a member of a firm which interested electicity and generator, but Sensirion didn't send any sample. I think they care your firm's interestings.
Logged
irvinos
Newbie
*
Offline Offline

Posts: 10

Thank You
-Given: 29
-Receive: 28


« Reply #16 on: February 26, 2008, 11:15:37 23:15 »

@anemon06,
I'm not sure but SHT11 uses a 2 wire protocol very similar to i2c. It is not SPI.
Logged
antico2
Newbie
*
Offline Offline

Posts: 16

Thank You
-Given: 10
-Receive: 2


« Reply #17 on: January 01, 2009, 08:31:32 20:31 »

I worked temperature, but I wouldnt work  humidity. Actually  humidity is depend on tempature. SHT11 use SPI protocol. SPI protocol is not include picbasic.
Hi anemon06, what's the language of comments?

is turkish or whats?

Can you translate it in english?

regards
Logged
quark576
Newbie
*
Offline Offline

Posts: 19

Thank You
-Given: 13
-Receive: 13


« Reply #18 on: January 02, 2009, 12:14:15 00:14 »

Here a useful link ... http://www.emesystems.com/OL2sht1x.htm
Logged
antico2
Newbie
*
Offline Offline

Posts: 16

Thank You
-Given: 10
-Receive: 2


« Reply #19 on: January 09, 2009, 11:59:12 11:59 »

Thank for the link.. but is not what's i'm searching.. It's difficult for who don't know basic stamp like me.
Here http://www.picbasic.co.uk/forum/printthread.php?t=888 there are more info that can help.

But if someone can translate all comment from anemon06's post it's a great think!!

I think that it's a very interesting piece of software!!

Regards
Logged
myheadhurts
Junior Member
**
Offline Offline

Posts: 35

Thank You
-Given: 99
-Receive: 17


« Reply #20 on: March 01, 2009, 09:12:57 21:12 »

They have an example in 8051 C code on their website..apart from the pseudo I2c (which uses bit banging ) the rest can easily be ported to basic with a floating point library..
Rob..
Logged
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright © 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC