Ryan MassicciAlan LeeTroy HawleyWeather Meter
Product DeliverableProduct goalTo create a weather meter that displays temperature, wind speed, rain total, and allow the user to manually change brightness level of lights.Target audience:Any person(s) who wants to know the current weather conditions.Those who have weather related jobs.Hunters or fisherman who want to know how windy or rainy it is.
Project ManagementMicrosoft Project was initially used to manage the project.Tasks were divided as equally as possible amongst team members.Tasks were completed in parallel when possible.Jira was used to manage tasksThe scrum master helped monitored task progress.Weekly “sprints” were completed with various goals.
Project HistoryDetermined the scope of the project.What has to be included.What we would like to include (wish list).Divide work amongst group members.Created the circuit to interface the Weather Meter with the MAVRK.Created light dimmer custom component.Created GUI on DE2 touch screen peripheral.Based on Group 1 Winter Quarter GUI.Pixel Buffer not used.Interfaced Weather Meter with MAVRK via the circuit created.Interfaced the MAVRK with the DE2 with RS232.
PrototypeSolidWorks was used to create two prototypes for an indoor and outdoor module.The indoor model was to simply have a simple thin touch screen design.The outdoor model was designed to maximize its ability to gather solar power.The models were made with steel.
Weather MeterSparkfun ElectronicsCost: $69.95Anemometer (wind speed)Wind vane (wind direction)Rain gauge
Weather Meter OperationInterfaced with two RJ11connectorsThe rain gauge is a self emptying tipping bucket.  After 0.011” of rain, a contact closure occurs (switch).  This is a digital signal.The anemometer is a cup-type that closes a contact as a magnet moves past a switch.  The wind vane is composed of 8 switches with each connected to a different resistor.  The vane’s magnet can close 2 switches at once, allowing 16 different positions to be indicated.  An external resistor can be used to form a voltage divider producing a measurable voltage output.
Weather Meter Circuit A circuit was made that included two RJ11 connectors.Connector 1:Pins 2 and 5 represented the wind vanePin 2 was connected to ground.Pin 5 was connected to an ADC and a resistor which was connected to power.Pins 3 and 4, which represented the anemometer acted as a switch.Pin 3 was connected to power.Pin 4 was connected to GPIO on the MAVRK and a resistor, which was connected to ground.
Weather Meter Circuit (Continued)Connector 2:Pins 3 and 4, which represented the rain gauge acted as a switch.Pin 3 was connected to power.Pin 4 was connected to GPIO on the MAVRK and a resistor, which was connected to ground.
Weather Meter Circuit (Continued)
Dimmer ModuleA dimmer module was made in order to allow the user to manually or automatically change the brightness of the LEDs.This module took in an input integer from 0 – 9 and converted that to a respective duty cycle value from 0% to 90%.The respective duty cycles represented the brightness levels.
MAVRK
MAVRKModular and Versatile Reference Kit.Allows for quick development and evaluation of prototypes.MAVRK system is based around a motherboard and has multiple connectors for RF, AD/DA, transceivers, and signal conditioning interfaces.Programmed with C with IAR Embedded workbench.
MAVRKThe weather meter circuit is connected to the MAVRK through SCI(signal conditioning interface) and AFE(Analog Front End)Wind Direction	   SCI I2C input 	           AFE UART outputWind speed             AFE GPIO input           AFE UART outputRain Gauge              AFE GPIO input           AFE UART outputTemperature        On chip temp sensor        AFE UART output
MAVRK C CodeWind SpeedA count was incremented on every revolution of the anemometer. After one second the number of revolutions is checked and multiplied by 1.49 MPH. ( One revolution per second = 1.49MPH)Temperature The MSP430 microprocessor has an on chip temperature sensor. This sensor is constantly read and sent to the GUI once every second.Rain Gauge A buffer holds the last six readings for rain depth. Every ten minutes a new reading is written to the buffer. This allows the system to always show the rain depth for the last hour.
MAVRK to DE2 Communication An RS-232 Cable is connected between the MAVRK and DE2.A character is sent from the DE2 to the MAVRK corresponding to the button pressed on the GUI.A character array is sent from the MAVRK to the DE2 containing the data that corresponds to the input character.The data is sent from the MAVRK once every second.
DE2 GUI	DE2 code is written in VHDL and C.VHDL simply maps the pin connections (SDRAM, GPIO, LEDR, etc).C code handles all data input from the RS-232 Serial port.Data is received in the C code using scanf() and reads for 4 characters which are passed as ASCII represented numbers.A switch statement is used to draw the correct number to the LCD Touch screen because only images can be drawn.
DE2 GUIThe LCD Touch screen listens for a touch interrupt and checks to see where the touch location occurred.Based on this (x,y) position the code determined the next step of operations.The entire GUI was made from images that were converted into .h files and included into the project.
Future AdditionsImplement the wind vane from the weather meter.Implement a light detection sensor and set up an automatic dimming function.Implement a humidity sensor and display it on the touch screen.Outdoor temperature and more accurate indoor temperature.

