A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://learn.sparkfun.com/tutorials/xbee-wifi-hookup-guide/to-the-cloud below:

XBee WiFi Hookup Guide - SparkFun Learn

Contributors:

jimblom To the Cloud!

XBee WiFi's are built to enable simple communication with Device Cloud by Etherios (TM). The Device Cloud service allows you to interface your XBee WiFi with the web, where you can control the I/O pins and read its status from the comfy confines of your web browser (anywhere in the world!).

Now, Device Cloud is a paid service, but it's pretty reasonably priced (down to $0.50 per device per month). They also provide a free 30 day trial if you just want to try it out, which is what we'll do here.

Setting up Device Cloud

To begin, we'll need to set up the Device Cloud to communicate with our XBee WiFi. Follow the steps below to set this up:

  1. Go to the Device Cloud Login Page. Login or make an account if you don't already have one. If you're just looking to try it free, don't worry -- you won't have to enter any payment info.
  2. In Device Cloud click to the Device Management tab.
  3. In the Device Management section, click the Add Devices button near the top. This is where we'll point our XBee WiFi module to our Device Cloud ID.
  4. There are two methods for adding your XBee. We recommend the manual method:
  5. Now you should have an entry for your XBee in Device Cloud now. Right-click on the XBee and select Properties (or select the XBee and click the "Properties" button above).

Here you can view and control just about everything as it relates to your XBee. You can set pins direction and value in the Input and Output Settings tab. Try setting a pin to "Output High", then click Save. The pins should have been driven to 3.3V, but how do you know? Time to whip a circuit together!

Take an Circuit Assembly Break!

Here's the circuit we'll use to get the most of XBee's example cloud dashboard. You don't have to hook up every part, but we recommend at least trying the LED connected to pin 13.

The schematic and breadboard diagram for the cloud example. Click to embiggen!

You'll still need to power the XBee WiFi module. It can remain in the XBee Explorer, or you can plug it into a separate XBee Breakout Board. Here's an image of our hookup using:

Now that we've attached some buttons and LEDs, it's time to take it to the cloud!

Setting Up XBee Dashboard

You can use Digi's Example App to test out your Device Cloud setup. Follow these steps to get up-and-running:

  1. Log in to the XBee WiFi Cloud Kit. Use the same login as the Device Cloud earlier.
  2. On the next page, under the "Select a Device" heading, you should see a dropdown menu with your XBee address already selected. Then just click "Yes (recommended)" to configure your XBee for this example.
  3. Choose a layout preset and then Create Dashboard! You should see something like this on the next screen.

Play around with it! Try turning the LED on remotely. Then read some buttons and potentiometers. Pretty cool! Now ask a friend from across the ocean to do it. Even cooler!

If you want to build out your own app, all of the required code is viewable by clicking the </> button on a widget. It looks like everything's hosted on Digi's GitHub page, which we're huge fans of.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4