Skip to the content
4 layers24.4 × 35.6 mmAFE 03, the printed circuit board in 3D

Software for a Functional Demonstrator of a Medical Wearable for ECG and Activity Monitoring with Wireless Communication. With ADS1293, nrf52840, LSM6DSO. Includes an Android App and Python GUI.

Size
24.4 × 35.6 mm
Copper layers
4
Thickness
1.6 mm
Parts
41
Nets
47
Pads
137
Tracks, vias
225, 39
Pours
6
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
11 Jun 2023
Updated
15 Aug 2023

Overview

AFE 03 is an open-source printed circuit board by NeDaMo93, from the NeDaMo93/Wearable_ECG_ADS1293_nrf52840 repository on GitHub. It is a 4-layer board of 24.4 × 35.6 mm with 41 parts on 47 nets, routed with 225 tracks and 39 vias.

It is built around the TPS61222DCK. Its parts include 20 resistors, 12 capacitors, 3 connectors, 2 ICs and 1 switch.

Main components

1

README

README.md

Wearable_ECG_ADS1293_nrf52840

Software for a Functional Demonstrator of a Medical Wearable for ECG and Activity Monitoring with Wireless Communication. With ADS1293, nrf52840, LSM6DSO. Includes an Android App and Python GUI.

Summary of the research project

This research project aims to design and develop a functional demonstrator of a portable device for long-term Electrocardiogram (ECG) measurements. The proposed device intends to address the need for continuous and non-invasive monitoring of cardiac activity over extended periods, providing valuable insights into the diagnosis and management of cardiovascular conditions. In addition to enabling long-term Electrocardiogram (ECG) measurements, the developed wearable device will also incorporate advanced sensors to monitor body position, physical activity, and body temperature continuously. This comprehensive approach aims to provide a holistic assessment of the user's physiological status, allowing for a more thorough evaluation of their overall health. The primary objective of this project is to create a working prototype that can serve as a foundation for future advancements in the field. The successful development of this device will facilitate subsequent research projects, fostering innovation and further exploration of long-term ECG monitoring technologies at our institution. Throughout the research process, various aspects, such as hardware design, signal processing algorithms, power efficiency, and user-friendliness, will be carefully considered and optimized to ensure the device's reliability and practicality. Additionally, emphasis will be placed on achieving a cost-effective solution without compromising the quality of data collected. Ultimately, the successful completion of this project will lay the groundwork for subsequent investigations, encouraging a continuous cycle of research and development in the domain of portable long-term ECG monitoring. The findings and insights gained from this study will contribute significantly to the improvement of cardiac healthcare and enhance the quality of life for individuals with cardiovascular conditions.

Hardware Architecture

Based on the requirements, the concept architecture and associated functions could be defined by using specific hardware, which is shown in the following figure. For the demonstrator, Nordic's nRF52840 microcontroller acts as the central element, which is available in the form of a developer board from Adafruit Feather. This board has several integrated functions, including push buttons for triggering external events, LEDs for status indication, and an energy-efficient Bluetooth module. A matching SD card module from Adafruit allows local storage of recorded data. The ADS1293 is used as the analog front end for processing ECG signals. The user's activity level and body position are detected with the help of the ST LSM6DSO IMU. Body temperature is measured by using a PT1000 sensor. The Easypack S rechargeable battery system from Varta supplies the necessary energy. Finally, the collected data is transmitted via Bluetooth to a PC and Android smartphone and displayed. image

Software Architecture

The firmware is designed to efficiently handle data acquisition from the ECG and IMU (Inertial Measurement Unit) sensors and transmit the collected data via Bluetooth Low Energy (BLE) while storing it on an SD card. The architecture is implemented using six components, including four separate threads and two interrupt Service Routines (ISRs). image

User Interfaces

Anrdoid App

The Android application was constructed using the open-source code provided by Nordic for the Android-nRF-Blinky application. The Android-nRF-Blinky application, written in Kotlin, serves as an excellent introduction for developers unfamiliar with Bluetooth Low Energy (BLE) and can serve as a template for other projects. The application uses the Android BLE Library to manage its Bluetooth connections. When the application starts, it scans for nearby BLE devices. Once a device is selected, the application connects to it and discovers its services and characteristics (using the GATT protocol). image

Python GUI

The Python-based graphical user interface (GUI) connects the ECG device via Bluetooth Low Energy (BLE) and visualizes real-time ECG data. It also displays the patient's activity level, body temperature, heart rate and body posture. The code utilizes PyQt5 for GUI development, Matplotlib for plotting, asyncio for asynchronous tasks, Bleak for BLE communication, and biosppy for ECG signal processing. image

LBS Files

