EEL 4924 (Summer 2009) Date: Tuesday August 4th 2009 Date: Tuesday, August 4th, 2009 Automatic Storm Shutters Automatic Storm Shutters Team: Make It Rain Kyle Weber Zachary Wernlund Zachary Wernlund 8/10/2009 1
Project Overview j • Storm shutters that Storm shutters that will actively detect dangerous wind speeds and react by automatically closing • An anemometer will be used to digitally track wind speeds track wind speeds and communicate wirelessly with the wirelessly with the shutters 8/10/2009 2
System Flow Chart y Weather Station Rain Gauge Rain Gauge – Count ticks of Count ticks of the reed switch through hardware interrupt, multiply by scaling factor Anemometer – Count ticks of Microprocessor Xbee the reed switch through g Atmega 32 Atmega 32 -Initialize system Initialize system hardware interrupt, use scaling -Store data and prepare for -Transmit stored data through factor to determine the period transmission serial UART transmission Wind Vane – Use ADC to get digital value and compare against a table of values Serial Serial T Temperature Sensor – Use t S U Communication to ADC to read digital value and convert using equation Twitter -Use Microsoft Visual Studio to create a program that p g interfaces with Twitter and XBee sends weather status updates Microprocessor at 30 second intervals -Receive data through serial Atmega 32 UART Storm Shutter Storm Shutter User Interface Control (LCD and push button) (Activates motor to lower storm shutter)
Weather Station: Sensors • Anemometer: reed switch where ticks were counted to determine a period length and converted to MPH from a pre defined factor MPH from a pre-defined factor • Wind Direction: made use of ADC to convert voltage level the first 16 divisions of the compass (N NNE NE etc ) of the compass (N, NNE, NE, etc.) • Rain Gauge: reed switch where ticks are converted to rainfall in inches by a conversion factor conversion factor • Temperature: made use of ADC to convert voltage on a straight scale to Fahrenheit degrees Fahrenheit degrees 8/10/2009 4
Weather Station: System y • Sensors all communicate with the Atmega Sensors all communicate with the Atmega 32 • Sensor data is converted into serial string • Sensor data is converted into serial string and transmitted to the Home Station via wireless communication (through the Xbee wireless communication (through the Xbee wireless module) • Communication is one way, from Weather C i ti i f W th Station to Home Station 8/10/2009 5
Home Station: Components p • Xbee Wireless Module: receive data from Xbee Wireless Module: receive data from Weather Station (mounted on roof) • DC Motor and gear box: Used to drive our mock g up shutter • LCD screen: display data in a convenient p y location • FTDI Serial Device: used to send our serial data to the computer • H-Bridge: used to drive DC motor in proper direction 8/10/2009 6
Home Station: System y • Once data is received is passed through a Once data is received is passed through a series of mathematical operators to get into readable format for the LCD and for into readable format for the LCD and for transmission through the FTDI to update Twitter Twitter • If wind speed is over a level defined as ‘DANGER’ DANGER , the command is issued to the command is issued to lower the storm shutter 8/10/2009 7
Overall Project Status j • There are slight technical difficulties There are slight technical difficulties • Components work on PC board • Mounts are built and painted M t b ilt d i t d • We are finishing making communication smooth 8/10/2009 8
Recommend
More recommend