element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Forget Me Not Design Challenge
  • Challenges & Projects
  • Design Challenges
  • Forget Me Not Design Challenge
  • More
  • Cancel
Forget Me Not Design Challenge
Blog Forget_What: A MET System update: Experiments with PAHO
  • Blog
  • Forum
  • Documents
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: ipv1
  • Date Created: 20 Oct 2014 10:19 AM Date Created
  • Views 1202 views
  • Likes 0 likes
  • Comments 2 comments
  • forget_me_not
  • forget_what
  • cc3200
Related
Recommended

Forget_What: A MET System update: Experiments with PAHO

ipv1
ipv1
20 Oct 2014

  • Introduction
  • The Sensors
  • MET MQTT Station
  • The software
  • Public Display of Data

Introduction

The requirement for this module was to have a weather station that would transmit weather data over the internet to OpenHAB. Why the internet? because we can and because what would an IOT solution be without the Internet. Hence there was a lot to be done.

 

The Sensors

The ideas was to keep things in budget and use scrap parts to build a Weather station. I did get some of it working by using an old bike ball-bearing, plastic cups and cycle spokes.

 

Unfortunately, during testing I guess it got blown away by heavy winds and in my zeal I forget to take pictures either...

 

Hence my last resort was to buy one. I did see one at Sparkfun.com and its pretty neat. It would never reach in time hence instead of waiting for it, it decided to emulate it.

08942-01.jpg

 

The website tells us that..." The rain gauge is a self-emptying bucket-type rain gauge which activates a momentary button closure for each 0.011" of rain that are collected. The anemometer (wind speed meter) encodes the wind speed by simply closing a switch which each rotation. A wind speed of 1.492 MPH produces a switch closure once per second"

Hence the emulator should produce variable frequency and the MET system should measure it and report it. I used the MSP340F5529 Launchpad to read an analog value and produce the required frequencies. Scope captures are given below.

 

image

image

 

These are from the same output and I feed these as weather station outputs to the CC3200. Next the CC3200 part. Temperature data can be captured from the CC3200's OnBoard temperature sensor.

 

MET MQTT Station

 

I am using MQTT pretty extensively in this project. eclipse PAHO project provides code for embedded clients and Benjamine Cabe has a great tutorial on getting started. I wrote the necessary tasks for reading the temperature and calculating the speed. Using Timer A0 I was able to measure the frequency of the input and it works better than expected. The CC3200 has a lot of Great sample projects that help out a lot. shabaz sir has written a great tutorial CC3200 "Internet-on-a-Chip" Getting Started Guide – Part 1

 

My objective was to simply read the data and post it to the MQTT broker. The final system looks like this.

image

The portable version for Demo makes it easy to move around. The power is from a Booster pack which both share. I am using existing code from my previous project to read the battery status. However I am not sending that right now. My Idea was to use a solar panel but that will have to come at later stages. My current solar solution is based on the Li-Po Rider Pro and I am looking for a local person to make the PCBs necessary.

 

The software

 

The data after having been transmitted to the MQTT broker is read by OpenHAB using the MQTT binding. This means I can bounce the data from any where but why? Well my initial objective was to duplicate the data to Xively.com and display the data publicly. I stil do that but without xively.com

The met system screen on openhab looks like

image

 

Public Display of Data

 

In order for the data to be made available online i used freeboard which allows the data to be publically displayed. The working is simple and uses dweets to upload data and freeboard puts it on display for the world to see. I managed to put together the following:

image

you can visit the live feed (when we have power)at https://freeboard.io/board/qeRlqA

 

Now to update on the robot and prepare the final report.

 

Cheers

IP

  • Sign in to reply
  • ipv1
    ipv1 over 10 years ago in reply to DAB

    Sir the sensor is a tipping bucket type which measures instantaneous rain. The system accumulates the readings over time and can give charts on annual and seasonal rainfalls.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB over 10 years ago

    Given the rain detector analysis, are you planning to do some rain profile over time graphs?

     

    0.011 inches is very accurate.  Does it drain after the measurement or is it accumulating a total and what is the maximum storage?

     

    DAB

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube