Home/ Blog/Examples & Guides/Controlling a Lamp from the Internet with Digi Remote Manager

Controlling a Lamp from the Internet with Digi Remote Manager

4) Wire up the Circuit

  • Place the Digi XBee adapter into the breadboard and wire up the power buses to each other.

  • Connect the VCC terminal of the Digi XBee adapter to the positive rail and the ground terminal to the negative rail.

  • Connect one of the of the hookup wires to I/O pin 0, which is physical pin 20, on the top right side of the Digi XBee. A second strand of wire gets connected to the ground bus.

  • Use the wire from the the Digi XBee’s I/O pin 0 to connect it to the terminal marked “+in” on the PowerSwitch Tail. You’ll need to use a small, flat-head screwdriver to loosen the screw terminal inside the PowerSwitch tail and to tighten it onto the wire. The wire from the breadboard’s ground bus gets connected to “-in” on the PowerSwitch tail.

  • Plug your lamp into the PowerSwitch Tail and plug the PowerSwitch Tail into the wall. Make sure the switch on your lamp is switched on.

  • Write down the hardware address on the bottom of the radio. It will always start with “0013A200” and have 8 more digits from 0 to 9 or letters A to F (it’s in hexadecimal). This is the address we’ll use to control the radio through Digi Remote Manager.

  • Insert the Digi XBee into the adapter and connect your power source. We’re using batteries for now, but if you want to leave this on all the time, you’ll want to find a plug-in AC to DC adapter.
  • Since we set the I/O mode of the pin to be low on start up with the command “ATD0 4”, the PowerSwitch Tail will be off by default. If you’d like the lamp to be turned on when the Digi XBee is powered on, you can use the command “ATD0 5”.

  • Above is a diagram of the circuit. As mentioned before, you’ll probably want to use a power source that plugs into the wall instead of batteries.
Tags: , ,
Posted on:

Comments are closed.

Contact a Digi expert and get started today! Contact Us
Have a Question?