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 CloudTo begin, we'll need to set up the Device Cloud to communicate with our XBee WiFi. Follow the steps below to set this up:
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!
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 DashboardYou can use Digi's Example App to test out your Device Cloud setup. Follow these steps to get up-and-running:
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