Computers, Development Boards & Shields
Educational & Robotics Kits
Electronic Sensors
Motors & Controllers
Communication & Display
Electronic Components
Soldering & Lab Tools

0
BT2S Baud rate

Hi, I’m trying to set the baud rate on the BT2S.

It’s getting power, and the red light is blinking about 2x per second.

I have it connected with a usb to FTDI connector. When I enter: “AT” (with no quotes) it responds with OK. But I can get no other response from any other commands such as AT+VERSION? or AT+BAUD8 or anything. But AT continues to give the OK response. I have blue tooth turned off on my phone and my tablet, so it should not be connecting with either.

I’m using putty, my com port is set to 9600 8n1. I’m using crimson text editor to enter my commands and I’m pasting them into putty. I also turned on local echo in putty so I can see my commands being sent.

What am I missing?

2 Answers

0
accepted

Bill,

Alight, so it looks like you are getting into the command structure. I will try and duplicate the setup you described tonight, but in the meantime, make sure that your commands are as follows:

CommandDescriptionOptionsResponse
AT+VERSIONReturns the software version of the module OKlinvorV1.5
AT+BAUDxSets the baud rate of the module
The command AT+BAUD8 sets the
baud rate to 115200
1 >> 1200
2 >> 2400
3 >> 4800
4 >> 9600 (Default)
5 >> 19200
6 >> 38400
7 >> 57600
8 >> 115200
9 >> 230400
OK115200
AT+NAMEOpenPilotSets the name of the moduleAny name can be specified up to 20 charactersOKsetname
AT+PINxxxxSets the pairing password of the deviceAny 4 digit number can be used, the default
pincode is 1234
OKsetPIN
AT+PNSets the parity of the moduleAT+PN >> No parity checkOK None

Try the AT+VERSION and shoot me the response just to be sure. If we are lucky it is just a problem with your terminal setup. Luke (my design engineer) had pretty good luck with Hyperterminal (which is apparently still available for download on Windows 7).

I also put together a pretty good set of resources, including an auto-programmer (make sure your device isn’t paired when you try to make the change) https://www.virtuabotix.com/reference/index.php?title=BT2S_Wiki

0

I was having the same trouble and I stumbled onto the problem: I was copy & pasting lines with line breaks. Once I stopped copying the line break things magically started working 🙂

“AT+BAUD8

” – bad

“AT+BAUD8” – good

 

Now that I got it into 115200 mode I can use it as an “I broke my WiFi config” on a Raspberry Pi

0

You write very well!

0

Your Answer

No comments yet.

Leave a Reply