communicating between nodes
I am building a weather station and have several units (temp/humidity/pressure, rain gauge, wind speed/direction) that all need to talk to the central processor and then a radio link. Some of these devices talk SPI but the nodes can be as far as 25 feet from the sender to the receiver. What would be a good protocol to use to communicate between these nodes?
Thanks.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen
Thanks.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen
A good second choice, in my opinion, is RS485.· RS485 has been convered a lot by Jon Williams (and Scott too).· even the latest Stamp Applications in Nuts and Volts (January 2008) has Jon talking about RS485.· A good protocol for use with RS485 is called S.N.A.P.· ( http://www.hth.com/snap/)··NOTE: SNAP-001.BAS is located in SNAP-001.ZIP file·on that page.···Code samples for it are also in the Claus and Klaus book (BASIC Stamp 2p: Commands, Features, and Projects) Book available in the·Product Info·section.
The nice idea behind RS485 and SNAP is that 1 is a standard and the other is an open source protocol designed for a multi-drop bus.· There are implementations of SNAP for AVR and PIC as well.
FYI: Your project interests me since I'm in the middle of my weather station project.
http://www.wunderground.com/weatherstation/WXDailyHistory.asp?ID=KGACUMMI15
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
There's nothing like a new idea and a warm soldering iron.
Post Edited (pwillard) : 12/27/2007 4:39:42 AM GMT