Keith-Khadar / Gh05t

3 stars 0 forks source link

Bluetooth vs Wifi #4

Open NathanielCollinsJ opened 1 month ago

NathanielCollinsJ commented 1 month ago

Advantages and Disadvantages of Bluetooth vs Wifi Research hardware options

Keith-Khadar commented 1 month ago

From what I have seen a lot of people use a microcontroller with Bluetooth.

StutiRuparel commented 1 month ago

Image Source - https://www.geeksforgeeks.org/difference-between-bluetooth-and-wi-fi/

StutiRuparel commented 1 month ago

From what I have seen a lot of people use a microcontroller with Bluetooth.

Wifi for the headset would need to come from the external source. Mobile Wifi can have speed limitations. With Bluetooth Low Energy (BLE) power consumed will be less compared to Wifi and Bluetooth just means pairing needed by two devices and there would be no limitation for BLE on-the-go compared to Wifi. Bluetooth may have range limitation compared to Wifi if the headset and transferring devices are within the Bluetooth range than this should not be issue. So BLE or Bluetooth seems to be better choice. There are many microcontroller kits available with Bluetooth capability such as Arduino Uno R4 and Raspberry Pi 4.

StutiRuparel commented 1 month ago

If the microcontroller selected doesn't have in-built BLE then following module can be used. BLE interface board - $10 https://www.seeedstudio.com/Seeed-XIAO-BLE-nRF52840-p-5201.html?gad_source=1&gclid=CjwKCAjwx4O4BhAnEiwA42SbVEzkdIWJmIRKJqx8dff-krDMpU2E7Hj3lUcQh879zU19lOkG5E3_ehoCn_UQAvD_BwE

NathanielCollinsJ commented 1 month ago

Both wifi and bluetooth use the 2.4Ghz band (~2400MHz to ~2484MHz). Because of this range will be directly related to transmit power. Neither really has a range or power advantage just an equal trade off between the two. A low power wifi module might draw less current than a high power bluetooth. That being said, bluetooth has a larger focus on lower power consumption, if that is important to us. https://en.wikipedia.org/wiki/List_of_WLAN_channels https://www.bluetooth.com/learn-about-bluetooth/key-attributes/range/

NathanielCollinsJ commented 1 month ago

image image https://learn.sparkfun.com/tutorials/bluetooth-basics/all

Serial Port Profile (SPP)

If you're replacing a serial communication interface (like RS-232 or a UART) with Bluetooth, SPP is the profile for you. SPP is great for sending bursts of data between two devices. It's is one of the more fundamental Bluetooth profiles (Bluetooth's original purpose was to replace RS-232 cables after all).

Using SPP, each connected device can send and receive data just as if there were RX and TX lines connected between them. Two Arduinos, for example, could converse with each other from across rooms, instead of from across the desk.