Serial communication using XSTream-PKG for BS2sx
Daniel Chia
Posts: 2
I am using a Parallax Basic Stamp BS2sx and an analogue-digital converter AD0832 to digitise to 8 bits the elevation angle from a CrossBow inclinometer. I used a notebook with XP Windows operating system and the program worked fine.
·
However, when I connected a set of XStream-PKG radio modems of 2.4G Hz at 9600 bps with no flow control at a short distance of not more than 1m between the BS2sx and the notebook, a dialogue told me that "Basic Stamp cannot be found".
·
I thought the wireless modem is transparent for serial communication. Please help. Thanks.
·
Daniel Chia
·
However, when I connected a set of XStream-PKG radio modems of 2.4G Hz at 9600 bps with no flow control at a short distance of not more than 1m between the BS2sx and the notebook, a dialogue told me that "Basic Stamp cannot be found".
·
I thought the wireless modem is transparent for serial communication. Please help. Thanks.
·
Daniel Chia
Comments
There is a lot to set up on those radios....Id's and such.
Set the dipswitches appropriately....I assume RS232 and point-to-point. My dips are: up dwn dwn dwn up dwn.
You do set a modem ID (not sure it matters).
Set the serial interface speed to your radio (this is the speed your pc/stamp talk to the radio's at)...same for parity/stop bits.
My RF data rate is 115200 (it should be the same or faster than your serial speed).
With your radio's so close....you should change your tx power levels so you don't saturate the other radios receiver.
You can also set the radio to transmit only or transmit/receive....go with transmit/receive for ease later.
Not sure why you have problems just "listening" with your radios....
Are the serial/transmit lights coming on when your stamp is sending data to the radio? If they are, then your radio is probably transmitting.
Is the receivers' RSSI lights coming on when the transmitter is on?
Are they both powered?
Not sure what else you could check....but perhaps they are too close and you have the power cranked up!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
<FONT>Steve
What's the best thing to do in a lightning storm? "take a one iron out the bag and hold it straight up above your head, even God cant hit a one iron!"
Lee Travino after the second time being hit by lightning!