Wireless Sensor Network
Chris C
Posts: 50
I've been looking at various microcontrollers for the purpose and feel after all the reading that the BASIC Stamps are the best option for ease of coding.· A few questions about my idea and how best to go about it.
I was considering the Rev Dx simply because of price but am not so sure now that it has the processing power I need for the task.· This is what I need to do.
I need to create 2 wireless ultrasonic sensor nodes.· They will be wirelessly networked using ZigBee with the AppBee boards from Selmaware and MaxStream XBee Pros.· The ultrasonic sensor will be the PING))).· I will need to battery power the complete node.
The microcontroller will read the distance measurement, perform·some calculations, save the result of these·calculations as an integer, and send it over the ZigBee wireless connection to the Coordinator device.· The Coordinator will be a MaxStream also hooked up to a BASIC Stamp.· I need this Stamp to take in the integer values sent from the 2 ZigBee nodes, with flow control, and send them to an Ethernet port server device, such as a Lantronix XPort XPort Direct.
The Ethernet port server device has to handle taking in the values and feeding them to a socket on the host PC.· The host PC will have a PHP script running to capture the values continuously and perform some magic with them.
Basically, what I'm trying to figure out is if the Stamp is capable of all this.· I purchased a ZigBee application kit from another company in haste and it is very much a pain to work with.· The support has been nonexistant so far and I need·to develop a·working solution quickly.
I'm looking for the feasability of the Stamps.· I've read enough sample code and technical documents to feel confident that the Stamp is the way to go, but I'm not sure which will offer me the power I am looking for.· Being after 3am probably doesn't help for figuring that out.·
Any input would be appreciated.
I was considering the Rev Dx simply because of price but am not so sure now that it has the processing power I need for the task.· This is what I need to do.
I need to create 2 wireless ultrasonic sensor nodes.· They will be wirelessly networked using ZigBee with the AppBee boards from Selmaware and MaxStream XBee Pros.· The ultrasonic sensor will be the PING))).· I will need to battery power the complete node.
The microcontroller will read the distance measurement, perform·some calculations, save the result of these·calculations as an integer, and send it over the ZigBee wireless connection to the Coordinator device.· The Coordinator will be a MaxStream also hooked up to a BASIC Stamp.· I need this Stamp to take in the integer values sent from the 2 ZigBee nodes, with flow control, and send them to an Ethernet port server device, such as a Lantronix XPort XPort Direct.
The Ethernet port server device has to handle taking in the values and feeding them to a socket on the host PC.· The host PC will have a PHP script running to capture the values continuously and perform some magic with them.
Basically, what I'm trying to figure out is if the Stamp is capable of all this.· I purchased a ZigBee application kit from another company in haste and it is very much a pain to work with.· The support has been nonexistant so far and I need·to develop a·working solution quickly.
I'm looking for the feasability of the Stamps.· I've read enough sample code and technical documents to feel confident that the Stamp is the way to go, but I'm not sure which will offer me the power I am looking for.· Being after 3am probably doesn't help for figuring that out.·
Any input would be appreciated.
Comments
Post Edited (Computer Geek 101) : 12/4/2007 12:46:14 PM GMT
I'll have to read more about this PINK thing to better understand how it works.
Thanks!
Edit:· Wow, just read about the PINK for the first time.· Why did I not look farther into the Parallax gear sooner!?!?!?· This stuff is perfect for the purpose!
Considering a quick overnighted purcahse of all the hardware now, and already have the PING))) sensors, 2 of them.· Any recommendations for the Stamp model?· Would Rev Dx be enough to save money, or do you think I'll need more power?
Post Edited (Chris C) : 12/4/2007 5:40:26 PM GMT
I'm still a bit confused about how the Stamps program. Do I need to purchase one of the kits with everything? I was thinking of ordering these things:
(1) BS2-IC
(1) BS2 Carrier Board
(1) Breadboard Set
(1) Serial Cable
(1) PINK
(3) AppBee ZigBee boards and associated minor hardware
(3) MaxStream XBee-Pro
I am thinking, I can use the carrier board to program all 3 BS2s, and then use the Breadboards to hold the completed hardware packages in their enclosures. Unless I have to have the BS2s on carrier boards. My thinking was, it's going to function like any circuit I've built before, so making it all hookup through the breadboards is fine. The power rails allow me to hookup battery holders too.
Is that right, or will I need carrier boards for all the modules to work with?
Dan
Right now we will be using two sensing nodes with one coordinator node, but the concept is that additional ZigBee nodes could be added without much work. I couldn't think of any other wireless technologies.
Also, the distance can be anywhere from 10 ft to 300 ft, possibly even up to 500ft. That's why I figured XBee-Pro is the right way to go.
Any input and recommendations are highly appreciated, maybe you guys have better ways of implementing this than I've thought of.
After reading some more, I'm thinking:
(3) BS1
(3) BS1 Boards
(3) Solderless Breadboards
(1) BS1 Serial Adapter
-Martin
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
SelmaWare Solutions - StampPlot GUI for controllers, XBee and Propeller Application Boards
Southern Illinois University Carbondale, Electronic Systems Technologies
Most important feature is point to multipoint, you are right and thanks for the correction. The ability to route packets is not necessary; the ability for the coordinator to receive the signals of multiple independent nodes is what I need. That's why I had to stay away from the Parallax RF devices, since they are 1 to 1.
I would like to note that in a matter of hours, I have found more insight and help here than in many days I spent trying to get support for this other application kit I purchased in haste. I've received 0 help and input from those efforts. I certainly believe in the Stamp support community now!
These forums are great, the members can answer questions ranging from beginners to well seasoned developers. I read them daily just to learn.
-Martin
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
SelmaWare Solutions - StampPlot GUI for controllers, XBee and Propeller Application Boards
Southern Illinois University Carbondale, Electronic Systems Technologies
www.parallax.com/Store/Microcontrollers/BASICStampModules/tabid/134/List/1/ProductID/119/Default.aspx?txtSearch=proto+board&SortField=ProductName%2cProductName
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"A complex design is the sign of an inferior designer." - Jamie Hyneman, Myth Buster
DGSwaner
The only reason I didn't want to use those is because of the slightly larger footprint, but you do make a great recommendation. It would save on cost and easy of assembly.
Thanks! Definitely have to consider this carefully.
I tested the range on the XBee Pro units this morning. As long as I kept the antennae oriented the same way, I got a solid 500 ft before I lost the signal, and that's with the transmitting unit sitting on my kitchen table indoors by the window as I walked down the street with my receiving unit. Not bad at all.
I do have a question. I'd like the receiving unit to display the received data on an LCD. I've been able to get the Parallax LCDs to work without any trouble, but when I connect one to the same board as an XBee, I get nothing on the LCD. That's even when it's an XBee that is just receiving data, not sending it. I'm guessing that I simply don't have enough current to run both the XBee and the LCD at the same time. I tried powering the LCD with a different board, but still got nothing, which mystifies me. Any ideas?
I can't imagine what is going on between with both the XBee and LCD. They use different pins, right? LCD's are very low power unless backlit.
Glad to hear about the range.
-Martin
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
SelmaWare Solutions - StampPlot GUI for controllers, XBee and Propeller Application Boards
Southern Illinois University Carbondale, Electronic Systems Technologies
I figured out the LCD problem: burned by a dying battery. Got it working fine now. Man, this is satisfying stuff to work with.
Hopefully I can get it all working quickly. Thanks for all the input! Rest assured I'll be back looking for help.
Edit:· I just saw that the SIPs are sold out!· OH NO!!!
Post Edited (Chris C) : 12/5/2007 5:55:35 AM GMT
-Martin
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
SelmaWare Solutions - StampPlot GUI for controllers, XBee and Propeller Application Boards
Southern Illinois University Carbondale, Electronic Systems Technologies
Chris, as mentioned in an earlier post, I set aside my remaining ones for you. Hope you order with a Chris C name!
-Martin
Ok, expect my order tomorrow or Thursday! THANKS!
Hopefully I won't have to add in that part. =(
ATMY 6 to set address to 6 for example.
-Martin
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
SelmaWare Solutions - StampPlot GUI for controllers, XBee and Propeller Application Boards
Southern Illinois University Carbondale, Electronic Systems Technologies
I tried the PropPlug link on your website, but it 404d.
Is that a Parallax part?
I just realized my Parallax order wasn't complete! I'm missing a few things.
Hopefully I can get some insight here if I get stuck!