Pages: [1]   Go Down
Author Topic: Relay control using xbee  (Read 1025 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi !

(I'm french, sorry for that bad english and links are in french :/)

So i am working on a project of automated house for school, and we want to control our plugs using xbee modules.
So we bought 2 modules (http://www.evola.fr/product_info.php/xbee-1mw-antenne-fouet-serie-p-200), 1 xbee adaptator (http://www.gotronic.fr/art-adaptateur-xbee-dip-mr611-19889.htm), 1 xbee shield (http://www.gotronic.fr/art-module-xbee-shield-sld01103p-20626.htm) and an arduino Yùn.

We want to control a relay connected to the xbee receiver that will power plugs using a website and a button.
The emitter is on my Yùn.

I have already set the 2 xbee with X-CTU, but i'm not sure that i've did it right.
So i'm wonderring how to control Xbee with arduino ...

I know taht i'll ask you lot of things but i really need it for my exam ...

Can someone could give me the shematics for xbee, and explain me how to program xbee on arduino ?

Thanks, Wayflux.
Logged

New River, Arizona
Offline Offline
God Member
*****
Karma: 16
Posts: 906
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

http://www.adafruit.com/blog/2009/04/21/using-xbees-to-control-relays/

Logged

Trying to keep my house under control http://www.desert-home.com/

Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks but the video has been removed ...
And i need to know how to program xbee with arduino.
Logged

New River, Arizona
Offline Offline
God Member
*****
Karma: 16
Posts: 906
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Gee, you didn't  try google: https://www.youtube.com/watch?v=qAlEL6mWbBc

As for hooking an Arduino to it, there's only about 10,000 posts on this on this forum alone.  Half of my blog is about using XBees to control stuff, both hooked to an arduino and stand alone.  Almost all of my examples have the code I used.

And, I'm not the only one; just look around for a few minutes and you'll find a few hundred examples.

If you're looking for someone to post the code you need here, good luck with that.
Logged

Trying to keep my house under control http://www.desert-home.com/

Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I've been searching few our on google this morning, but i just found video without source code.

But thank you for this blog, it will be very helpful ! smiley-wink

And i don't want someone to post the code, I just want one example ^^
« Last Edit: March 21, 2014, 03:03:57 pm by Wayflux » Logged

Pages: [1]   Go Up
Jump to: