1 / 11

Temperature and Humidity Sensor

Temperature and Humidity Sensor. Designed by: John Haines Kevin Zavodny. 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

avalon
Download Presentation

Temperature and Humidity Sensor

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Temperature and Humidity Sensor Designed by: John Haines Kevin Zavodny

  2. 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

  3. 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

  4. Oscilloscope screenshot of sht15 data output

  5. 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

  6. Excel plots from data logged

  7. Demo

  8. 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

  9. Practical applications

More Related