Maker Pro
Maker Pro

The specific algorithm of baud rate when communicating with PIC microcontroller serial port?

bancroft

Apr 23, 2021
81
Joined
Apr 23, 2021
Messages
81
My microcontroller is PIC16F877A, crystal 4M, I want to set the baud rate to 38400, please tell me the exact algorithm.
Because the baud rate of my Bluetooth module is 38400, initially the baud rate of my microcontroller program is 9600, do I also have to set the baud rate of the microcontroller program to 38400? Or will the Bluetooth module baud rate be set to 9600? The main thing is that my computer does not have Bluetooth, so there is no way to modify the baud rate of the Bluetooth module.
 
Top