QUOTE(B-Hong @ Aug 27 2007, 02:24 AM) [snapback]58354[/snapback]
Hi thanks for your prompted reply ,
I already purchase the esteem radio modem , it is 2.4Ghz frequency . Do you know how to do message-based logic? My deadline is closing soon , hope can get any solutions here .
Thank you very much
The problem with doing this the first time is that there are lots of little details in terms of configuration. The PLC baud rates, modem baud rates, connectors...all of these can drive you up the wall unless you go after it all systematically. Since there are fewer complications if you initially get everything working on a PC (laptop), I recommend getting the radio link initially set up with PC's and then gradually introducing the PLC's into the problem.
Step #1: Use 2 PC's. Make sure you can communicate with the radios. This simply avoids any issues with the PLC's initially. Simply set up Hyperterm to communicate via COMx and verify that everything works...when you type on one end, it should appear at the other. Use whatever diagnostics are in the modem if possible as well. Set up everything with a common baud rate (usually 19.2 kbps is as fast as you can get from most AB PLC's) and 8N1. Turn all handshaking off...you can optionally use it later but initially get rid of it so that you don't have to put up with the problems this creates.
Step #2: Switch one of the PC's for the PLC. At this point, you should be able to talk to it as if you have a serial port plugged directly into CH0. Usually at this point you need a DB-9 to DB-25 cable or converter. This just verifies that you got all the cabling and configurations correct.
Step #3: Do the same thing again with the other PLC. Now you verified that everything is working correctly everywhere.
Step #4: Write a simple "Read" MSG block. Trigger it with a timer say once per second. Watch the lights on the PLC's, the modems, and monitor the ER & DN bits on the MSG block. If you got everything working correctly above, you'll be all set.
QUOTE
On a somewhat related note, a couple years ago I was out shopping for land-line cordless phones. They had 900 MHz models, 2.4 GHz models, and even 5.8 GHz ones. The salesman asserted that the higher the frequency the longer the range, and since we have a big backyard we had better choose from the (most expensive) 5.8 GHz models. So did he have it dead wrong? I would expect voice transmission to be pretty low-bandwidth.
The free space path loss equation (basically, ideal conditions and line of sight communication) is:
32.4 + 20*log(frequency) + 20*log(distance)
At least within the ISM bands (900 MHz, 2.4 GHz, 5.8 GHz), the FCC has almost entirely frozen the maximum power output at 1 watt.
However, you can trade off coding (including spreading in spread spectrum systems) for increased range...it's the old speed vs. distance problem. The bandwidth of the BAND is 26 MHz @ 900 MHz, 83 MHz @ 2.4 GHz, and up to 125 MHz @ 5.8 GHz if memory serves correctly. If you calculate the bandwidth/spreading advantage, it turns out that in spite of the increased bandwidth, lower bands still translate into longer ranges for the ISM bands, if you are pushing bandwidth limits. If the modulation format is not spectrally efficient (most phones aren't because they don't have to be), the opposite usually happens.
Also, higher power obviously increases distance. However, the FCC really hasn't made any room to play with higher/lower power. It is pretty much fixed. One significant difference though is that achieving higher output power is more difficult as frequency goes up.
And, antenna gains also help. As frequency increases, for the same physically antenna size, the "aperature" or gain of the antenna increases (assuming of course that the antenna design is not bandwidth dependent). This is a huge difference if for instance the only area you have to work in is the "bomb bay" of a laptop.
Finally, any electrically conductive object that is less than 10% of the wavelength is effectively transparent...LOS still applies even if it is no longer optical LOS...as frequency increases, walls become more opaque.
Uncompressed telephone quality voice is 64 kbps. Applying "simple" compression gets you down to about 16 kbps. CELP is 4kbps. Some very advanced voice compression algorithms achieve acceptable quality down in the range of <1 kbps.