element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Test & Tools
  • Technologies
  • More
Test & Tools
Blog Measure ECG signals with Digilent Analog Discovery Studio and NI LabVIEW
  • Blog
  • Forum
  • Documents
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Test & Tools to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: alexwonglik1
  • Date Created: 2 Jun 2021 10:55 PM Date Created
  • Views 2702 views
  • Likes 5 likes
  • Comments 2 comments
  • test
  • waveforms
  • circuits
  • user interface
  • analog discovery studio
  • portable
  • project
  • amplifier
  • ni
  • digilent inc
  • oscilloscope
  • breadboard
  • usb scope
  • ekg
  • digilent
  • measurement
  • labview
  • interface
  • ecg
  • ads
  • filter
  • test & measurement
  • analog
  • lab
  • analog discovery
Related
Recommended

Measure ECG signals with Digilent Analog Discovery Studio and NI LabVIEW

alexwonglik1
alexwonglik1
2 Jun 2021

This project shows how to use the Analog Discovery Studio's Oscilloscope to measure the natural electrical potential generated by the heart (ECG). As the measured signal is of very low amplitude, it first needs to be amplified with external circuitry, which can be built on the Breadboard Canvas and supplied from the Analog Discovery Studio Power Supplies. With the help of WaveForms, the received data is sent to LabVIEW, where the postprocessing is done.

 

image

Analog Discovery StudioAnalog Discovery Studio is a fully functional, portable test and measurement device that can turn any cross-functional space into a pop-up electronics laboratory. Equipped with 13 instruments, including an Oscilloscope, Logic Analyzer, Spectrum Analyzer, Waveform Generator, and more; the Analog Discovery Studio provides an entire stack of bench-top instruments with a convenient, replaceable, and breadboardable interface.

 

 

WaveForms is the free software application for the Analog Discovery Studio and enables the use of the available analog and digital instruments. The software has been refined by customer feedback for over 10 years and features a computer and laptop-friendly user interface that has the feel of traditional benchtop software.

 

LabVIEW offers a graphical programming approach that helps you visualize every aspect of your application, including hardware configuration, measurement data, and debugging. This visualization makes it simple to integrate measurement hardware from any vendor, represent complex logic on the diagram, develop data analysis algorithms, and design custom engineering user interfaces.

 

image

 

Build the ECG circuit on Analog Discovery Studio

There are three steps to complete the circuit:

  • Building the Amplifier Circuit - The amplitude of the potential difference on the skin is just in the millivolt or microvolt range, so it has to be amplified.
  • Filtering Out the Common Mode Signal - The measured signal is too noisy, the heart signal can't be recognized. To correct this, the common-mode signal from the output of the first amplifier stage is amplified and inverted. The amplified and inverted common-mode signal (G) is connected to a current limiting resistor, then to the left wrist.
  • Eliminating the DC Component - The offset of the signal can be easily eliminated using a small decoupling capacitor between the output of the instrumentation amplifier and the oscilloscope probe.

 

image

Wiring diagram in Fritzing

Create the user interface in NI LabVIEW

There are four widgets in the front panel:

  1. A drop-down list to select the Oscilloscope channel,
  2. An input field to enter the number of seconds for which signals are acquired,
  3. A drop-down list to select the mains frequency which will be filtered later
  4. A Stop button stops the measurement

 

In addition, a plot pane displays the electrocardiograph signal. A slider and a numeric indicator show the calculated heart rate. The slider is in green when the heart rate is considered normal (between 50 and 100 bpm) and red otherwise. On the right side of the panel, a column displays all the data acquired from the ECG feature extractor block

 

image

 

Measure the ECG signal

Turn on the Analog Discovery Studio and connect it to a PC. Open the ECG VI. Place one surface electrode on the inner side of your left wrist, one on the inner side of your right wrist, and one on the inner side of your right ankle. With the alligator clips, connect the circuit to the electrodes. Start the VI with the play button. If you stay still for a few seconds, you will see on the plot pane your ECG signal and the estimated heart rate.

imageimage

 

The complete project guide and source files can be found on Digilent Reference Page.

  • Sign in to reply

Top Comments

  • Jan Cumps
    Jan Cumps over 4 years ago in reply to maxpowerr +1
    Analog Devices OP 482 Quad Opamp. Digilent published schema, software reqs and NI VI
  • Jan Cumps
    Jan Cumps over 4 years ago in reply to maxpowerr

    Analog Devices OP 482 Quad Opamp. Digilent published schema, software reqs and NI VI

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • maxpowerr
    maxpowerr over 4 years ago

    Great, what kind of amplifier chip did you use?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube