Prop & eb500
Morning,
I've been working on a autonomous vehicle project using the Parallax Propeller chip as the on-board micro-controller. But I wanted to add wireless communication using the eb500 bluetooth module. I didn't see any code out there to use as a guide to get this working with the Prop. So using the user manual I ported the Basic Stamp code to best of my ability, utilizing the BS2_Functions.spin file a helpful tool. I understand you have to use FullDuplex serial communication with the eb500 module. After hooking it up with the prop and sending in commands, I cannot get the eb500 to respond like it is supposed to. I also have tried hooking the eb500 directly to a serial cable and connecting it with HyperTerminal to input specific commands. I know the eb500 works since I can connect and disconnect to it wirelessly. So basically I am unable to get the eb500 to respond let alone sent messages.
The other question, I have is what the equivalent spin command for the BS2 WAIT command is. The eb500 should respond to commands but I'm not sure if I'm detecting it correctly or not. I've tried using the repeat until sequence but am unsure if it works or not. Any help into these problems would be greatly appreciated. Thank you in advance.
- Tony
Drexel University
Post Edited (ToeKnee) : 12/6/2007 3:31:02 PM GMT
I've been working on a autonomous vehicle project using the Parallax Propeller chip as the on-board micro-controller. But I wanted to add wireless communication using the eb500 bluetooth module. I didn't see any code out there to use as a guide to get this working with the Prop. So using the user manual I ported the Basic Stamp code to best of my ability, utilizing the BS2_Functions.spin file a helpful tool. I understand you have to use FullDuplex serial communication with the eb500 module. After hooking it up with the prop and sending in commands, I cannot get the eb500 to respond like it is supposed to. I also have tried hooking the eb500 directly to a serial cable and connecting it with HyperTerminal to input specific commands. I know the eb500 works since I can connect and disconnect to it wirelessly. So basically I am unable to get the eb500 to respond let alone sent messages.
The other question, I have is what the equivalent spin command for the BS2 WAIT command is. The eb500 should respond to commands but I'm not sure if I'm detecting it correctly or not. I've tried using the repeat until sequence but am unsure if it works or not. Any help into these problems would be greatly appreciated. Thank you in advance.
- Tony
Drexel University
Post Edited (ToeKnee) : 12/6/2007 3:31:02 PM GMT
Comments
Attached is an example·Spin Stamp application·(Top File eb500...zip) that allows you to test your eb500 Bluetooth connection and poll for a string entered into HyperTerminal.· Please give it a try, and let me know if it fits the bill.
Andy
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Andy Lindsay
Education Department
Parallax, Inc.
Post Edited (Andy Lindsay (Parallax)) : 12/7/2007 12:52:11 AM GMT