By default the Bluetooth module HC-05 sets baud for 38400, data bits 8, Stop bits 1
All schematics of this Bluetooth module can be found At:http://pan.baidu.com/s/1o6binds
I used a usb-> TTL USB module connecting to the Bluetooth module.
Rx--Tx on Bluetooth module
Tx-Rx on Bluetooth module
5v, VCC
GND, GND
---
Getting in command line
Hold the key on the Bluetooth module when powering it on,
Then connect to serial ports on Linux using cutecom
IMPORTANT:
TRY: cr,lf line End
OR there would be is Error (0)
Set Serial port baud rate
at+uart=57600,1,0
Baud rate, Stop bits, even check, (the AT commands Doc provided above in Chinese are wrong. This command is the correct. I verified! )
Why 57600? Because the Tele transport module of drone Flight controller board APM 2.6 is going to need this baud rate.: Http://ardupi Lot.org/copter/docs/common-3dr-radio-advanced-configuration-and-technical-information.html
This works with 3DR Radio firmware version 1.7-1.9 by default.
Set the Bluetooth module broadcasting name
At+name= ' Tele '
Check version
At+version?
Try the Module:phone <-> Bluetooth <-> PC
Use a app called "Bluetooth Terminal HC-05" to connect to the Working Bluetooth module.
Find the Bluetooth module named Tele and input password 1234
(By default password is 0000 or 1234)
Open app "Bluetooth Terminal HC-05" Select CR(carriage Return), LF (line Feed).
Connect the Bluetooth module with the Usb->ttl dongle to PC and power it on normally.
Use cutecom connect to/dev/ttyusb0, Baud rate:57600, Data bits 8, Stop bits 1.
Send something from the phone to the PC, then from the PC to phone. It works like a charm!
Would show how to set the Bluetooth module with 3DR Radio 433Hz transmitter in next blog.
HC-05 Bluetooth module settings in Linux using cutecom