3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Garduino Upgrade, Now with more Twitter!

Step 6Upgrade #4: Wireless Control

Upgrade #4: Wireless Control
Now comes the exciting part!  It's probably not likely that you can leave your computer connected via USB to your arduino all day long in your kitchen.  If you can that's great, but I need my laptop in my office where I find it useful.  This is where my experience with the Tweet-a-Watt came in handy.

Early on I decided to use Xbee wireless devices to talk between my computer and the computer.  Now I apparently did things the hard way because I thought you'd need to send the data through the Xbee controller from the arduino and then decode it on the other end with the Xbee Python library.  This turns out to be completely untrue.  You certainly can do it this way, but it's way harder than simply using the Xbee modules as a direct serial link to your computer.

It may have taken me hours, but this step shouldn't take you very long once you've set up your Xbees.  Essentially you remove the USB cable between your computer and the arduino, hook up your Xbee modules (one to the computer via an FTDI cable and one to the arduino via tx/rx lines), and then continue as though you were still using the USB cable.  Don't believe me? Try it.  Maybe this was obvious to other people but it was pretty exciting when I figured it out.

Now I should tell you there are several steps to doing this whole wireless step.  You need to first purchase and assemble the Xbee modules.  Then you'll want to program each of the Xbee chips and finally connect them up.  The best resource I found for setting up my modules was actually a tutorial about Wirelessly Programming your Arduino.

I decided to set up my arduino to be wirelessly programmed so that I could easily update the code from my laptop when I needed to upgrade my arduino.  This was an added bonus to being able to wirelessly talk to my arduino via serial and it just seemed to sweeten the whole project.  I also found this made some of the debugging easier since I needed to do a lot of writing and rewriting to the arduino.
« Previous StepDownload PDFView All StepsNext Step »
1 comment
Nov 10, 2010. 5:16 PMcharlessenf-gm says:
Most of this is beyond my ken and or cash reserves. I came upon this item searching for help with a way to utilize a remote announcer thing from Harbor freight tools that does real well (range over 200 feet) but not all I'd like. It flashes a light and makes a sound whenever anyone/thing passes by the remote unit.

I would like to figure out a way to take the output (light/sound) and wire in a relay to control say 120VAC to ring a louder bell or flash more lights or set off an X-10 code (their remote sensors don't work at the range the HFT unit does).

I belong to a Google Group on Woodworking that's pretty good but have not found a similar discussion group where one might post such queries and get something other than SPAM and offers of free sex.

If you can help . . .

Thanks
Sep 10, 2011. 10:54 AMscottinnh says:
One direction to look into is wire in transistors to switch an AC relay. This is well documented, but I wouldn't advise any beginner to work with exposed AC. See next paragraph instead.

A much easier and potentially safer route is to wire an AC or X10 remote control or other remote control. There are a lot of tutorials for using a micro to control a remote control (the book Practical Arduino has one example, but search the web). Basically you would use a pin from the arduino to electrically simulate a button push (bridge the switch) on the remote. This is a very good beginner-intermediate project.

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
51
Followers
7
Author:natantus(Chris Gilmer Project)
I'm a software and aerospace engineer. When I've got free time I like to work on robot projects and love to play with my Makerbot Cupcake and Eggbot. I would love to be involved in DIY prosthetics a...
more »