pouya
New Member
Posts: 3
|
Post by pouya on Jul 30, 2021 22:43:18 GMT
Hello,
Yes I already set baudrate to 38400, I am not sure if A9/A10 pins are correct tx/rx pin for bluetooth connection. there is extra five pin dedicated to BT connectivity on this board too.
regards,
|
|
pouya
New Member
Posts: 3
|
Post by pouya on Jul 30, 2021 23:54:41 GMT
Anyone know which pins should be used to connect bluetooth module to STM32F4 wifi board? Bluetooth pins or A9 / A10. The LC DCC host on PC must also be run simultaneously?
many thanks
|
|
|
Post by LC-DCC Designer on Aug 1, 2021 19:32:36 GMT
You can use any serial port on the STM32F103 or STM32F411 boards to connect blue-tooth. In-fact you can connect multiple blue-tooth boards to the serial interfaces if required. On the STM32F103 blue-pill there are three serial interfaces PA9(TX1) PA10(RX1), PA2(TX2) PA3(RX2) and PB10(TX3), PB11(RX3). On the STM32F411 board there are two serial interfaces PA11 (USART6 TX) PA12 (USART6 RX) and PA9 (USART1 TX) PA10 (USART1 RX). A blue-tooth module can be connected to any of these interfaces. Connect the blue-tooth RX to the STM32 TX and the blue-tooth TX to the STM32 RX. To confirm the blue-tooth interface is working run the blue-tooth terminal program for the STM32F board and configure the blue-tooth board. Check the documentation for example blue-tooth communications. Once the blue-tooth is configure to 38400, program the LC-DCC controller software onto the STM32F board.
|
|