lbs.h and lbs.c must be replaced in your zephyr directory
lbs.h:
..\nrf\include\bluetooth\services
lbs.c:
..\nrf\subsys\bluetooth\services

Parts

41
QtyValueFootprintReferences
70Resistor_SMD:R_0402_1005MetricR3, R8, R19, R20, R21, R22, R23
51.0MResistor_SMD:R_0402_1005MetricR1, R17, R18, R27, R28
551Resistor_SMD:R_0402_1005MetricR4, R6, R7, R25, R26
40.1uFCapacitor_SMD:C_0402_1005MetricC1, C12, C14, C15
210uFCapacitor_SMD:C_0805_2012MetricC3, C4
222pFCapacitor_SMD:C_0402_1005MetricC10, C11
2Conn_01x12Connector_PinHeader_2.54mm:PinHeader_1x12_P2.54mm_VerticalJ2, J3
10.1uFCapacitor_SMD:C_0603_1608MetricC16
10.1uFCapacitor_SMD:C_0402_1005Metric_Pad0.74x0.62mm_HandSolderC9
110MResistor_SMD:R_0402_1005MetricR9
110kResistor_SMD:R_0402_1005MetricR5
11nFCapacitor_SMD:C_0603_1608MetricC13
1200kResistor_SMD:R_0402_1005MetricR2
147uFCapacitor_SMD:C_1206_3216MetricC2
1ADS1293CISQ/NOPBADS1293CISQ_NOPB:QFN50P500X500X80-29NU2
1Conn_01x03_SocketConnector_JST:JST_XH_B3B-XH-A_1x03_P2.50mm_VerticalJ1
1Crystal_SmallCrystal:Crystal_SMD_HC49-SDY2
1EPL3015-472MLBEPL3015-472MLB:IND_EPL3015-472MLBL1
1SW_SPSTButton_Switch_SMD:SW_Push_1P1T_NO_6x6mm_H9.5mmSW2
1SolderJumper_3_OpenJumper:SolderJumper-3_P1.3mm_Open_RoundedPad1.0x1.5mmJP1
1TPS61222DCKTPS61222DCK:DCK_R-PDSO-G6IC1

Similar boards

  • 2 layers44.8 × 36 mmPanel, the printed circuit board in 3D

    Panel

    jeffc/nrf52-watch-obsolete

    obsolete repository - see https://github.com/jeffc/nrf52-watch-firmware

    68 parts6
  • 4 layers140 × 88.4 mmBenboard, the printed circuit board in 3D

    Benboard

    ben-labs-ltd/benboard

    The BenBoard Split Ergo Mechanical Keyboard

    111 parts5GPL-3.0
  • 4 layers25.4 × 20 mm520nm i2c 16mA, the printed circuit board in 3D

    520nm i2c 16mA

    iorodeo/i_control_led

    Hardware files for IO Rodeo's current controlled led for the open colorimeter

    32 parts3CC-BY-4.0
  • 2 layers58.4 × 127 mmExternalPCB, the printed circuit board in 3D

    ExternalPCB

    Kllngii/Wetterstation

    Es sollen mit einem Mikrocontroller mehrere Sensordaten erfasst und aufbereitet werden

    31 parts2
  • 2 layersMeshtastic node, the printed circuit board in 3D

    Meshtastic node

    ben-labs-ltd/BL-N305X

    Meshtastic intended LoRa Node - Ben Labs Node 30.5dBm

    115 parts1MIT
  • 4 layers40.5 × 80.2 mmNULL, the printed circuit board in 3D

    NULL

    jadenvv/NULL

    A version of a flipperzero that has the same capabilities of Sub-GHz RF, IR, Wifi, and NFC/RFID

    121 parts1
  • 2 layers100.1 × 50.8 mmStm32, the printed circuit board in 3D

    Stm32

    jonatlib/stm32-433mhz

    Testing program stm32-433mhz

    59 parts1
  • 4 layers63.8 × 50.8 mmV2 reference, the printed circuit board in 3D

    V2 reference

    ameesme/little-camera

    A small black-and-white camera that posts to its own tiny blog, and everything around it.

    85 partsMIT

Questions

How big is the AFE 03 PCB?

It measures 24.4 × 35.6 mm and has 4 copper layers, 1.6 mm thick.

What parts does the AFE 03 use?

41 parts, built around the TPS61222DCK. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the AFE 03 KiCad files?

From the NeDaMo93/Wearable_ECG_ADS1293_nrf52840 repository on GitHub, at the commit this page was made from: the board is PCB_AFE_ADS1293/AFE_03.kicad_pcb and its schematic PCB_AFE_ADS1293/ADS1293.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the AFE 03 design in my own project?

Its repository states no licence, so its author keeps all rights: ask NeDaMo93 before reusing the design.