Differences

This shows you the differences between two versions of the page.

Link to this comparison view

interfaces:bt0417c [2023/12/05 12:32] – [Linux] darroninterfaces:bt0417c [2024/07/10 12:27] (current) – external edit 127.0.0.1
Line 5: Line 5:
 \\ \\ \\ \\
 {{:interfaces:btload.jpg?200}} {{:interfaces:btload.jpg?200}}
 +\\ \\
 +{{:interfaces:bt0417c-rev.jpg?200}}
 </wrap> </wrap>
  
 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 and an MX29LV800 flash chip
 + 
 +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 /boot/config.txt and btattach (above) is not needed.+Alternatively to the above, BT can be enabled in /boot/config.txt so btattach is not needed.
  
 <code> <code>
Line 117: Line 121:
  
 == Bluez 4 == == Bluez 4 ==
 +
 +__hciconfig__
  
 <code> <code>
Line 132: Line 138:
 == Bluez 5 == == Bluez 5 ==
  
-bluetoothctl+__bluetoothctl__
  
 <code> <code>
Line 157: Line 163:
 [DEL] Controller 00:11:67:5A:96:F3 BlueZ 5.27 [default] [DEL] Controller 00:11:67:5A:96:F3 BlueZ 5.27 [default]
 </code> </code>
 +
 +== 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:D3:31:50:19:9C rfcomm bind rfcomm0 98:D3:31:50:19:9C
-screen /dev/rfcomm0 9600+picocom /dev/rfcomm0
 </code> </code>
 +
 +===Windows====
 +
 +<wrap right>
 +{{:interfaces:rfcom.jpg?200|Intel BT 5.2}}
 +</wrap>
 +
 +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://wiki.kewl.org/downloads/CSR-BC417-datasheet.pdf|CSR BC417 data-sheet]]+{{downloads:CSR-BC417-datasheet.pdf|CSR BC417 data-sheet}}
  
-[[https://wiki.kewl.org/downloads/HC-0305_serial_module_at_command_set.pdf|HC-05 AT commands]]\\+{{downloads:HC-0305_serial_module_at_command_set.pdf|HC-05 AT commands}}