Hi-Link HLK-B40, HLK-B26

Buku Lothandizira la Hi-Link HLK-B40 ndi HLK-B26 Bluetooth Module

Models: HLK-B40, HLK-B26 | Brand: Hi-Link

1. Mawu Oyamba

The Hi-Link HLK-B40 and HLK-B26 are Master-Slave serial port transmission Bluetooth modules designed for seamless wireless data exchange. The HLK-B40 is based on BLE5.1, while the HLK-B26 utilizes BLE5.0. These modules enable various serial port-equipped devices to send and receive data wirelessly via Bluetooth quickly and efficiently. Users do not need to manage complex Bluetooth protocol stacks or RF circuits; simple serial port transmission is sufficient for data transfer over the Bluetooth wireless connection.

HLK-B40 Bluetooth module
Figure 1: HLK-B40 Bluetooth Module

2. Zofunika Kwambiri

  • Purosesa: 48MHz main frequency, 32-bit ARM Cortex M3 core.
  • Serial Port Transmission: Fast and stable Bluetooth-serial port transmission with a serial port rate up to 921600 bps.
  • Master-Slave Modes: Configurable as host or slave mode, supporting binding encryption.
  • Kulumikizika kwa Zipangizo Zambiri: In slave mode, can connect to up to 20 host devices simultaneously, supporting custom broadcast data.
  • Mtundu Wowonjezera: Based on BLE5.1 (HLK-B40) / BLE5.0 (HLK-B26), offering faster and longer transmission distances (40 to 100 meters in an open environment).
  • Low-Power Operation: Supports low-power modes with sleep currents as low as 6 μA, and custom connection/broadcast intervals.
  • Mphamvu yosinthika: Bluetooth transmit power adjustable up to 10dBm, receive sensitivity up to -95dBm.
  • Zosintha za Firmware: Supports OTA (Over-The-Air) Bluetooth wireless firmware upgrades and wireless configuration of module parameters.
  • Zosankha za Antenna: Features a default on-board high-quality ceramic antenna, with an option for an external antenna.
  • Kudalirika: Built-in Watchdog for long and reliable operation.
  • Kukula Kwambiri: Ultra-small dimensions of 14mm × 9.5mm × 2mm.
  • Wide Voltage manambala: Operates on a wide voltagE osiyanasiyana 1.8V kuti 4.2V, ndi mmene ntchito voltagndi 3.3v.
  • Wolemera I/O: Provides rich output pins including UART, I2C, SPI, up to 15 GPIOs, up to 4 ADCs, and up to 6 PWMs for flexible custom development.

3. Zofotokozera

MalingaliroMtengo
Nambala ZachitsanzoHLK-B40, HLK-B26
Dzina la BrandHi-Link (bibikoo)
Mtundu wa BluetoothBLE5.1 (HLK-B40), BLE5.0 (HLK-B26)
Purosesa32-bit ARM Cortex M3, 48MHz
Mtengo wotumizira150Kbps (Serial port rate up to 921600 bps)
KutalikiranaUp to 100m (in open environment)
Opaleshoni Voltage1.8V to 4.2V (Typical 3.3V)
Kugona Kwanthawi YochepaUp to 6 μA
Kutumiza MphamvuMpaka 10dBm
Landirani KumvereraKufikira -95dBm
Makulidwe14mm × 9.5mm × 2mm
MlongotiInternal ceramic antenna, external antenna option
I/O InterfacesUART, I2C, SPI, up to 15 GPIOs, up to 4 ADCs, up to 6 PWMs
State of AssemblyOkonzeka-Kupita
KugwirizanaZonse Zogwirizana
ZitsimikizoCE, FCC, RoHS
ChiyambiMainland China
Hi-Link company capabilities and certifications
Figure 2: Hi-Link Company Capabilities and Certifications

4. Kukhazikitsa

The HLK-B40/B26 modules are designed for integration into various devices. For initial setup and testing, a dedicated test kit (as shown in the video) is typically used. This kit provides convenient access to power, control buttons, and serial communication interfaces.

4.1 Tanthauzo la Pini

Refer to the following diagrams and tables for the pin layout and functions of the HLK-B40 module. These pins are crucial for integrating the module into your application.

