12

I'm working on a project that involves WiFi and BLE, and for this I would like to use an esp32 due to its lower price, but there will be timing issues since the wifi and Bluetooth antenna are shared.

I know that the Raspberry Pi 3B is capable of WiFi and Bluetooth simultaneously, but does it have two separate antennas or is it some sort of multitasking software?

1 Answer 1

17

RPi 3B only has one antenna on board, so yes, it will be shared. Sharing is managed by the adapter firmware which is closed-source. Even if done right, it will not be as good as separate antennas.

You can get a USB dongle for either WiFi or BT (and use that instead of the built-in adapter) to get two separate antennas.

6
  • 7
    With two antennas using the same frequencies in close proximity, I doubt that it would be much better than a single shared antenna. And with a single chip handling both Wi-Fi and BLE you have at least a chance there is coordination between the two (they don't transmit at the same time), which you won't get with separate chips and antennas.
    – jcaron
    Commented Jan 28, 2020 at 13:03
  • Interesting, so in theory I should be able to achieve what I want with the esp32. This is information is going to help me down the road, thanks a lot. Commented Jan 28, 2020 at 16:30
  • @jcaron It's not so much about interference, it's largely about software bugs. With a single antenna, you need to effectively stop one interface while the other is active. Most drivers are written with certain assumptions in mind, one of them being that the hardware doesn't just change state on its own. With a shared antenna, this assumption doesn't hold. Commented Feb 2, 2020 at 16:23
  • @GabrielGardin I’m not saying the ESP32 correctly handles WiFi/BT coexistence. I’m just saying that in theory it’s easier with both in the same chip. Whether Espressif implemented it (correctly) I admit I have no idea.
    – jcaron
    Commented Feb 2, 2020 at 21:02
  • @jcaron Some WiFi/BT adapters are implemented correctly in the sense that they work fine in Windows. Finding one with Linux support from the manufacturer is rare. And I didn't say anything about ESP32, I have no experience with that. Commented Feb 4, 2020 at 7:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.