1 / 20

Internet Based Home Control

Internet Based Home Control. ECE 345 Senior Design. Presented By: Ken Leung Trung Lee Neil Lee. Project Introduction. Develop a web-based home control system . Focus on the control of thermostat (A/C) unit to enable user to:. View current temperature of residence.

wheaton
Download Presentation

Internet Based Home Control

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. Internet Based Home Control ECE 345 Senior Design Presented By: Ken Leung Trung Lee Neil Lee

  2. Project Introduction • Develop a web-based home control system • Focus on the control of thermostat (A/C) unit to enable user to: • View current temperature of residence • Manually turn A/C unit on/off • View and change thermostat settings

  3. System Block Diagram

  4. Design Of The User Interface Server Software: Apache 1.3.11 Advantages of Apache include: • conveniently downloaded from the internet • capable of running on Win32 platform • stable and robust • well documented and easily accessible resources • cost  FREE!

  5. User Interface CGI scripts: • implemented using Perl language • beneficial to learn • most commonly used scripting language • syntactically similar to Java • well documented applications and resources

  6. Web-based user Interface

  7. Digital Thermometer and Thermostat Dallas Semiconductor DS1620 Features: • measures temperatures from –55°C to +125°C, • which corresponds to -131°F to 257°F • temperature is read as a 9-bit 2’s complement value • data is read/written via a 3-wire serial interface using • using the CLK, DQ, RST signals • settings for thermostat mode are user-defined and • nonvolatile

  8. Digital Thermometer and Thermostat Configuration/Status Register: • determines the method of operation • indicates the status of the temperature conversion

  9. Digital Thermometer and Thermostat Three-wire serial interface: • Read Temperature • reads the contents of the register which contains the last • temperature conversion result • Write TH • writes to the TH register • Write TL • writes to the TL register • Read TH • reads the stored value of high temperature limit from TH register • Read TL • reads the stored value of low temperature limit from TL register • Write Config • writes configure data to configure register • Read Config • reads configure data from configure register

  10. Circuit Diagram

  11. Device Driver Process • Provides interface between server and hardware • Works under Win95/98 • Developed in Visual C++ • Writes to ports using INP/OUTP functions • Utilizes bi-directional data port feature • Data transmitted serially on TTL outputs

  12. Device driver features • Automatically detects port address • Detects current OS version • Detects presence of DS1620 chip • Suspend feature when chip is not active

  13. Device Driver functions • Read Temperature (1 sec) • Write chip status (5 ms) • Read chip status (5ms) • Write trigger temperatures (5ms)

  14. Variables in device driver • Current temperature • Trigger temperature TH, TL • Status of chip (On/Off) • Value of configuration register on chip

  15. Initial operation of device driver

  16. Main operations

  17. Potential Extensions • Interface from chip to PC using serial port • Wireless communication from thermostat chip to PC • Extend to other temperature sensitive applications (ovens, pool regulation) • Basis for home networking

  18. Marketability • Single family homes • Electric bill savings • Convenience • Apartment Managers • supervise individual apartment temperatures • to prevent property damage

More Related