HLK-B40 Pin Position Diagram and Pin Definition Table Part 1
Figure 3: HLK-B40 Pin Position Diagram and Pin Definition Table (Part 1)
HLK-B40 Pin Definition Table Part 2
Figure 4: HLK-B40 Pin Definition Table (Part 2)

4.2 Test Kit Overview (Referencing Video)

The demonstration video showcases a test kit for the HLK-B40 module. Key components and their functions on the test kit include:

  • Kusankha kwa Magetsi: A switch allows selection between external battery power supply or USB power supply.
  • Chizindikiro: A row of LEDs indicates the module's operational status.
  • Jumper (SW0): Used to select between serial port 0 pass-through mode and AT command mode.
  • Hibernation Control Toggle Switch: Controls the module's hibernation state.
  • Batani la RST: Resets the module.
  • KEY Button: A function button (PC5) used for specific operations like entering AT command mode or restoring factory settings.

For detailed visual instructions on connecting the module to the test kit and powering it, please refer to the demonstration video below.

Video 1: HLK-B40 Module Features and Test Kit Demonstration

5. Ntchito

5.1 Transparent Transmission Principle

The HLK-B40/B26 modules facilitate transparent transmission, meaning they act as a pipeline between a serial port and a Bluetooth connection. Data sent from the serial port is forwarded to the Bluetooth-connected device, and data received via Bluetooth is forwarded back to the serial port. This simplifies wireless communication by abstracting the underlying Bluetooth complexities.

Kugwirizana kwa One-to-One

In a one-to-one connection, a single mobile application or host device communicates with one HLK-B40/B26 module configured in slave mode.

One-to-one Bluetooth connection transmission schematic
Figure 5: One-to-One Bluetooth Connection Schematic

Many-to-One Connection

When the module acts as a Bluetooth accessory (slave mode), it can be connected by multiple Bluetooth host devices, including other HLK-B40/B26 modules configured as hosts. In this scenario, data received from the slave module's serial port is broadcasted via Bluetooth to all connected host devices. Conversely, data from any connected host device is forwarded to the slave module's serial port.

Many-to-one Bluetooth connection transmission schematic
Figure 6: Many-to-One Bluetooth Connection Schematic

5.2 Control Pin Functions

  • RESET (Reset Key Input): High level is effective; requires an external 10K pull-down resistor. Entering a high level restarts the module.
  • PC5 (Function Button Input): Internally pulled up. Pull down for 0.5 to 3 seconds to exit transmission and switch to AT command mode. Pull down for 8 to 20 seconds to restore factory default settings.
  • PC6 (Module Sleep Control Input): Internal pull-up. Suspension or input high level automatically puts the module into hibernation. Input low level for normal full-speed operation. Valid only if low-power sleep function is enabled.
  • PC7 (Module Hibernate State Output): High level indicates full-speed work, low level indicates hibernation.
  • PA4 (Bluetooth Connection Status Output): High level indicates not connected, low level indicates connected and a transmission channel has been established. When pairing binding is enabled, it represents successful pairing encryption on connection.
  • PA5 (Operating Mode Output): High level indicates master mode, low level indicates slave mode.

6. Kusamalira

To ensure optimal performance and longevity of your HLK-B40/B26 module, observe the following maintenance guidelines:

  • Zachilengedwe: Sungani gawoli pamalo owuma, kutali ndi chinyezi komanso kutentha kwambiri.
  • Kusamalira: Handle the module with care to avoid physical damage to the components or pins.
  • Magetsi: Onetsetsani kuti pali magetsi okhazikika mkati mwa voltage range (1.8V to 4.2V). Incorrect voltage akhoza kuwononga module.
  • Kuyeretsa: If necessary, gently clean the module with a soft, dry cloth. Avoid using liquids or harsh chemicals.

7. Mavuto

