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
In the Air Design Challenge
  • Challenges & Projects
  • Design Challenges
  • In the Air Design Challenge
  • More
  • Cancel
In the Air Design Challenge
Blog Carbon Footprint Monitoring - Data Flow
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: xever
  • Date Created: 9 Jan 2015 8:10 AM Date Created
  • Views 986 views
  • Likes 1 like
  • Comments 5 comments
  • iot_footprint
  • in_the_air_design_challenge_2014
  • in_the_air
Related
Recommended

Carbon Footprint Monitoring - Data Flow

xever
xever
9 Jan 2015

This week I have been mostly busy around the design of the flow of data in the system.  Working from the high-level architecture presented from this post, the diagram below presents how data flows within the different component of the system.

image

From the left, the Emission Sensor will transmit CO2 levels and accelerometer over Bluetooth Smart connection to a smartphone application.  The accelerometer information will be used by the Smartphone app to determine the vehicle's state (off, idle, running).  Using the accelerometer data and GPS information from the smartphone, the mobile app can determine travel time, idle time, and distance travelled, which will then be sent to Sierra Wireless AirVantage application.  This defines the first AirVantage application model:

 

<data>
  <encoding type="MQTT">
  <asset default-label="CarbonMobile" id="mobile">
   <variable default-label="TravelTime" path="travelTime" type="double"/>
   <variable default-label="IdleTime" path="idleTime" type="double"/>
   <setting default-label="DistanceTravelled" path="distanceTravelled" type="int"/>
   <setting default-label="CO2Level" path="co2Level" type="double"/>
   <setting default-label="VehicleState" path="vehicleState" type="int"/>
  </asset>
  </encoding>
</data>

 

On the right side of the diagram, data from the environment (indoor/outdoor) sensors, smart plug, and smart switch metrics are transmitted to the Central Hub via WiFi.  Some of the metrics include power consumption in Watt-sec, environment conditions.  Power consumption will then be translated into equivalent carbon footprint as 1.52 lbs for every kilowatt-hour (references below).  The application on the central hub then deducts this carbon usage against the set carbon budget.  This defines the second AirVantage application model:

 

<data>
  <encoding type="MQTT">
  <asset default-label="CarbonHub" id="hub">
   <variable default-label="IndoorTemperature" path="indoorTemperature" type="double"/>
   <variable default-label="IndoorHumidity" path="indoorHumidity" type="double"/>
   <variable default-label="OutdoorTemperature" path="outdoorTemperature" type="double"/>
   <variable default-label="OutdoorHumidity" path="outdoorHumidity" type="double"/>
   <variable default-label="CarbonBudget" path="carbonBudget" type="double"/>
   <variable default-label="CarbonUsage" path="carbonUsage" type="double"/>
   <variable default-label="SwitchState" path="switchState" type="boolean"/>
   <variable default-label="PlugState" path="plugState" type="boolean"/>
  </asset>
  </encoding>
</data>

 

The downlink arrows on both sides represents the data being sent to smartphone and central hub apps respectively.  Each app subscribes from the events and updates of the other.  Central Hub metrics will be used by the mobile app for display, while the mobile app data will be used to determine the carbon footprint of the vehicle and counted against the budget.

 

 

 

References:

http://blueskymodel.org/kilowatt-hour

http://www.eia.gov/tools/faqs/faq.cfm?id=74&t=11

http://www.carbonfund.org/how-we-calculate

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

    Looks like you have a good data collection and analysis plan.

     

    This might be slightly off topic, but is anyone aware of any Carbon Monoxide sensors available for IoT?

     

    Thanks

    DAB

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

    Hi DAB,

     

    For this project, I am using the MQ-7 for CO detection.  It is very low cost and interfacing with it is quite simple.  I have a draft post on how I used it and will probably post that sometime in the near future.  However, I can not comment much on the accuracy of the sensor as I do not have a CO meter for calibration.  Still pondering on how to do that to have at least some margin of confidence with the ppm values I get from the sensor.

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

    Hi Christever,

     

    You could take the sensor into a small room or closet and run a baseline.

    Then have a smoker go into the closet and smoke a cigarette.  Take a reading.

    Then do the same for two or three cigarettes.  That should give you a reasonable idea of sensitivity to CO levels.

     

    DAB

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

    Thanks DAB, something similar to that is what I am going to try out.  However, instead of smoking a cigarette inside a closet or small room, I prefer putting the sensor in an empty juice bottle and measure ppm, then pipe through the car's exhaust to the mouth of the bottle and take measurements again.

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

    Thanks DAB, something similar to that is what I am going to try out.  However, instead of smoking a cigarette inside a closet or small room, I prefer putting the sensor in an empty juice bottle and measure ppm, then pipe through the car's exhaust to the mouth of the bottle and take measurements again.

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

    That will work too.

     

    I just know that cigarettes put out a lot of CO.

    My dad smoked and I always got a headache from the CO after just a few minutes.

     

    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