Differences
This shows you the differences between two versions of the page.
interfaces:bt0417c [2023/12/05 12:32] – [Linux] darron | interfaces:bt0417c [2024/07/10 12:27] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 5: | Line 5: | ||
\\ \\ | \\ \\ | ||
{{: | {{: | ||
+ | \\ \\ | ||
+ | {{: | ||
</ | </ | ||
This is a low cost bluetooth module that may or may not come on a base board. There are a number of variations and here we have the one known as the HC-05. This can be configured as a bluetooth master or slave and appears to be the most popular and versatile. | This is a low cost bluetooth module that may or may not come on a base board. There are a number of variations and here we have the one known as the HC-05. This can be configured as a bluetooth master or slave and appears to be the most popular and versatile. | ||
- | The module is comprised of a CSR BC417 radio and an MX29LV800 flash chip. | + | The module is comprised of a CSR BC417 radio which supports BT 2.0+EDR |
+ | |||
+ | This module has been verified to work with the RPi 400 and its internal BT 5.0 BLE interface using the legacy mode rfcomm interface. | ||
=== Pinout === | === Pinout === | ||
My module came on a board with the following layout. There are at least two other board variations which don't apply here. | My module came on a board with the following layout. There are at least two other board variations which don't apply here. | ||
Line 106: | Line 110: | ||
__btkrn__ | __btkrn__ | ||
- | For Pi4, BT can be enabled in / | + | Alternatively to the above, BT can be enabled in / |
< | < | ||
Line 117: | Line 121: | ||
== Bluez 4 == | == Bluez 4 == | ||
+ | |||
+ | __hciconfig__ | ||
< | < | ||
Line 132: | Line 138: | ||
== Bluez 5 == | == Bluez 5 == | ||
- | bluetoothctl | + | __bluetoothctl__ |
< | < | ||
Line 157: | Line 163: | ||
[DEL] Controller 00: | [DEL] Controller 00: | ||
</ | </ | ||
+ | |||
+ | == RFCOMM == | ||
Talk to module via virtual serial port. | Talk to module via virtual serial port. | ||
Line 163: | Line 171: | ||
sdptool add --channel=666 SP | sdptool add --channel=666 SP | ||
rfcomm bind rfcomm0 98: | rfcomm bind rfcomm0 98: | ||
- | screen | + | picocom |
</ | </ | ||
+ | |||
+ | ===Windows==== | ||
+ | |||
+ | <wrap right> | ||
+ | {{: | ||
+ | </ | ||
+ | |||
+ | In Windows 10 scan for BT devices, click connect and enter the pass code. | ||
+ | |||
+ | A COM port will be added for the module which acts just like a regular hardware | ||
+ | com port. | ||
+ | |||
+ | This test was performed using an Intel BT 5.2 motherboard adapter. | ||
=== Resources === | === Resources === | ||
- | [[https:// | + | {{downloads: |
- | [[https:// | + | {{downloads: |