Tutorial: Bluetooth
Bluetooth (HC-06)

Procedure
1. Connect the bluetooth module(HC-06) and the MCU.
For using USART1, select PA9(TX) and PA10(RX).
BT(TX) - PA10(RX)
BT(RX)- PA9(TX)

2. Search and add the bluetooth named "HC-06(n)". (n = 01, 02, ... )

3. Enter the password "1234".

4. If it's connected normally, you can connect the serial port with Teraterm.

Sample Code
Assumes you have
ecUART2.h
Last updated
Was this helpful?