Shop OBEX P1 Docs P2 Docs Learn Events
RoboTech Bluetooth Module — Parallax Forums

RoboTech Bluetooth Module

JamesxJamesx Posts: 132
edited 2009-12-12 19:40 in General Discussion
I am working with a Parallax RoboTech Bluetooth Serial Module, and I am having trouble figuring the interface out. In fact, I am completely stumped.

Using a propeller going to the Tx,Rx lines, I've been able to reliably establish a serial link to a pc. This 'transparent mode' seems to work quite nicely. However, I cannot figure out how to get out of the transparent serial port mode into "command mode". This command mode is needed to change eeprom parameters, query details about the connection, etc.

I've tried everything I can think of: turning it on without connecting via bluetooth; turning off bluetooth; sending a UART break from the propeller. But I cannot seem to get it into command mode. It's either unresponsive or in serial port mode. According to the manual on the Parallax site, it looks like the main part on the unit is a LMX9830 by National Semiconductor. According to documentation for the LMX9830, the part should be in command mode when it's turned on, before bluetooth connects. But I get no response back to the propeller when sending commands.

I've posted a similar thread to the propeller forum but there is not much experience with this part over there. Anyone here with some got some tricks with bluetooth?

Thanks

Jim

Comments

  • FranklinFranklin Posts: 4,747
    edited 2009-12-11 03:24
    Have you tried this?
    Leaving transparent mode
    As the RBT-001 does not listen to commands, UART Break has to be used to tell the
    device to leave the transparent mode.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Stephen
  • LeonLeon Posts: 7,620
    edited 2009-12-12 19:30
    I had a look at the module user manual. Although the UART BREAK command is mentioned for quitting transparent mode, it doesn't seem to be listed anywhere. It might be the SPP_PORT_BREAK opcode - 0x43. I thought that it might be an ASCII BREAK code, but there isn't one, AFAIK.

    Try emailing Parallax Customer Support.

    Leon

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Amateur radio callsign: G1HSM
  • FranklinFranklin Posts: 4,747
    edited 2009-12-12 19:40
    Break character - transmit and receive break characters (00h).
    Can transmit break character by taking serial port RX pin to logic 0.
    Receipt of break character may cause a framing error, depending on selected character length.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Stephen
Sign In or Register to comment.