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 - BeagleBoneBlack Quick Recipe
  • 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: 31 Dec 2014 11:58 PM Date Created
  • Views 961 views
  • Likes 2 likes
  • Comments 2 comments
  • mqtt
  • iot_footprint
  • in_the_air_design_challenge_2014
  • in_the_air
  • beagle_bone_black
Related
Recommended

Carbon Footprint Monitoring - BeagleBoneBlack Quick Recipe

xever
xever
31 Dec 2014

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 with a Debian (Linux) Image, which takes the hassle out of setting up an SD-card and flashing an operating system.  BBB has taken a plug-n-play approach.  More info can be found in their main website.    Enough with all this introduction and let's get the BBB ready. 


Ingredients (still feeling festive)

To start off, we will need

1    BeagleBoneBlack

1    Ethernet Cable

1    USB mini cable or 5V power supply

IP Scanner (i.e. Advance IP Scanner)

Telnet/SSH Client (i.e. PuTTY, SmarTTY, OSX Terminal)

Web Browser (i.e. Internet Explorer, Chrome, Firefox, Safari, etc.)

 

image

 

Directions

  1. Connect the BBB to your home network by plugging the ethernet cable to your router.
  2. Power the BBB by plugging the USB mini cable to a USB power supply (I'm powering mine from the USB port of my router).
  3. If you haven't installed the software tools, now is the best time to do so while BBB is booting up (takes about 10secs for the boot process to complete).
  4. Run Advance IP Scanner, to retrieve the IP address of the BBB.  Sort by Manufacturer and take note of the device from Texas Instruments.  This will be the IP Address of the BeagleBoneBlack. 

image

   5. Next we will update the system.  Using an SSH client, connect to the BeagleBoneBlack, username is root with an empty password.  I usually setup a password as some SSH clients do not connect with remote devices with an empty password.  To change/setup the password, type the command passwd.  To update the system, type the following commands:

                    apt-get update

                    apt-get upgrade

   6.  On a web browser, enter the IP address to retrieve the board's serial number to be used later on.


image

   7.  Now, we are ready to setup a connection to Sierra Wireless' AirVantage.  Login or register a trial account to AirVantage if you haven't done so.  Follow this guide to setup an AirVantage application.  Half-way through the page, there is a specific guide for the BeagleBoneBlack.  Stop at that point and proceed to the next step before following AirVantage's BBB guide.


   8.  Back to the web browser, connect to the Cloud9 IDE at port 3000, i.e. 192.168.1.77:3000

image

   Cloud9 IDE is yet another great feature, you can delve into development immediately without installing a separate IDE.

 

   9. In the Workspace (right pane), create a new folder for development.  In the bash pane (lower section), change the directory to the newly created folder and install the MQTT library.

image

   10.  After that's installed, you can proceed with the Beagle Bone specific guide.

 

This is the basic setup to get you up and running the BBB with AirVantage.  As an additional reference, you can look at Node.js v0.10.35 Manual & Documentation.  If you are going to use the CC3200 with the BBB, have a look at the net module.

 

'Til next post, HAPPY NEW YEAR everyone!!! image

  • Sign in to reply

Top Comments

  • DAB
    DAB over 10 years ago +1
    You make it look simple, but I know you must have a lot of experience with Linux and wifi to get this up and running. DAB
  • xever
    xever over 10 years ago in reply to DAB

    Hi DAB,

     

    Thanks for the comment, I guess my goal to keep it simple was effective.  TBH, this is the first time I used MQTT, my first approach was to use RESTful API's using C, cURL and JSON.  However, that could end up a bit complicated, also AirVantage has a very good documentation on how to get things started, I leveraged on what is available.  I then realised that this approach is way simpler than the former and so will continue with this route as it is a new experience for me and a way for me to brush up on Node.JS  I hope my posts are informative and helpful.

     

    CdR

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

    You make it look simple, but I know you must have a lot of experience with Linux and wifi to get this up and running.

     

    DAB

    • Cancel
    • Vote Up +1 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