Weather meter

  • 1.
    Ryan MassicciAlanLeeTroy HawleyWeather Meter
  • 2.
    Product DeliverableProduct goalTocreate a weather meter that displays temperature, wind speed, rain total, and allow the user to manually change brightness level of lights.Target audience:Any person(s) who wants to know the current weather conditions.Those who have weather related jobs.Hunters or fisherman who want to know how windy or rainy it is.
  • 3.
    Project ManagementMicrosoft Projectwas initially used to manage the project.Tasks were divided as equally as possible amongst team members.Tasks were completed in parallel when possible.Jira was used to manage tasksThe scrum master helped monitored task progress.Weekly “sprints” were completed with various goals.
  • 4.
    Project HistoryDetermined thescope of the project.What has to be included.What we would like to include (wish list).Divide work amongst group members.Created the circuit to interface the Weather Meter with the MAVRK.Created light dimmer custom component.Created GUI on DE2 touch screen peripheral.Based on Group 1 Winter Quarter GUI.Pixel Buffer not used.Interfaced Weather Meter with MAVRK via the circuit created.Interfaced the MAVRK with the DE2 with RS232.
  • 5.
    PrototypeSolidWorks was usedto create two prototypes for an indoor and outdoor module.The indoor model was to simply have a simple thin touch screen design.The outdoor model was designed to maximize its ability to gather solar power.The models were made with steel.
  • 8.
    Weather MeterSparkfun ElectronicsCost:$69.95Anemometer (wind speed)Wind vane (wind direction)Rain gauge
  • 9.
    Weather Meter OperationInterfacedwith two RJ11connectorsThe rain gauge is a self emptying tipping bucket. After 0.011” of rain, a contact closure occurs (switch). This is a digital signal.The anemometer is a cup-type that closes a contact as a magnet moves past a switch. The wind vane is composed of 8 switches with each connected to a different resistor. The vane’s magnet can close 2 switches at once, allowing 16 different positions to be indicated. An external resistor can be used to form a voltage divider producing a measurable voltage output.
  • 10.
    Weather Meter CircuitA circuit was made that included two RJ11 connectors.Connector 1:Pins 2 and 5 represented the wind vanePin 2 was connected to ground.Pin 5 was connected to an ADC and a resistor which was connected to power.Pins 3 and 4, which represented the anemometer acted as a switch.Pin 3 was connected to power.Pin 4 was connected to GPIO on the MAVRK and a resistor, which was connected to ground.
  • 11.
    Weather Meter Circuit(Continued)Connector 2:Pins 3 and 4, which represented the rain gauge acted as a switch.Pin 3 was connected to power.Pin 4 was connected to GPIO on the MAVRK and a resistor, which was connected to ground.
  • 12.
  • 13.
    Dimmer ModuleA dimmermodule was made in order to allow the user to manually or automatically change the brightness of the LEDs.This module took in an input integer from 0 – 9 and converted that to a respective duty cycle value from 0% to 90%.The respective duty cycles represented the brightness levels.
  • 14.
  • 15.
    MAVRKModular and VersatileReference Kit.Allows for quick development and evaluation of prototypes.MAVRK system is based around a motherboard and has multiple connectors for RF, AD/DA, transceivers, and signal conditioning interfaces.Programmed with C with IAR Embedded workbench.
  • 16.
    MAVRKThe weather metercircuit is connected to the MAVRK through SCI(signal conditioning interface) and AFE(Analog Front End)Wind Direction SCI I2C input AFE UART outputWind speed AFE GPIO input AFE UART outputRain Gauge AFE GPIO input AFE UART outputTemperature On chip temp sensor AFE UART output
  • 17.
    MAVRK C CodeWindSpeedA count was incremented on every revolution of the anemometer. After one second the number of revolutions is checked and multiplied by 1.49 MPH. ( One revolution per second = 1.49MPH)Temperature The MSP430 microprocessor has an on chip temperature sensor. This sensor is constantly read and sent to the GUI once every second.Rain Gauge A buffer holds the last six readings for rain depth. Every ten minutes a new reading is written to the buffer. This allows the system to always show the rain depth for the last hour.
  • 18.
    MAVRK to DE2Communication An RS-232 Cable is connected between the MAVRK and DE2.A character is sent from the DE2 to the MAVRK corresponding to the button pressed on the GUI.A character array is sent from the MAVRK to the DE2 containing the data that corresponds to the input character.The data is sent from the MAVRK once every second.
  • 19.
    DE2 GUI DE2 codeis written in VHDL and C.VHDL simply maps the pin connections (SDRAM, GPIO, LEDR, etc).C code handles all data input from the RS-232 Serial port.Data is received in the C code using scanf() and reads for 4 characters which are passed as ASCII represented numbers.A switch statement is used to draw the correct number to the LCD Touch screen because only images can be drawn.
  • 20.
    DE2 GUIThe LCDTouch screen listens for a touch interrupt and checks to see where the touch location occurred.Based on this (x,y) position the code determined the next step of operations.The entire GUI was made from images that were converted into .h files and included into the project.
  • 21.
    Future AdditionsImplement thewind vane from the weather meter.Implement a light detection sensor and set up an automatic dimming function.Implement a humidity sensor and display it on the touch screen.Outdoor temperature and more accurate indoor temperature.