Lynxmotion Tech Support

www.lynxmotion.com
It is currently Sat May 25, 2013 1:35 pm

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Mon Sep 21, 2009 8:55 pm 
Offline
Roboteer

Joined: Mon Sep 21, 2009 8:38 pm
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 perfectly.

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, a dialogue box told me that "Basic Stamp cannot be found".

I thought the wireless modem is transparent for serial communication. Please help. Thanks.

Daniel Chia


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 21, 2009 10:44 pm 
Offline
Robot Guru

Joined: Tue Feb 28, 2006 11:27 am
Posts: 2172
well transparent is sort of correct except that it doesn't really deal with latency. because the data needs to be encoded and decoded there is a delay between when your PC sends the data and when it shows up on the other end, a delay that does not exist in a hard wired connection. you will see the delay is doubled when you consider a program sends a command byte and then expects a reply since the reply also needs to be encoded and decoded. unfortunately many of the basic modules require a fairly tight timing requirement for programming and while high latency connections like wireless and cheap USB-to-serial adapters may work for normal communications they are not suitable for programming.


Top
 Profile  
 
PostPosted: Tue Sep 22, 2009 12:40 am 
Offline
Roboteer

Joined: Mon Sep 21, 2009 8:38 pm
Posts: 2
Thanks for your reply.

If I were to replace BS2sx by BasicX24, will it improve the latency so that I can retreive the data wirelessly? If BasicX24 is not suitable, what is a good microprocessor and radio modem that will help me to obtain the data wirelessly?

Thank you.

Daniel Chia


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 22, 2009 6:55 am 
Offline
Robot Guru

Joined: Tue Feb 28, 2006 11:27 am
Posts: 2172
It is the radio link causing the latency not the processor module. Having said that though some combinations of module and download software may be less affected by, or perhaps I should say more tolerant of, higher latency connections. I don't have any particular recommendations other than to ask if you actually need to do program updates wirelessly... suggesting you do your development using a wired connection and once you have the program worked out go back to a wireless connection.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group