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 Pollution Effect Minimiser (Post 5)
  • 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: Former Member
  • Date Created: 22 Dec 2014 8:57 PM Date Created
  • Views 402 views
  • Likes 1 like
  • Comments 0 comments
  • iot_pollution_effect
  • in_the_air
Related
Recommended

Pollution Effect Minimiser (Post 5)

Former Member
Former Member
22 Dec 2014

Setting up Airvantage

 

 

In this post i am going to connect beaglebone  black to airvantage. For this connect beaglebone to the pc and update it. Then following the steps below i was able to connect it to airvantage and update readings and see them.

 

 

Hardware :

Step 1. Plug the BeagleBone Black to USB and install USB drivers by reading this getting started.

Step 2. Set up Internet on your device with an ethernet cable.

Step 3. Go to the Cloud9 IDE by openning the following url in a browser: http://192.168.7.2:3000/. Where `192.168.7.2` is the default IP of the BeagleBone.

Step 4. Create a new file in the workspace.

step 5. Open a browser to this url: http://192.168.7.2/Support/BoneScript/getPlatform/. Click on the run button. Take note of the serial number and the name.

step 6. Open notepad and make a .app file to be used on airvantage with the following code:

<?xml version="1.0" encoding="ISO-8859-1"?>
<app:application xmlns:app="http://www.sierrawireless.com/airvantage/application/1.0"
        type="PollutionEffect"
        name="Application"
        revision="0.0.1">
  <capabilities>
  
    <communication>
      <protocol comm-id="SERIAL" type="MQTT" />
    </communication>
    
    <data>
      <encoding type="MQTT">
        <asset default-label="Room1" id="room1">
          <variable default-label="Temperature" path="temperature" type="double"/>
          <variable default-label="Humidity" path="humidity" type="double"/>
          <variable default-label="Carbon dioxide" path="co2" type="int"/>
          <variable default-label="Dust" path="dust" type="int"/>
          <variable default-label="Carbon Monoxide" path="co" type="int"/>
        </asset>
        <asset default-label="Room2" id="room2">
          <variable default-label="Temperature" path="temperature" type="double"/>
          <variable default-label="Humidity" path="humidity" type="double"/>
          <variable default-label="Carbon dioxide" path="co2" type="int"/>
          <variable default-label="Dust" path="dust" type="int"/>
          <variable default-label="Carbon Monoxide" path="co" type="int"/>
        </asset>
         <asset default-label="Kitchen" id="kitchen">
          <variable default-label="Temperature" path="temperature" type="double"/>
          <variable default-label="Humidity" path="humidity" type="double"/>
          <variable default-label="Carbon dioxide" path="co2" type="int"/>
          <variable default-label="Dust" path="dust" type="int"/>
          <variable default-label="Carbon Monoxide" path="co" type="int"/>
        </asset>  
      </encoding>
    </data> 

  </capabilities>
</app:application>

 

Next save it with .app extension like model.app

Zip the file in an archive.

step 7. Go to Inventory > Systems.

Click on the "Create" action.

In the "Create System" dialog:

"Name" step: Specify an optional name for your system.

"Gateway" step: Click "Create gateway" and enter the identifier of the device in the "Serial Number" field.

"Subscription" step: You won't create nor use any.

"Applications" step: Click on "Release a new application" and upload the application package archive created in the previous step.

"Credentials" step: Enter the password used to authenticate the device.

Click on "Create".

In the grid, select the newly created system and click on the "Activate" action.

Thats all for setup.

The beaglebone is now ready to go.

  • Sign in to reply
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