Making an LED illuminate is one of the first things many people do when they start learning electronics. It's also often the most satisfying. We’re putting a wireless spin on that achievement by hooking up an LED to an XBee’s output, then controlling it from the web.
Let's get blinking!
To hook up an LED sensor you'll need:
You'll configure the radio using your free Device Cloud account. (Note that radios can also be configured using XCTU.)
NOTE: If your radio was recently configured by the XBee Wi-Fi Cloud Kit then the sampling rate and pin settings are already set. You can safely skip these steps.
You will build this sensor circuit using the XBee Development Board.
You will use the XBee Wi-Fi Cloud Kit's web application to configure a widget for viewing the light readings from your sensor.
Get ready to shed some light with your new LED! Click on the switch widget to turn the LED on. The switch will wait for Device Cloud to hear back from the XBee Wi-Fi that its output state has changed, and then become available again. Click the switch again to douse the light. You just made a physical output that you can operate from the next room, across town or across an ocean!
If you like LEDs there are many out there to try. Also, this simple circuit is the starting point for controlling everything from motors to monkeys. To turn on and off something that runs on a higher current, try making a relay circuit.