Electrical – use a Broadcom USB Bluetooth dongle with Atmega328P MCU for wireless communication? I can’t find the pinout of the USB anywhere

atmega328pbluetoothwireless

Here is an image of the device I have:

Image Source: Google

However, the chip used in my dongle is BCM2035. It is a standard USB Bluetooth Dongle. I have never used a Bluetooth with an MCU before. I'm guessing the use of Vcc, Gnd, Rx and Tx pins. This dongle offers me USB interface as you can see, which is connected to 6 pins on the board. I am not sure what all these pins are and how should I interface.

Best Answer

You could connect Vcc, Gnd, Rx and Tx pins (you probably want other pins so you still have Rx/Tx for its normal use). But then you have to implement the USB on-wire protocol including the timing. You have to implement an USB controller by manipulating the Rx and Tx pin fast enough.

While it probably works (not sure the cpu is fast enough) you won't have time left to do much else. It's a better idea to buy a bluetooth module without the USB part and connect it directly. There are bluetooth modules with a plain serial input/output. Those you can connect directly to Rx/Tx without having to emulate USB.