eb500 failure to connect
nathan_app_dev
Posts: 4
I am working with the EmbeddedBlue eb500 Bluetooth module on a parallax board of education. I was successful in establishing a connection between the transceiver and a cell phone once, but it quit working about 2 seconds after. Since then, my cell phone can not even find the eb500 when searching for Bluetooth devices. Does anyone have any suggestions. I've been using the following code to attempt the connections:
' {$STAMP BS2}
'Wait for the eb500 radio to be ready
PAUSE 1000
'Connect to the remote device
SEROUT 1,84,[noparse][[/noparse]"CON 00:12[noparse]:D[/noparse]1:58:F1:4F",CR]
SERIN 0,84,[noparse][[/noparse]WAIT("ACK",CR)]
'Wait for the connection to be established and switch to data mode
WaitForConnection:
IF IN5 = 0 THEN WaitForConnection
HIGH 6
PAUSE 300
'Wait for 20 seconds
PAUSE 20000
'Switch to Command Mode
LOW 6
SERIN 0,84,[noparse][[/noparse]WAIT(CR,">")]
'Disconnect from the remote device
SEROUT 1,84,[noparse][[/noparse]"dis",CR]
SERIN 0,84,[noparse][[/noparse]WAIT(CR,">")]
Any suggestions are appreciated. I restored the module to the factory settings already, but that did not change anything. Also, I cannot connect to the eb500 in hyperterminal, if this might affect the connection at all.
thank you for your help
-nathan
' {$STAMP BS2}
'Wait for the eb500 radio to be ready
PAUSE 1000
'Connect to the remote device
SEROUT 1,84,[noparse][[/noparse]"CON 00:12[noparse]:D[/noparse]1:58:F1:4F",CR]
SERIN 0,84,[noparse][[/noparse]WAIT("ACK",CR)]
'Wait for the connection to be established and switch to data mode
WaitForConnection:
IF IN5 = 0 THEN WaitForConnection
HIGH 6
PAUSE 300
'Wait for 20 seconds
PAUSE 20000
'Switch to Command Mode
LOW 6
SERIN 0,84,[noparse][[/noparse]WAIT(CR,">")]
'Disconnect from the remote device
SEROUT 1,84,[noparse][[/noparse]"dis",CR]
SERIN 0,84,[noparse][[/noparse]WAIT(CR,">")]
Any suggestions are appreciated. I restored the module to the factory settings already, but that did not change anything. Also, I cannot connect to the eb500 in hyperterminal, if this might affect the connection at all.
thank you for your help
-nathan
Comments
I have some experience with the eb500 between a computer and a Stamp. But, are you trying to use the eb500 in that manner?
--Bill
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
You are what you write.
-nathan
2) It's hard to tell what you mean by "hot". It can be normal for devices to get warm, but there's can be a big difference between warm and too hot to touch for more than a fraction of a second. It would be abnormal for the EB500 to get too hot to touch. You will have to post a diagram of exactly how you have things connected together. It's really impossible to give you more than very general advice without more (and detailed) information.
-nathan
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Engineering