Skip navigation
1 2 Previous

In the Air Design Challenge

24 Posts authored by: xever
Preface Before anything else, I would like to personally thank the organisers and sponsors of this challenge, and kudos to doctorcdf for the great support and ironing out issues around some duties on the kits.  This challenge has been really an exciting and productive experience. Previous PostsSetting up the development environment MSP430 Development in VisualStudio CC3200 Development in Visual Studio BeagleBone + node.js + Visual Studio Architecture Carbon Footprint Monitoring - Archi ...
Today I took down the outdoor sensor to work on the smart plug and smart switch modules.  I've ordered a few more CC3200 modules but may not arrive in time, especially that this challenge ends tomorrow, but that does not mean further development stops with it as well.   Anyways, back to this post.  My goal is to be able to remotely turn on/off an appliance from my mobile, or be able to set some triggers, i.e. power usage goes above a specific threshold, that it will turn off non- ...
The outdoor sensor module has been collecting data for the past few days now and am quite happy with the results.   From the graph of mains power consumption, aside from knowing how much electricity is used and the carbon footprint is, I was able to observe the following. The peak on the 23 Feb at about 7pm was actually around dinner time and that peak would be possibly caused by the preparing the food and having a few friends come over.  At around 8pm that night, the consumption b ...
Continuing from the last post, I created a (Windows Phone) mobile application that is largely based from this article and modified for use with the proposed system.  The UI will be very simple and will display the core metrics as defined in AirVantage application model.   The key metrics that I wanted to capture are : Current Speed Distance traveled Travel Time Idle Time CO2 footprint   The code logic for the application is pretty straightforward as outlined below. And ...
The other major contributor to Carbon dioxide footprint is transportation accounting for the 13% of global emissions in 2004. For a typical household, transportation would be the second main contributor for carbon footprint and part of this system is to quantify and monitor how carbon dioxide we are emitting from our daily routines.   Measuring Carbon Dioxide  There are a number of ways to determine the amount of CO2 emissions, from simple approximations to actual measurements. ...
Introduction  For those of you who have been following this post, I had experienced some difficulty accessing data from Sierra Wireless' AirVantage Cloud platform.  Most of the topics posted in this challenge used MQTT protocol to send data to their AirVantage application.  However, it is not possible to use MQTT in retrieving data from AirVantage, and the only way to get retrieve data back is by using AirVantage's REST API. Some very good post from amgalbu and tomaja have covere ...
Recently, I updated the CT sensor post with the current test and power measurements done on bench.  In this post, I will run through the enclosure design process.  The enclosure design is intentionally made simple and really is used to conceal any hazardous voltages that the user might touch accidentally.   For the enclosure design, I used AutoDesk Inventor Fusion and using it is quite intuitive.  I started by measuring the dimensions of the CC3200 Launchpad with the outdoor ...
This is a continuation of the last post and highlights a quick guide on how to have a quick remote debug console for the CC3200.  One can use UART connection for debugging or can use a socket to send debug messages to a remote console server.   Starting from the TCP Socket CC3200 sample project, I have decoupled the WLAN and TCP Client parts inside main.c and encapsulated them into a more portable and reusable code fragments.  The main.c has now been transformed as:   void ...
This post is more about updates on the hardware state than anything else.  Since my last post, I have spent the time to completely populate the custom boards and test them.  As most of my requirements rely on the ADC peripheral, I first tried out CC3200 ADC sample application found in the SDK library toolkit.  I must say that the sample programs packed in the SDK are all well documented and relatively easy to follow.  The sample setup suggests to use a signal generator which ...
Household energy consumption could be the highest contributor in one's carbon footprint.  By measuring how much energy we consume each day we may be able to adjust our usage patterns to save.  There are several ways to measure household energy, both invasive and non-invasive methods.  In this project, the focus will be on non-invasive method, specifically using a split core type current transformer sensor to create a power meter.  Hall-effect is another type of non-invasive m ...
Since most of the foundation software for this system is functional, the next posts will be more on the hardware aspects of the system starting from the power supply.  As previously mentioned, the board design is more of a development platform than anything else, and so has a lot of provisions for alternative circuits and ease of modifications.  The board was also divided into two main parts, power supply and peripheral.   The supply block can be of any four power sources: (1) Ba ...
Over the couple weeks or so, I have been focused on the central hub application where I have been successfully sending device information and sample data to AirVantage.  However, I couldn't seem to retrieve the data from the cloud-platform on to another device or even on the same device.  This is a major road block for the system, since data from the central hub needs to be updated with the information sent by the mobile application.  Likewise, the mobile application will have to ...
Earlier this challenge, I have been setting up the development environment using Visual Studio and in one of those posts, I did mention on how to configure Visual Studio to develop Linux applications using VisualGDB.  SysProgs has a very good tutorial here.  This is very much useful if writing apps using C/C++, as the debugging experience in Visual Studio is exceptional.  However, my initial plan to use C/C++ for the Linux application on the BeagleBone Black has changed and have b ...
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. 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, ...
There are a lot of resources available online to setup the Beagle Bone Black and connect it with AirVantage.  This post will be a quick start guide to get your BBB talk to AirVantage in under an hour (assuming all things going well).   A Bit of Intro Beagle Bone Black is yet another powerful development Single Board Computer running on TI's AM335x processor with an ARM Cortex-A8 at its core clocked at 1GHz.  One of the main features of the BBB is its embedded MMC that is preloaded ...