0% found this document useful (0 votes)
26 views2 pages

A Simple Library For Getting ECG On Arduino

This document summarizes a project that uses a library to get ECG data from a uECG device onto an Arduino board. The required components are an Arduino, nRF24 wireless module, OLED display, and uECG device. The library handles connecting these components and retrieving raw and processed ECG data from the uECG device to display on the OLED screen or print to the serial monitor. While the code may seem complex, the library simplifies accessing the ECG data. Some data loss over the wireless connection is normal due to bandwidth limitations but the library still allows retrieving heart rate and other metrics calculated on the uECG device.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
26 views2 pages

A Simple Library For Getting ECG On Arduino

This document summarizes a project that uses a library to get ECG data from a uECG device onto an Arduino board. The required components are an Arduino, nRF24 wireless module, OLED display, and uECG device. The library handles connecting these components and retrieving raw and processed ECG data from the uECG device to display on the OLED screen or print to the serial monitor. While the code may seem complex, the library simplifies accessing the ECG data. Some data loss over the wireless connection is normal due to bandwidth limitations but the library still allows retrieving heart rate and other metrics calculated on the uECG device.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

instructables

A Simple Library for Getting ECG on Arduino

by the_3d6

This project illustrates how to get raw and processed ECG data from uECG device using this library

Project requires:
- Arduino
- nRF24 module (any)
- OLED (for showing data, can print them to serial monitor instead)
- uECG device for measuring ECG and transmitting it via radio

https://youtu.be/TKCE0dRz2fw

Step 1: Schematics

Arduino connections are standard: nRF24 module via SPI like in any other example (you can connect CS and CE wires to
di erent pins if you want to, just need to adjust numbers in the code), OLED module via I2C also like in any other example
:)

A Simple Library for Getting ECG on Arduino: Page 1


Step 2: Code

Make sure you have installed RF24 library (for, well, uECG.run() and uECG.getBPM/steps/ECG/whatever -
nRF24 module) and Adafruit SSD1306 library for OLED. library provides a lot of options) - everything else is
required to get these data displayed on screen with
Then install uECG device library: proper scrolling and scaling. You can nd a much, much
https://github.com/ultimaterobotics/uECG_library shorter sketch in library's examples that only prints stats
to serial monitor.
Sketch code looks complicated, but in fact for getting
ECG data you need only a few lines (uECG.begin() ,
Download

https://www.instructables.com/ORIG/FUK/9UGT/KKSASYL4/FUK9UGTKKSASYL4.ino

Step 3: What to Expect

In addition to OLED displaying current data from the a close range. At longer range it would become less
device, you can see ECG data in serial plotter. Since all reliable, and from another room only few packets would
data are transmitted via radio, and nRF24 is having hard arrive - still allowing to get BPM and other data
time processing this data stream, it's normal to see some calculated on the device, but no realtime ECG.
missed data points - but mostly stream should be ne at

A Simple Library for Getting ECG on Arduino: Page 2

You might also like