AVR USART Bluettoth

Go To Last Post
2 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I have a Bluetooth board that can be connected to ATMEGA8 8 Mz board Rx/Tx pins . The data can be send via MCU via USART to Bluetooth board.

I have another Andriod app that receives / sends data using its Bluetooth communication. The issue is that I am able to receive data at Android app but when the Android app sends data it does not shows up at LCD at MCU programatically.

I feel the issue while receiving at MCU end is cause of in-correct baud rate. I tried fusing / setting various Mz and USART baud rates but it is not working for all my values considerations. Is there a known values (MCU Mz and USART Baud rate) which is known to work for sending / receiving data to Atmega8 via its USART which is connected to a Bluetooth board?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Most BT modules will default to 9600 baud.
But you can always change to a different baud rate.

The obvious first step is to talk from PC to AVR and PC to Android. Then make one of the Slaves a Master e.g. talk from Android to PC.

David.