Offline
Newbie
Karma: 0
Posts: 18
|
 |
« on: May 23, 2011, 07:09:54 pm » |
Hello! I'm on a farm and we have a few greenhouses that would be nice to have sensors on. I found out about xbee's on here and I'd like to play around with them but I'm having trouble finding out what I need to order exactly. All together, I would want to sense and log data from 3 different greenhouses and two areas outdoors, all within a mile. I was going to use this http://www.sparkfun.com/products/8767but I think that I need something to hook it up too for power at least, because this looks like just a chip. I found this, which might be what I'm looking for http://www.digi.com/products/wireless-modems-peripherals/wireless-range-extenders-peripherals/xbee-sensors.jsp#overviewbut the range is no good. Any suggestions? Also, since all of this is radio, wouldn't I need some kind of receiver near my computer? Any help would be appreciated so I kind at least order the right stuff right now (I'll probably start with one sensor and see how I do, adding more later). I have some programming background and have messed around with arduinos so I'm hoping that I'll be able to figure this project out as I go along.
|
|
|
|
|
Logged
|
|
|
|
|
Grand Blanc, MI, USA
Online
Faraday Member
Karma: 43
Posts: 2515
"We're a proud service of the Lost Electricity Reclamation Agency"
|
 |
« Reply #1 on: May 23, 2011, 09:38:22 pm » |
The spec on the XBee-Pro is 2 miles outdoors, line-of-sight, so depending on the layout, it certainly could work, perhaps with external antennas. I'd probably just get a couple and experiment first. My experience has just been with the low-power modules, though. These are easily powered by an Arduino's power supply, but I might want to provide a separate supply for the Pro modules. As for a receiver, another XBee is required. From there, the details depend on how the data is to be logged and to where. Here is a blog post I did describing a simple two-node network consisting of two XBees and two Arduinos, and logging data to the Pachube web site. HTH.
|
|
|
|
|
Logged
|
|
|
|
|
|
|
Humboldt, CA
Offline
Full Member
Karma: 1
Posts: 220
Arduino BBB
|
 |
« Reply #3 on: May 24, 2011, 03:46:45 pm » |
I don't know what kind of range you need, but the RFM12B modules have 100m or so of range in line of sight conditions, and cost a whopping $8 or so. I've enjoyed playing with mine.
|
|
|
|
|
Logged
|
|
|
|
|
New River, Arizona
Offline
God Member
Karma: 15
Posts: 876
Arduino rocks
|
 |
« Reply #4 on: May 24, 2011, 07:17:30 pm » |
I'm not sure if this is what you need, but I made a really simple temperature sensor hooked to an XBee for measuring outdoor temperature. I plug it into an outdoor outlet and just let it run. Took two 10K resistors, a wall wart, and an XBee and of course, a wall plug. Since the XBees can forward for each other, you could easily get by without buying the expensive pro models. Last time I looked the pro modules cost 3x the lower powered ones and outside, you can get pretty good range. The problems with transmission distance come when there are walls involved, especially outside walls that have some kind of metal lathe. If you want to see my little device, go to my web site at draythomp.blogspot.com and look behind the tab "world of XBee" a picture of it is at the bottom of the page.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 18
|
 |
« Reply #5 on: May 27, 2011, 02:56:43 pm » |
Thanks for all the info!
I think draythomp's setup is more what I'm looking for - maybe find a way to waterproof it. Will definitely look into that soil moisture sensing once I have air temp set up.
Also, just a general question - I'm sure I could figure this out if I did a little bit more reading but I'm busy outside - Series 1 vs Series 2? Can I still relay information with Series 1 because that's the main feature I'm probably looking for. What's the big benefit of "mesh networks"?
|
|
|
|
|
Logged
|
|
|
|
|
New River, Arizona
Offline
God Member
Karma: 15
Posts: 876
Arduino rocks
|
 |
