Easy Bluetooth Module (Need Help) Urgent!!
computer guy
Posts: 1,113
Does anyone have an object for the Easy Bluetooth Module.
I need to pair two modules together and communicate back and forth between the two modules and an object would be handy.
Thank you
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"powered by Propeller" domed stickers $1.50 - Find them here
Check out my Design and Technology project for my Higher School Certificate www.ecosureblog.net
Post Edited (computer guy) : 1/1/2010 12:51:28 PM GMT
I need to pair two modules together and communicate back and forth between the two modules and an object would be handy.
Thank you
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"powered by Propeller" domed stickers $1.50 - Find them here
Check out my Design and Technology project for my Higher School Certificate www.ecosureblog.net
Post Edited (computer guy) : 1/1/2010 12:51:28 PM GMT
Comments
The bluetooth module uses Serial comms with the propeller to operate and to give/get the data
received/sent from the propeller.
So all you need to operate the module is a FullDuplexSerial or FullDuplexSerialPlus or similar serial
object. Make sure you have the right PINS and Baudrate and that is it.
Use the Serial object to comm with the module and command it or give it data to send or to get
data received from it.
Other than the need to initialize the module with certain initial commands and settings from then onwards
for all intents and purposes you are communicating with the other Propeller as if there were a direct
Serial link between the two.
As fas as the initialization this too is done using the Serial comm object to comm with the module
but you need to use certain preamble bytes etc. This you can figure out from the module's manual.
So all you need is a Serial comms object (e.g. FullDuplexSerial) and you are up and running. The only hard
bit is figuring out how to configure the modules using their command sequences etc.
Samuel
Thank you
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"powered by Propeller" domed stickers $1.50 - Find them here
Post Edited (computer guy) : 12/22/2009 2:48:35 PM GMT
I tried to use this code to get the local name, however it's not working.
Can anyone help me, please?
Thank you
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"powered by Propeller" domed stickers $1.50 - Find them here
Check out my Design and Technology project for my Higher School Certificate www.ecosureblog.net
http://www.parallax.com/Portals/0/Downloads/docs/prod/comm/30085_Easy_BluetoothSoftware.zip
http://www.parallax.com/Portals/0/Downloads/docs/prod/comm/30085_EasyBluetoothEducationExamples.zip
the can be found here
http://www.parallax.com/StoreSearchResults/tabid/768/List/0/SortField/4/ProductID/550/Default.aspx?txtSearch=Easy+Bluetooth+Module
best regards
Stefan
I need to know how to send commands to it and read its response. I have read the manual and I understand the UART packet format, I just can't figure out how to read in the response.
Thank you
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"powered by Propeller" domed stickers $1.50 - Find them here
Check out my Design and Technology project for my Higher School Certificate www.ecosureblog.net
By default the Easy Bluetooth module appears to be defaulting to transparent mode.
According to the manual "As the RBT-001 does not listen to commands, UART Break has to be used to tell the
device to leave the transparent mode"
I have tried
Before I try and send a command, from reading around these appear to be two different ways of sending a UART break signal.
Both of these have made no difference though.
Has anyone else got some ideas.
Thank you
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"powered by Propeller" domed stickers $1.50 - Find them here
Check out my Design and Technology project for my Higher School Certificate www.ecosureblog.net
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Will work for Propeller parts!
It appears to be a huge problem with the module and both the datasheet for the BT chip itself and the Parallax manual for the Easy Bluetooth appear to have no helpful information.
Hopefuly when everyone gets back from holidays they will be able to help.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"powered by Propeller" domed stickers $1.50 - Find them here
Check out my Design and Technology project for my Higher School Certificate www.ecosureblog.net
Shouldn't print "Message" on the Bluetooth serial port.
So by the fact that it is printing the above, I can safely assume that it isn't in command mode.
Therefore This:
Isn't putting it into command mode as I expect it should from reading 4 Datasheets and 3 Manuals.
Plz, can anyone help me with this. This is part of a school project and is urgent.
Thank you
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"powered by Propeller" domed stickers $1.50 - Find them here
Check out my Design and Technology project for my Higher School Certificate www.ecosureblog.net
I'm just using the BS2 to work out how to use it. Guess I can always request that it get moved back later, when it starts flooding with spin code.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"powered by Propeller" domed stickers $1.50 - Find them here
Check out my Design and Technology project for my Higher School Certificate www.ecosureblog.net