9
\$\begingroup\$

I have been using XBees to communicate my teensies so far. However, as you know, XBees are really expensive and when I want multiple devices to communicate with each other, I have to pay for several teensies + several XBees, which come up to be more than 200 dollars.

Also, An XBee is for between two designated teensies. I want all of my teensies to communicate with each other

  1. Is there any communication device out there that I can hook up to multiple teensies or arduinos at once without buy as much XBees?

  2. Or what is a communication device that lets everything within the range to communicate with each other?

  3. Or any other way to let them communicate without using individual teensies?

If you can answer any of them, please help me out!!

\$\endgroup\$
4
  • \$\begingroup\$ electronics.stackexchange.com/questions/3203/… \$\endgroup\$ Oct 16, 2011 at 21:46
  • 1
    \$\begingroup\$ XBee can be used in a mode of being able communicate with a mesh of nodes. You can do things like broadcast or a point to point communication. $200 is actually pretty cheap compared to the time you will spend designing a new device. This answer will help you the most though electronics.stackexchange.com/questions/3203/… \$\endgroup\$
    – Kellenjb
    Oct 17, 2011 at 13:10
  • 1
    \$\begingroup\$ The Jeenode looks interesting. I haven't used it, so I'll just comment rather than answer, but I think a packet can be sent from one Jeenode to a particular other node, or to all other nodes. \$\endgroup\$
    – Tom Davies
    Oct 30, 2011 at 9:57
  • \$\begingroup\$ Xbees are pretty solid and cheap radio systems...but here is something that might be of interest: dealextreme.com/p/…. It's a $6 rs-323 bluetooth module. Sounds pretty good if you are looking for some low level, simple to use module. Careful though, its smd and it comes with no documentation what so ever... \$\endgroup\$
    – Faken
    Dec 2, 2011 at 0:31

4 Answers 4

2
\$\begingroup\$

What about using 'dumb' rf transceivers and building a protocol on that?

RFM12Bs or even something cheaper.

\$\endgroup\$
1
\$\begingroup\$

I would look into using other wireless modules. XBees are nice, but are indeed expensive. I posit that you probably aren't using all of the options they provide in your projects anyways. Things like mesh networking are AMAZING, but aren't usually strictly necessary for most projects.

A very cost effective option, while still retaining some error checking, is to use IC's by Nordic, esp. the nRF24 series. There is an excellent arduino library for these modules that most likely can be ran on the Teensy with minimal adaption, especially if you are using the Teensyduino. This library also allows for some mesh communication (obviously not as robust as the XBees); see here (http://maniacbug.github.com/RF24/starping_relay_8pde-example.html).

If you order non-amplified versions of these modules, they can be had for under $7 per module. Here are some for $5.50 each. Amplified versions are in the range of $15-$20, so if node to node distance is greater than about 40 ft the cost effectiveness compared to XBees goes down dramatically. It all depends on your usage.

From the same store that had the cheap Nordic modules, there are some cheap bluetooth modules that might be worth looking into; these have caveats in that they are meant to be connected to by a computer (a master unit) rather than each other (slave units). You can buy a master Bluetooth module for about $20 from ITeadStudio though.

Alternatively, the XBee CAN be used without a microcontroller for simple sensors and other uses. Then your cost is much lower per unit, around $25 instead of $25 + $16. See "Building Wireless Sensor Networks: with ZigBee, XBee, Arduino, and Processing" by O'Rielly for more details.

\$\endgroup\$
1
\$\begingroup\$

I use the HopeRF RFM12B transmitters. They are the same ones used in Jeenodes, and there are already communication libraries from Jeenode that work just fine with any Arduino-like board.

They are substantially cheaper than the Xbee. They also come in both 3.3 and 5v versions, which can communicate between each other. I believe the manufacture has discontinued the 5v ones, but you can still find them around.

The only thing I don't like about them is the 2mm pin spacing, since you can't just drop them into a bread board or strip board. However, if you do try using them, I recommend getting some laptop IDE cables - they have 2mm spacing and can be cut to fit the RFM12 nicely to use it in a breadboard.

\$\endgroup\$
1
\$\begingroup\$

I use the Asus WL-520GU WiFi router with USB. You can often find a rebate program to bring the net price to $30 or so.

The router has a USB for connection to the teensy and is a full WiFi router. You can load DD-WRT on it. An example config.

And, as a bonus, the router will power your teensy through the USB connection.

Downsides: it's much larger than an xbee module or similar.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.