5 years, 2 months ago.

How to connect Bluetooth HC-06 and NUCLEO-F303K8

/media/uploads/DAVIDing/bluetooth.png

/media/uploads/DAVIDing/bt.bin

I'm trying to read some data that I'm sending through the bluetooth module but it doesn't appear in the serial port.

Someone knows how can I fix it?, thanks.

1 Answer

5 years, 2 months ago.

Hi David,

F303K8 is using USART2 as USBTX/USBRX, so you need to choose UART0 or UART1 to communicate with HC-06

And here are two articles you can refer to.

https://dzone.com/articles/enabling-nucleo-st-f401re-mbed

https://os.mbed.com/teams/ST/wiki/Use-of-D0D1-Arduino-pins

Please feel free to ask me any questions!

Desmond, team Mbed

Hi Desmond Chen, Thank you so much I just changed those pins and is working.

posted by David Alejandro 15 Feb 2019