climate monitoring web interface using 1_wire™ sensors
DESCRIPTION
Climate Monitoring WEB Interface Using 1_Wire™ Sensors. Imad Hoteit Hassan Wehbe. Outline. Project Summary Standards Functional Description Inputs and Outputs Modes of Operation. Outline. Block Diagrams Flowcharts Parts List Datasheet Specifications Testing Schedule of tasks. - PowerPoint PPT PresentationTRANSCRIPT
Climate Monitoring WEB Interface Using 1_Wire™ Sensors
Imad HoteitHassan Wehbe
Outline
Project SummaryStandardsFunctional DescriptionInputs and OutputsModes of Operation
Outline
Block DiagramsFlowchartsParts ListDatasheet SpecificationsTestingSchedule of tasks
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.
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.
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
Standards
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.
Functional Description
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.
Functional Description
GUI/Applet
Mouse/keyboard
Screen
User
TCP/IPDSTP
TCP/IPHTTP
Inputs and Outputs
Inputs:– Light, temperature and humidity i.e. sensor
readings– Input from the user
• Request history of a sensor
• Update the readings
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
Modes of Operation
Applet– Display historical data– Get immediate sensor update
Sensor Query Daemon– Discover sensors on network– Request sensor readings– Update database
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
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
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
Datasheet Specifications
HA5 Adapter– Drive capability: 200 sensors– Maximum cable length: 2000 ft
Power Supply– Power received: 110V/60Hz– Power provided: 5V/2A
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
Datasheet Specifications
D2Photo (Light Monitor):– Returns ON or OFF– Photosensitivity Spectral Range:
• Min: 730 nm
• Max: 1100 nm
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
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
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
Schedule of Future Tasks
Winter Break– Investigate and (hopefully) test Database usage– Research JDBC
January, February– Complete main objective of project
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
Climate Monitoring WEB Interface
Questions