Bus Pirate may help...
Connections:
Bus Pirate | HC-05 |
GND (black) | GND |
+5V (gray) | VCC |
AUX (green) | EN |
TX/MOSI (orange) | RXD |
RX/MISO (brown) | TXD |
( http://dangerousprototypes.com/docs/Hardware_overview )
note: AUX (EN) will be used later for tests with AT commands


For this test, my OS is Ubuntu 16.10.
Devices are
- Buspirate
ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC - Asus BT Dongle
ID 0b05:17cb ASUSTek Computer, Inc. Broadcom BCM20702A0 Bluetooth
First, power on the HC-05, by enabling power ('w')
Now, you can pair HC-05 to the BT dongle.
- The RED LED on the HC-05 module should blink quickly while HC-05 is not connected
- When HC-05 is connected, the RED LED should blink every 4 seconds
Example: use the BT device detection from the blueman applet
In my example, HC-05 is connected as /dev/rfcomm3
Now, configure Bus Pirate in UART mode, with 9600 8n1 configuration:
After this configuration, don't forget to enable power
(power is disabled by Bus Pirate after each mode change)
Set the Bus Pirate in "Live Display" mode ('{')
Open a new minicom with the rfcomm device
Change the device data rate to 9600
Now you can see
- every character from the "rfcomm" minicom is seen on the Bus Pirate side
- in the same way, every data sent through Bus Pirate is seen on the rfcomm console
=> transmission with default 9600bps configuration is OK
Aucun commentaire:
Enregistrer un commentaire
Remarque : Seul un membre de ce blog est autorisé à enregistrer un commentaire.