Hello! Welcome to Embedic!
This website uses cookies. By using this site, you consent to the use of cookies. For more information, please take a look at our Privacy Policy.
Home > Solutions > Health & Wellness > Smart toothbrush solution based on Airoha AB1611 Bluetooth sp02 blood oxygen/blood pressure/heart rate

Smart toothbrush solution based on Airoha AB1611 Bluetooth sp02 blood oxygen/blood pressure/heart rate

As everything is connected now, the era of the Internet of Things is coming. Consumer products are developing towards intelligent and wireless applications. Based on this, the AB1611 low-power consumption BLE Bluetooth solution and the precise spO2 blood oxygen provided by the MTK Bio chip MT6381, Blood pressure, heart rate data. Combined with big data cloud database AI analysis service. It can achieve daily monitoring of physical conditions and early notification of physical abnormalities.

AB1611 is a very simple and easy-to-use low-power Bluetooth BT5.0/BT4.2 BLE chip platform. There is a flash that can store the application software that can be connected to the mobile phone GATT transparent transmission. The TRSPX bin software is the blue The ADV broadcast packet defined by the Bud BLE 4.2 specification, the mobile phone APP can also scan the AB1611 through the Bluetooth SCAN function, connect and then establish the GATT service, exchange the characteristic value and transmit the GATT package. The software can also perform MTU according to design requirements Set up and comply with Android MTU packet and 185 bytes Bluetooth packet exchange format defined by Apple IOS.

Software framework

There are various FreeRTOS in AB1611, and all BLE stacks on it can be used directly. GATT, GAP, SM, FOTA, BLE mesh stacks are included in AB1611 and can be used directly.

AB1611 initialize BLE stack code

Init routine, initialize GATT, L2CAP package, OTA function

RSPX_service_init() – Initialize BLE GATT service and feature exchange

GATT characteristic value UUID

ADV broadcast packet RAW DATA

Software BLE event handler

The Bluetooth stack event is implemented through an event handler. When a mobile phone is successfully connected or disconnected, and MTU data is exchanged, AB1611 will notify the FreeRTOS BT event handler from the underlying Bluetooth hardware.

When the phone is connected to AB1611, it will trigger BT_GAP_EVT_CONNECTED

When the mobile phone and 1611 transmit data, it will trigger BLE_GAP_MTU_EXCHANGED, and then display it in the console debug log, which is convenient for monitoring Bluetooth status and BLE MTU packet transmission data inspection during development.

Console log,

Software Archive 

Only six c codes are needed to easily complete the Bluetooth ble initialization, GATT service and MTU exchange data

Code snapshoot

Development environment

AB1611 provides a complete set of toolchain and C compiler. It conforms to its built-in MCU and Andes N9 core. After the installation is complete, a compilation shortcut will appear on your computer desktop.

Compiling is very easy, just type make to complete the compilation

Please refer to the compiled picture

Compilation instruction #make projects/SAC_1611/

After compiling, you only need to use AB1611 lab tool to burn

Start lab tool, set baudrate to 2M and program flash

Mobile APP software

AB1611 This solution provides a BLE GATT transparent transmission app, which can transmit the blood oxygen and blood pressure data read by the sensor to the mobile phone through the Bluetooth ble.

First install the app, then turn on the Bluetooth and scan device of the phone, the phone will find the SAC_AB1611 name, and then connect it, as shown below

Implementation of the program app, read blood oxygen, blood pressure data, and display it on the app

► Scenario application diagram

► Product entity diagram

► Showcase photos

► Scheme block diagram

► antenna test report

► Core technical advantages

Bluetooth 5 SIG grid solution, AB 1611 is an optimized single chip solution that integrates baseband, radio and flash memory for smart lighting and beacon applications. It complies with Bluetooth version 5.0 and SIG Mesh specifications. The embedded 512 KB flash memory is flexible and allows customized software development.

Feature

  • Embedded 32-bit microcontroller with 16/72 MHz clock rate
  • Embedded 512 KB Flash
  • 64 KB SRAM
  • 9 AIO support (12 bits)
  • 21 GPIO support
  • Integrated 1.8V switching regulator and 1.8V LDO regulator
  • Ultra-low power consumption for battery applications
  • QFN 5x5 40-pin package

MT6381 module specifications:

  • Integrated red and infrared light for reflective PPG measurement, LED + single-channel ECG analog front end
  • Compact size 6.8 mm x 4.93 mm x 1.2 mm, OLGA 22-pin package
  • External bill of materials (BOM): 4 capacitors + 2 electrodes
  • I2C /SPI digital interface

► Solution specifications

  • Support BT5.0 SIG Grid Bluetooth
  • Support low-power Bluetooth operation
  • Integrated red and infrared light for reflective PPG measurement: LED + single-channel ECG analog front end
  • Provide 6 key health data readings: heart rate, heart rate variability, blood pressure trend, blood oxygen saturation, electrocardiogram and light volume pulse wave graph.
  • Support cloud service database, AI analysis
  • Support Android, IOS APP

Compare products

Compare Empty