Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
March 29, 2024, 08:53:39 08:53


Login with username, password and session length


Pages: [1]
Print
Author Topic: Sensirion’s SHT75 Interfacing with Micro-Controller!!  (Read 3255 times)
0 Members and 1 Guest are viewing this topic.
xpress_embedo
Active Member
***
Offline Offline

Posts: 173

Thank You
-Given: 122
-Receive: 254


« on: April 24, 2013, 02:27:50 02:27 »

Sensirion’s SHT7x Sensor is a Temperature and Humidity Sensor, it is a digital sensor working on a 2-wire protocol but not on I2C Protocol.
Below is the project attached to extract Temperature, Relative Humidity and then based on the values of Relative Humidity and Temperature, True Humidity is Calculated.

Proteus Simulation file is Attached, and this is tested on Real Hardware also.
Logged
xpress_embedo
Active Member
***
Offline Offline

Posts: 173

Thank You
-Given: 122
-Receive: 254


« Reply #1 on: June 02, 2013, 03:51:04 15:51 »

I had shared this project earlier but found one thing strange, i am not getting accurate measurements.

Means when i am having Relative Humidity of 80% in Proteus then my Calculation in Controller results 82.9%

Similarly at 10% Relative Humidity my Calculation leads to 14.7%

Can anyone tell me why it is so.
I am using integer variables to optimize my code so that it consumes less memory, but when i saw the measurement is not accurate, i tried with all floats and still getting the almost same result.
Logged
edeca
Newbie
*
Offline Offline

Posts: 7

Thank You
-Given: 5
-Receive: 6


« Reply #2 on: June 02, 2013, 08:37:24 20:37 »

Hi, I don't have a long time to analyse your code right now but you could compare it to mine, which is available at: https://github.com/edeca/Electronics/blob/master/Include/sht.c

The documentation is at: http://edeca.net/electronics/library-docs/html/sht_8h.html

If you still have errors after comparing then I can look in more detail.
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