11
Designed by: John Haines Kevin Zavodny TEMPERATURE AND HUMIDITY SENSOR

Designed by: John Haines Kevin Zavodny TEMPERATURE AND HUMIDITY SENSOR

Embed Size (px)

Citation preview

Page 1: Designed by: John Haines Kevin Zavodny TEMPERATURE AND HUMIDITY SENSOR

Designed by:

John Haines

Kevin Zavodny

TEMPERATURE AND HUMIDITY SENSOR

Page 2: Designed by: John Haines Kevin Zavodny TEMPERATURE AND HUMIDITY SENSOR

WHAT DOES IT DO?• Grabs Temperature and Humidity measurements every 4 seconds.

• Displays the current Temperature in degrees Celsius and humidity in percent RH

• Downloads the raw data to an external EEPROM Chip

• Allows the user to read data from EEPROM via RS232 and then plot in Excel

Page 3: Designed by: John Haines Kevin Zavodny TEMPERATURE AND HUMIDITY SENSOR

SHT15 TEMPERATURE & HUMIDITY SENSOR• Has a unique capacitive sensor element used for measuring relative humidity

• Temperature is measured by a band-gap sensor

• Temperature conversion equation ( reading*.01) – 40 = Temp in Celsius

• Humidity conversion equation ((-2.8*10^-6)*(reading^2) + reading*.0405) – 4 = RH

• Before each command is sent a start sequence is required

• Initially had issues because it was only partially I2C and we found we had to use different ports other then the SCL and SDA lines. However we were able to solve this problem

Page 4: Designed by: John Haines Kevin Zavodny TEMPERATURE AND HUMIDITY SENSOR

OSCILLOSCOPE SCREENSHOT OF SHT15 DATA OUTPUT

Page 5: Designed by: John Haines Kevin Zavodny TEMPERATURE AND HUMIDITY SENSOR

EXTERNAL EEPROM• Start sequence is initiated by pulling the SDA line low

• Next the control byte is sent via I2C to select the proper chip

• 1010 already given

• Next 3 are chosen by either grounding or connecting to Vcc

• Last bit is the Read/Write bit (0 for write, 1 for read)

• Next the data to be saved is sent over followed by the Stop Sequence

• The stop sequence is a low to high transition of the Data line

• Reading from the Chip is essentially the same process except that the Read/Write bit is set to 1 and the data is then output through the usart to our pc for data plotting

Page 6: Designed by: John Haines Kevin Zavodny TEMPERATURE AND HUMIDITY SENSOR

EXCEL PLOTS FROM DATA LOGGED

1 2 3 4 5 6 7 8 9 10 11 12 130

10

20

30

40

50

60

70

80

90

100

TemperatureHumidity

Page 7: Designed by: John Haines Kevin Zavodny TEMPERATURE AND HUMIDITY SENSOR

DEMO

Page 8: Designed by: John Haines Kevin Zavodny TEMPERATURE AND HUMIDITY SENSOR

PROBLEMS AND ISSUES• Having a few issues reading the data from the EEPROM

• We currently are putting the micro to sleep between measurements and having it wake up via the Watchdog timer, but are having some difficulty getting it to sleep for the appropriate amount of time

Page 9: Designed by: John Haines Kevin Zavodny TEMPERATURE AND HUMIDITY SENSOR

PRACTICAL APPLICATIONS

Page 10: Designed by: John Haines Kevin Zavodny TEMPERATURE AND HUMIDITY SENSOR
Page 11: Designed by: John Haines Kevin Zavodny TEMPERATURE AND HUMIDITY SENSOR