If you encounter issues with your HLK-B40/B26 module, consider the following common troubleshooting steps:

  • No Power/Module Not Responding: Verify that the power supply is correctly connected and within the specified voltage range. Check all connections for proper seating.
  • Nkhani Zolumikizana:
    • Ensure the module is in the correct operating mode (pass-through or AT command) via the SW0 jumper or equivalent control.
    • Check serial port settings (baud rate, data bits, parity, stop bits) to match the module's configuration.
    • Verify Bluetooth connection status using the PA4 output.
  • Module Not Entering AT Command Mode: Press and hold the KEY button (PC5) for 0.5 to 3 seconds. If using a test kit, ensure the SW0 jumper is correctly set.
  • Kubwezeretsa Zokonda Pafakitale: If the module behaves unexpectedly, press and hold the KEY button (PC5) for 8 to 20 seconds to restore factory default settings.
  • Mavuto osiyanasiyana: Ensure there are no significant obstructions between the module and the connected device. For optimal range, operate in an open environment.

8. Malangizo Ogwiritsa Ntchito

No specific user tips were available from the provided data. Always refer to the official documentation for the most up-to-date information and best practices.

9. Chitsimikizo ndi Thandizo

For warranty information, technical support, or further inquiries, please contact your vendor or Hi-Link directly. The modules are certified with CE, FCC, and RoHS, indicating compliance with relevant safety and environmental standards.


Hi-Link HLK-B40 BLE5.1 Bluetooth Module: Mawonekedwe ndi Chiwonetsero cha Kulankhulana

Hi-Link HLK-B40 BLE5.1 Bluetooth Module: Mawonekedwe ndi Chiwonetsero cha Kulankhulana

1:20 • 540×540 • chiwonetsero

Zolemba Zofananira - Chithunzi cha HLK-B40

Preview Hi-Link HLK-B40 Bluetooth 5.1 Transparent Transmission Module User Manual
Buku lathunthu la ogwiritsa ntchito Hi-Link HLK-B40, gawo la master-Slave Integrated Bluetooth 5.1 transparent transmission module. Imakwirira mawonekedwe a ma module, matanthauzidwe a pini, maulendo ogwiritsira ntchito, njira zogwiritsira ntchito (kutumiza ndi AT command), ntchito za pini zolowetsa / zotulutsa, maudindo a chipangizo, kugwirizanitsa, ndi chiwongolero choyambira mwamsanga pogwiritsa ntchito bolodi la mayeso la B40.
Preview Buku Lothandizira la HLK-TX510-028S Face Recognition Module Mini App
Buku lothandizira la Shenzhen Hi-Link Electronic Co., Ltd. HLK-TX510-028S Face Recognition Module, tsatanetsatane wa makonzedwe, kulumikizana kwa zida, ndi kugwiritsa ntchito pulogalamu yaying'ono ya WeChat pakukonza chipangizo ndi kuyang'anira mawonekedwe ake.
Preview Shenzhen Hi-Link HLK-B30 User Manual: 802.11n+BLE 4.2 Wireless Module
Comprehensive user manual for the Shenzhen Hi-Link HLK-B30, a low-consumption wireless module featuring 802.11n Wi-Fi and Bluetooth 4.2. Covers product description, technical specifications, hardware details, application areas, and testing procedures.
Preview HLK-LD2451 Serial Communication Protocol
This document details the serial communication protocol for the Hi-Link HLK-LD2451 radar module, essential for secondary development. It covers command structures, data output formats, and configuration methods via TTL serial interface.
Preview HLK-A S-1WR3 & HLK-B LS-1WR3 1W Yopatukana DC/DC Power Module Datasheet
Datasheet ya mndandanda wa HLK-A S-1WR3 ndi HLK-B LS-1WR3 wa Hi-link wa 1W, vol yokhazikikatage input, isolated and unregulated single/dual output DC/DC power modules. Features include high efficiency, wide operating temperature, short circuit protection, and small SIP package. Suitable for various electronic applications requiring isolated power. Includes detailed specifications, application circuits, and considerations.
Preview HLK-B20 BLE 4.2 Wireless Module User Manual
Bukuli la ogwiritsa ntchito limapereka chidziwitso chokwanira pa Hi-Link HLK-B20, gawo lochepa la Bluetooth BLE 4.2 lowongolera opanda zingwe. Zimakhudza kufotokozera kwazinthu, mawonekedwe aukadaulo, zambiri za Hardware, ntchito za pini, njira zosinthira, malamulo a AT, ndi njira zoyesera.