![Page 1: Climate Monitoring WEB Interface Using 1_Wire™ Sensors](https://reader035.vdocuments.net/reader035/viewer/2022062322/56814de7550346895dbb5773/html5/thumbnails/1.jpg)
Climate Monitoring WEB Interface Using 1_Wire™ Sensors
Imad HoteitHassan Wehbe
![Page 2: Climate Monitoring WEB Interface Using 1_Wire™ Sensors](https://reader035.vdocuments.net/reader035/viewer/2022062322/56814de7550346895dbb5773/html5/thumbnails/2.jpg)
Outline
Project SummaryStandardsFunctional DescriptionInputs and OutputsModes of Operation
![Page 3: Climate Monitoring WEB Interface Using 1_Wire™ Sensors](https://reader035.vdocuments.net/reader035/viewer/2022062322/56814de7550346895dbb5773/html5/thumbnails/3.jpg)
Outline
Block DiagramsFlowchartsParts ListDatasheet SpecificationsTestingSchedule of tasks
![Page 4: Climate Monitoring WEB Interface Using 1_Wire™ Sensors](https://reader035.vdocuments.net/reader035/viewer/2022062322/56814de7550346895dbb5773/html5/thumbnails/4.jpg)
Project Summary
Monitoring temperature and humidity in computer laboratories will assist in maintaining facilities and hardware.Light sensors can be used to keep track of laboratory usage and even reduce the electricity bill.
![Page 5: Climate Monitoring WEB Interface Using 1_Wire™ Sensors](https://reader035.vdocuments.net/reader035/viewer/2022062322/56814de7550346895dbb5773/html5/thumbnails/5.jpg)
Project Summary
The purpose of this project is to set up these sensors, create a user-friendly web based interface (applet) and a database that will hold previous data and provide query abilities to the applet.
![Page 6: Climate Monitoring WEB Interface Using 1_Wire™ Sensors](https://reader035.vdocuments.net/reader035/viewer/2022062322/56814de7550346895dbb5773/html5/thumbnails/6.jpg)
Standards
MySQL protocol over TCP/IP(DSTP)Operating System: Windows or Linux PlatformDallas Semiconductor “1-Wire” devicesPoint Six, Inc HA5 adapter to ASCII protocolIEEE’s “9 pin” Serial Connection, RS-232
![Page 7: Climate Monitoring WEB Interface Using 1_Wire™ Sensors](https://reader035.vdocuments.net/reader035/viewer/2022062322/56814de7550346895dbb5773/html5/thumbnails/7.jpg)
Standards
![Page 8: Climate Monitoring WEB Interface Using 1_Wire™ Sensors](https://reader035.vdocuments.net/reader035/viewer/2022062322/56814de7550346895dbb5773/html5/thumbnails/8.jpg)
Functional Description
Hardware Interface– The sensors will be distributed along two wires
that go through different rooms of Jobst hall; these are connected to the HA5 adapter.
![Page 9: Climate Monitoring WEB Interface Using 1_Wire™ Sensors](https://reader035.vdocuments.net/reader035/viewer/2022062322/56814de7550346895dbb5773/html5/thumbnails/9.jpg)
Functional Description
![Page 10: Climate Monitoring WEB Interface Using 1_Wire™ Sensors](https://reader035.vdocuments.net/reader035/viewer/2022062322/56814de7550346895dbb5773/html5/thumbnails/10.jpg)
Functional Description
Applet– The applet will run on a web server and will
query the sensors for readings.– Data will be recorded in a database for later
use.– Many applications could be added to the applet
making use of the records in the database. These have not been decided yet.
![Page 11: Climate Monitoring WEB Interface Using 1_Wire™ Sensors](https://reader035.vdocuments.net/reader035/viewer/2022062322/56814de7550346895dbb5773/html5/thumbnails/11.jpg)
Functional Description
GUI/Applet
Mouse/keyboard
Screen
User
TCP/IPDSTP
TCP/IPHTTP
![Page 12: Climate Monitoring WEB Interface Using 1_Wire™ Sensors](https://reader035.vdocuments.net/reader035/viewer/2022062322/56814de7550346895dbb5773/html5/thumbnails/12.jpg)
Inputs and Outputs
Inputs:– Light, temperature and humidity i.e. sensor
readings– Input from the user
• Request history of a sensor
• Update the readings
![Page 13: Climate Monitoring WEB Interface Using 1_Wire™ Sensors](https://reader035.vdocuments.net/reader035/viewer/2022062322/56814de7550346895dbb5773/html5/thumbnails/13.jpg)
Inputs and Outputs
Outputs:– Output displayed to the user from the interface
• Current status of all sensors
• History for selected sensor
– Data sent and saved in the database
![Page 14: Climate Monitoring WEB Interface Using 1_Wire™ Sensors](https://reader035.vdocuments.net/reader035/viewer/2022062322/56814de7550346895dbb5773/html5/thumbnails/14.jpg)
Modes of Operation
Applet– Display historical data– Get immediate sensor update
Sensor Query Daemon– Discover sensors on network– Request sensor readings– Update database
![Page 15: Climate Monitoring WEB Interface Using 1_Wire™ Sensors](https://reader035.vdocuments.net/reader035/viewer/2022062322/56814de7550346895dbb5773/html5/thumbnails/15.jpg)
Start
Get configuration filefrom web server
InitializeApplet
Connect todatabase
Displaycurrent
network status
Select asensor
Querydatabase for
old data
Get imediateupdate of
sensor value
Displayresults
Applet Flowchart
![Page 16: Climate Monitoring WEB Interface Using 1_Wire™ Sensors](https://reader035.vdocuments.net/reader035/viewer/2022062322/56814de7550346895dbb5773/html5/thumbnails/16.jpg)
Sensor Query Daemon Flowchart
Create aconnection to
database
Create aconnection toHA5 adapter
through serialport
Discover allsensors
Send 'aS,FF'command
Updatedatabase with
new values
Query sensorsperiodically
Start
![Page 17: Climate Monitoring WEB Interface Using 1_Wire™ Sensors](https://reader035.vdocuments.net/reader035/viewer/2022062322/56814de7550346895dbb5773/html5/thumbnails/17.jpg)
Parts List
Point Six, Inc manufactures all these devices– D2Photo Light Sensor– DS1820 Digital Thermometer– HMP-2001S 0-100% Digital Relative Temperature
and Humidity Sensor– HA5 RS232 to Isolated 1-Wire Host
Adapter– T8A 8 Channel 12 bit Analog 1-Wire
CARD– T8D 8 Channel Digital I/O 1-Wire CARD
![Page 18: Climate Monitoring WEB Interface Using 1_Wire™ Sensors](https://reader035.vdocuments.net/reader035/viewer/2022062322/56814de7550346895dbb5773/html5/thumbnails/18.jpg)
Datasheet Specifications
HA5 Adapter– Drive capability: 200 sensors– Maximum cable length: 2000 ft
Power Supply– Power received: 110V/60Hz– Power provided: 5V/2A
![Page 19: Climate Monitoring WEB Interface Using 1_Wire™ Sensors](https://reader035.vdocuments.net/reader035/viewer/2022062322/56814de7550346895dbb5773/html5/thumbnails/19.jpg)
Datasheet Specifications
DS1820 (Digital Thermometer):– Temperature is read as a 9-bit digital value– Range: -55°C to +125 °C with ±0.5
°C -67 °F to +257 °F with ±0.9 °F
– Converts temperature to digital word in 200ms
![Page 20: Climate Monitoring WEB Interface Using 1_Wire™ Sensors](https://reader035.vdocuments.net/reader035/viewer/2022062322/56814de7550346895dbb5773/html5/thumbnails/20.jpg)
Datasheet Specifications
D2Photo (Light Monitor):– Returns ON or OFF– Photosensitivity Spectral Range:
• Min: 730 nm
• Max: 1100 nm
![Page 21: Climate Monitoring WEB Interface Using 1_Wire™ Sensors](https://reader035.vdocuments.net/reader035/viewer/2022062322/56814de7550346895dbb5773/html5/thumbnails/21.jpg)
Datasheets Specifications
HMP-2001S (Humidity & Temperature sensor):– Collects:
• %RH (12 bit) (0-100% range)
• Temperature data (13 bit - ±0.038 °F)
All sensors have a unique 64-bit electronic serial number
![Page 22: Climate Monitoring WEB Interface Using 1_Wire™ Sensors](https://reader035.vdocuments.net/reader035/viewer/2022062322/56814de7550346895dbb5773/html5/thumbnails/22.jpg)
Testing
The HA5 was accessed using the HyperTerminal program.– Baud rate: 115200 bits/s– Data bits: 8– Parity: None– Stop bit: 1– Flow control: None
![Page 23: Climate Monitoring WEB Interface Using 1_Wire™ Sensors](https://reader035.vdocuments.net/reader035/viewer/2022062322/56814de7550346895dbb5773/html5/thumbnails/23.jpg)
Timing
Hassan Super ImadResearch Testing Research Testing
Week1 7 0 7 0Week2 5 1 3 3Week3 2 4 2 3Week4 4 2 3 2Week5 2 4 5 2Week6 2 3 4 3Total 22 14 24 13
![Page 24: Climate Monitoring WEB Interface Using 1_Wire™ Sensors](https://reader035.vdocuments.net/reader035/viewer/2022062322/56814de7550346895dbb5773/html5/thumbnails/24.jpg)
Schedule of Future Tasks
Winter Break– Investigate and (hopefully) test Database usage– Research JDBC
January, February– Complete main objective of project
![Page 25: Climate Monitoring WEB Interface Using 1_Wire™ Sensors](https://reader035.vdocuments.net/reader035/viewer/2022062322/56814de7550346895dbb5773/html5/thumbnails/25.jpg)
Schedule of Future Tasks
March, April, May– Tentative Implementation of additional features
• Plots based on historical data
• Generation and usage of a general configuration file
– Capstone Presentation– Winning the award
![Page 26: Climate Monitoring WEB Interface Using 1_Wire™ Sensors](https://reader035.vdocuments.net/reader035/viewer/2022062322/56814de7550346895dbb5773/html5/thumbnails/26.jpg)
Climate Monitoring WEB Interface
Questions