go_away

Author Topic: Can we use bluetooth to receive audio? and program the robot to move ?  (Read 1574 times)

0 Members and 1 Guest are viewing this topic.

Offline e2733Topic starter

  • Beginner
  • *
  • Posts: 1
  • Helpful? 0
Can we use bluetooth to receive audio? and program the robot to move ?
Can i? ???
what program and device do i need to use?
Thankyou very much

Offline partha

  • Beginner
  • *
  • Posts: 1
  • Helpful? 0
    • Skype - partha_sarathi_mishra
Yes.

You have to send audio in packeted form. You have to define a frame format which has to be implemented in both Tx and Rx side. The frame could have some header, data length, data and checksum to ensure proper Tx/Rx.

You can use HC-05/06 Bluetooth module to send or receive the data. Please make sure the audio data is of very small size and duration (8-bit etc.). You can assign different command type in the data section of your message frame. For example, for audio data and robot movement data you can differentiate them with different command byte in the data section.

A state machine for UART receiving interrupt in the microcontroller will have to parse the message and do respective action, i.e., whether to play/process the audio or do some movements in the robot.

Hope it helps.

 


Get Your Ad Here

data_list