Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 11, 2016, 09:00:12 09:00


Login with username, password and session length


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

Posts: 154

Thank You
-Given: 103
-Receive: 188


WWW
« on: April 24, 2013, 03:27:50 03: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: 154

Thank You
-Given: 103
-Receive: 188


WWW
« Reply #1 on: June 02, 2013, 04:51:04 16: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, 09:37:24 21: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