BS2px on BOEusb and PSC connection problem
Allan,
I started a new thread regard the connection between BOEusb with PSC. I got reply from Chris that baud rate have to change as difference between BS2 and BS2px. I'll try and if you have any good suggestion, please do teach me. I found the PSC green LED only flashing without reply on debug window.
My project actually·is to connect·a·PSC to a computer via Bluetooth. So, I have BOEusb w/BS2px, a PSC, a eb500-ser and a bluetooth adapter which support Bluetooth Serial Port.
Thks
Ricky·
I started a new thread regard the connection between BOEusb with PSC. I got reply from Chris that baud rate have to change as difference between BS2 and BS2px. I'll try and if you have any good suggestion, please do teach me. I found the PSC green LED only flashing without reply on debug window.
My project actually·is to connect·a·PSC to a computer via Bluetooth. So, I have BOEusb w/BS2px, a PSC, a eb500-ser and a bluetooth adapter which support Bluetooth Serial Port.
Thks
Ricky·
Comments
Here's the standard code for baud rates. When you want to use a given baud, use the constant, rather than an actual number:
So in your code, if you want to use the PSC's higher baud rade, use "T38K4" in your SEROUT commands. The actual value of "T38K4" will depend on the actual stamp downloaded to, but you won't have to change your code for different stamps. See the Pbasic manual for more info about conditional compilation and see the SEROUT command reference for the table that shows the different "units" used by each stamp for baud rates and the like. Does this help?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
When the going gets weird, the weird turn pro. -- HST
Ricky
thks,
ricky
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
When the going gets weird, the weird turn pro. -- HST
·
·· Assuming this is a USB PSC, then you have to have the USB Driver installed before you can talk to it from the PSCI software.· The driver will assign a COM Port number to the device, and this is the one you need to use in the PSCI software when opening the port for it.· If you’re on a laptop you may or may not need to reduce the latency timer setting in the Advanced Port Settings in the Device Manager.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
ricky
Thks
Ricky
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
Ricky
·
·· My best advice is that if you really intend PC control then you should get the USB version of the PSC which will connect directly to PC and allow you to directly use the PSCI software.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
·
·· There is no file to save…You will need to copy the values from the PSCI Software into DATA statements in your code and play them back that way.· I have no other new suggestions.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
One could stuff the commands in an external EEPROM for more portability, if that's helpful.
Regards,
Bruce Bates
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
<!--StartFragment -->
http://forums.parallax.com/showthread.php?p=611904
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
I have changed my board to SSC-32 with a Wiport Wi-Fi and·they work fine. I can now control my robot without a wire in between that you can not support in this area. Once I finish my project, I'll study your suggestion.
rgds,
Ricky