« Reply #6 on: May 27, 2011, 04:01:04 pm » |
If one of them breaks, the others route around the broken one. It's a way of the network taking care of itself. Really nice in a situation where you need to keep things working, just add a couple of strategic devices and keep a spare on hand that you can bring online when you need it. This way a temperature sensor also works as a router to carry the data from some more remote sensor that in turn acts as a router.
|
|
|
|
|
Logged
|
|
|
|
|
Grand Blanc, MI, USA
Online
Faraday Member
Karma: 43
Posts: 2515
"We're a proud service of the Lost Electricity Reclamation Agency"
|
 |
« Reply #7 on: May 27, 2011, 05:14:29 pm » |
Also, just a general question - I'm sure I could figure this out if I did a little bit more reading but I'm busy outside - Series 1 vs Series 2? Can I still relay information with Series 1 because that's the main feature I'm probably looking for. What's the big benefit of "mesh networks"?
For my money, I'd just as soon have the current stuff (S2). Mesh networking is pretty cool, self-forming and self-repairing, makes for a robust network. But in my mind, as cool as that is, there's always more risk in buying older technology, i.e. availability, support, etc. So that may in fact be the bigger reason. Admittedly you're getting a biased viewpoint here because I've only used S2, but quite frankly, I don't see a downside to it. Here's one link with just a little info. Browse around the site and you'll find more. http://www.digi.com/technology/rf-articles/wireless-zigbee.jsp
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 18
|
 |
« Reply #8 on: June 03, 2011, 04:43:33 pm » |
draythomp - i think you're setup is very close to what i'm looking for! TerryKing - i'll be interested in messing around with some soil sensors later on... but I'm gonna try this simple thing first. I'd also like to get a solar or battery powered water proof sensor for the orchards later on. And if I get crazy later on, I might bring an arduino into the grow tunnel so I can see what I can automate (water, fan, side flaps). But first things first! One sensor inside the greenhouse sending me the temperature so I can log the data and observe from my computer. so i have my parts list ready, i think: Receiver: XBee 1mW Chip Antenna ( http://www.sparkfun.com/products/8664) FTDI Cable 5V VCC-3.3V I/O( http://www.sparkfun.com/products/9717) Sensor in the greenhouse: XBee Pro 60mW Wire Antenna ( http://www.sparkfun.com/products/8742) Wall Adapter Power Supply - 5VDC 1A ( http://www.sparkfun.com/products/8269) Will this be enough to get me started? I might also buy the book since I don't really know what I'm doing!
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 18
|
 |
« Reply #9 on: June 04, 2011, 08:37:58 am » |
Actually, how is it that I'll be able to connect the wall wart to the xbee? 
|
|
|
|
|
Logged
|
|
|
|
|
New River, Arizona
Offline
God Member
Karma: 15
Posts: 876
Arduino rocks
|
 |
« Reply #10 on: June 04, 2011, 10:13:22 am » |
I drilled a small hole in the side, ran two wires through and then stuck it to the side with two sided tape. I was in a hurry to try out the idea.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 18
|
 |
« Reply #11 on: June 04, 2011, 10:20:26 am » |
Cool - so maybe to make things nice I'd need a soldering iron? Will probably use tape like you for my first shot though...
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Tesla Member
Karma: 50
Posts: 6553
Arduino rocks
|
 |
« Reply #12 on: June 04, 2011, 12:15:31 pm » |
You are probably going to need a multimeter if you don't already have one.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 18
|
 |
« Reply #13 on: June 04, 2011, 04:26:30 pm » |
Haha yea, thanks for that... I actually don't have any tools like that yet!
|
|
|
|
|
Logged
|
|
|
|
|
Seattle, WA USA
Offline
Brattain Member
Karma: 316
Posts: 35532
Seattle, WA USA
|
 |
« Reply #14 on: June 06, 2011, 05:36:01 am » |
The XBees talk to each other, to confirm receipt of packets and other things. They need to be matched. A low power receiver and a high powered transmitter won't play well together when the range exceeds the capabilities of the lower powered device, regardless of how high powered the other device is.
|
|
|
|
|
Logged
|
|
|
|
|
|