meta data for this page
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
com:basic_bluetooth [2025/02/11 20:26] – [Bluetooth Low Energy] vamsan | com:basic_bluetooth [2025/05/31 22:54] (current) – vamsan | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== lamaPLC Communication: | ====== lamaPLC Communication: | ||
{{ : | {{ : | ||
- | Bluetooth is a short-range wireless technology standard | + | Bluetooth is a short-range wireless technology standard for exchanging data between fixed and mobile devices over short distances and building personal area networks (PANs). In the most widely used mode, transmission power is limited to 2.5 milliwatts, giving it a concise |
It employs UHF radio waves in the [[com: | It employs UHF radio waves in the [[com: | ||
- | Bluetooth is managed by the Bluetooth Special Interest Group (SIG), which has more than 35,000 member companies in the areas of telecommunication, | + | Bluetooth is managed by the Bluetooth Special Interest Group (SIG), which has over 35,000 member companies in telecommunication, |
- | The name //" | + | The name //" |
- | Bluetooth uses a radio technology called frequency-hopping spread spectrum. Bluetooth divides transmitted data into packets, and transmits each packet on one of 79 designated Bluetooth channels. Each channel has a bandwidth of 1 MHz. It usually performs 1600 hops per second, | + | Bluetooth uses a radio technology called frequency-hopping spread spectrum. Bluetooth divides transmitted data into packets and transmits each packet on one of 79 designated Bluetooth channels. Each channel has a bandwidth of 1 MHz. It usually performs 1600 hops per second, |
- | Bluetooth is a packet-based protocol with a **master/ | + | Bluetooth is a packet-based protocol with a **master/ |
In the simple case of single-slot packets, the master transmits in even slots and receives in odd slots. The slave, conversely, receives in even slots and transmits in odd slots. Packets may be 1, 3, or 5 slots long, but in all cases, the master' | In the simple case of single-slot packets, the master transmits in even slots and receives in odd slots. The slave, conversely, receives in even slots and transmits in odd slots. Packets may be 1, 3, or 5 slots long, but in all cases, the master' | ||
- | The Bluetooth SIG completed the Bluetooth Core Specification **version 4.0** (//called Bluetooth Smart//) and has been adopted as of 30 June 2010. It includes Classic Bluetooth, | + | The Bluetooth SIG completed the Bluetooth Core Specification **version 4.0** (//called Bluetooth Smart//) and has been adopted as of 30 June 2010. It includes Classic Bluetooth, high speed, and Bluetooth Low Energy BLE protocols. Bluetooth high speed is based on Wi-Fi, and Classic Bluetooth consists of legacy Bluetooth protocols. |
- | //Bluetooth Low Energy// (**BLE**), previously known as Wibree, is a subset of Bluetooth v4.0 with an entirely new protocol stack for rapid build-up of simple links. As an alternative to the Bluetooth standard protocols | + | //Bluetooth Low Energy// (**BLE**), previously known as Wibree, is a subset of Bluetooth v4.0 with an entirely new protocol stack for rapidly building |
The Bluetooth SIG released the Bluetooth Core Specification **Version 5.4** on 7 February 2023. | The Bluetooth SIG released the Bluetooth Core Specification **Version 5.4** on 7 February 2023. | ||
- | Bluetooth is defined as a layer protocol | + | Bluetooth is defined as a layer architecture consisting of core protocols, cable replacement protocols, telephony control protocols, and adopted protocols. Mandatory protocols for all Bluetooth stacks are **LMP** //(Link Manager Protocol)//, |
====== Bluetooth Low Energy ====== | ====== Bluetooth Low Energy ====== | ||
- | //Bluetooth Low Energy// (**BLE**), | + | //Bluetooth Low Energy// (**BLE**), referred to as Bluetooth® LE, is a wireless communication technology designed for short-range data exchange between electronic devices. It emerged as a response to the need for energy-efficient wireless communication in various applications, |
- | Unlike its predecessor, | + | Unlike its predecessor, |
- | The range of a Bluetooth Low Energy connection can vary depending on several factors, | + | The range of a Bluetooth Low Energy connection can vary depending on several factors. Still, in typical scenarios, it can extend up to approximately **50 meters** in a line-of-sight environment. |
Bluetooth Low Energy devices operate using different roles and modes that define how devices interact with each other. | Bluetooth Low Energy devices operate using different roles and modes that define how devices interact with each other. | ||
===== Central Device ===== | ===== Central Device ===== | ||
- | A central device in Bluetooth LE is typically | + | A central device in Bluetooth LE is typically more capable with features like a higher CPU power, more memory, or a larger battery. Central devices take on the role of initiating connections to peripheral devices. For example, your smartphone is often a central device when connecting to Bluetooth LE peripherals like fitness trackers, smart sensors, or an Arduino board. |
===== Peripheral Device ===== | ===== Peripheral Device ===== | ||
- | Peripheral devices are generally resource-constrained compared to central devices (e.g. an Arduino board compared with your smartphone). Peripheral devices advertise their presence and data to central devices. Compared to Bluetooth | + | Peripheral devices are generally resource-constrained compared to central devices (e.g., an Arduino board compared with your smartphone). Peripheral devices advertise their presence and data to central devices. Compared to Bluetooth |
===== ArduinoBLE Library ===== | ===== ArduinoBLE Library ===== | ||
Line 43: | Line 43: | ||
{{ : | {{ : | ||
- | Arduino Bluetooth communication is most often performed by HC-xx type modules. The two basic types of these are HC-05 and HC-06, their comparison: | + | HC-xx type modules |
^HC-05^HC-06| | ^HC-05^HC-06| |