Serial Programming using a Aircable Serial adapter
smoothswiss
Posts: 4
Hi,
I recently purchased an Aircable serial adapter (www.Aircable.net). It is a bluetooth wireless replacement for a serial cable. The wireless cable works great for several serial products I have, but I cannot get it to work to program my BS2SX basic stamp, which is the whole reason for buying the aircable.
I have tried all kinds of settings, etc, but I can't use it to program the stamp. For some reason, I can get it to debug data to my computer wirelessly, and I can transmit data. I'm using the Basic Stamp editor v2.1, and it does not find the "Loop" or "Echo" when it is trying to connect to the stamp using the Aircable. I think I could program it if it didn't try to look for those two things before sending the program. Is there any way to turn those options off?
According to their website:
"The voltage levels are for RS232 devices:
about +5V for low and -5V for high.
The chip (MAX 3243/3238) cannot provide power to other
serial devices.
It also switches off (all level GND) when there
is no voltage on any of the input pins.
If you need to switch on the RS232 chip, just put
5V on DCD for example, that would switch it on."
But when I connect the Aircable to the stamp and turn the stamp power on, the voltage levels go to the correct value.
What can I do to be able to use the Aircable to program the stamp? It really works great for other serial devices, since it is small and has a pretty good range.
Thanks,
Dan
I recently purchased an Aircable serial adapter (www.Aircable.net). It is a bluetooth wireless replacement for a serial cable. The wireless cable works great for several serial products I have, but I cannot get it to work to program my BS2SX basic stamp, which is the whole reason for buying the aircable.
I have tried all kinds of settings, etc, but I can't use it to program the stamp. For some reason, I can get it to debug data to my computer wirelessly, and I can transmit data. I'm using the Basic Stamp editor v2.1, and it does not find the "Loop" or "Echo" when it is trying to connect to the stamp using the Aircable. I think I could program it if it didn't try to look for those two things before sending the program. Is there any way to turn those options off?
According to their website:
"The voltage levels are for RS232 devices:
about +5V for low and -5V for high.
The chip (MAX 3243/3238) cannot provide power to other
serial devices.
It also switches off (all level GND) when there
is no voltage on any of the input pins.
If you need to switch on the RS232 chip, just put
5V on DCD for example, that would switch it on."
But when I connect the Aircable to the stamp and turn the stamp power on, the voltage levels go to the correct value.
What can I do to be able to use the Aircable to program the stamp? It really works great for other serial devices, since it is small and has a pretty good range.
Thanks,
Dan
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas Office
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas Office
What kind of bit manipulation is going on? I would like to explain this to them, so maybe they can let me know if it is possible.
Also, have you used the "EmbeddedBlue Connect PC Adapter" to program a stamp wirelessly? I read in the forum that the data transmission delay is 11ms, which is about the same as the Aircable.
Are there any other options to programming the stamp other than the Windows software I'm using that wouldn't do a serial port check?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas Office
Try setting the latency timer for the USB port to the lowest possible value it can be such as one. This solves some other problems I've had with other adapters (assuming the Aircable is USB). I couldn't tell for certain from your post if it is USB or serial on the PC side.
Ken Gracey
Parallax, Inc.
It is USB on the PC side. It goes from a USB Aircable module on the PC to a serial Aircable module at the stamp.
How do I set the latency timer for the USB port. I've never heard of this before, and I searched for instructions on the internet, but can't find any info. I'm using an IBM T40 Laptop, Windows XP SP2
Thanks,
Daniel
Follow this sequence to get to the Latency Timer:
Start >> Control Panel >> System >> Hardware >> Device Manager
Click on the [noparse][[/noparse]+] next to Ports to expand. Right click on the USB port that your adapter is connected to. On the Port Setting tab, click Advanced. Reduce the Latency Timer value to 1; we've seen this correct programming issues with USB adapters.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas Office