In this project we will be recording ECG using Heart BioAmp Candy.
What is Electrocardiography (ECG)?
Electrocardiography is the measurement of electrical activity in the heart.
About Heart BioAmp Candy:
Heart BioAmp Candy is a candy-sized sensor for recording ECG signals easily. It is perfect for students and researchers as it offers reliable and accurate ECG recordings, making heart monitoring accessible and convenient for educational and research purposes.
The entire BioAmp Hardware series of sensors from Upside Down Labs is designed in a way to teach you the basics of the instrumentation amplifier, active bandpass filtering, soldering, programming, neuroscience, HCI, and BCI just to name a few concepts.
SuppliesConnect Heart BioAmp Candy to Arduino Uno R4 using the jumper cables as shown above:
- VCC to 5V
- GND to GND
- OUT to A0
Note: BE VERY CAREFUL and follow the above diagram while making the connections between your Heart BioAmp Candy & Arduino Uno R4, especially the GND and VCC else it may damage the sensor.
Step 2: Connecting Electrode CableConnect the BioAmp Cable v3 to Heart BioAmp Candy.
Step 3: Skin PreparationApply Nuprep Skin Preparation Gel on the skin surface where electrodes would be placed to remove dead skin cells and clean the dirt from skin. After rubbing the skin surface thoroughly, clean it with a wet wipe.
About Nuprep Gel:
Nuprep skin preparation gel is a mildly abrasive, highly conductive gel that should be applied before placing the electrodes on the skin to improve measurements. When applied gently, it strips away the top layer of skin and moistens the underlying skin layer which reduces the skin impedance with minimal skin irritation and discomfort.
Complete guide for skin preparation: https://docs.upsidedownlabs.tech/guides/usage-guides/skin-preparation/
Step 4: Electrode PlacementsSo now we have 2 options to measure the ECG signals, either using the gel electrodes or using dry electrode based ECG band. You can try both of them one by one.
Option 1 - Measuring ECG using Gel electrodes:
- Connect the BioAmp Cable v3 to gel electrodes,
- Peel the plastic backing from electrodes
- Place the IN-, IN+ and REF (reference) as shown above.
Complete guide on using gel electrodes: https://docs.upsidedownlabs.tech/guides/usage-guides/using-gel-electrodes/
Option 2 - Measuring ECG using Heart BioAmp Band, a dry electrode based ECG band:
- Place the IN- cable on the left side, IN+ in the middle and REF (reference) on the far right side as shown above.
- Now put a small drop of electrode gel on the dry electrodes between the skin and metallic part of BioAmp Cable v3 to get the best results.
Complete guide on using BioAmp Bands: https://docs.upsidedownlabs.tech/guides/usage-guides/using-bioamp-bands/
Step 5: Download Arduino IDEDownload the Arduino IDE from the link given below:
https://www.arduino.cc/en/software
After downloading, connect the Arduino Uno R4 to your laptop using the USB Cable (Type A to Type C)
Note: Make sure your laptop is not connected to a charger and sit 5m away from any AC appliances for best signal acquisition
Step 6: Uploading CodeCopy paste the Arduino firmware given below in Arduino IDE.
Chords Arduino Firmware: https://github.com/upsidedownlabs/Chords-Arduino-Firmware
Note: We are uploading UNO-R4 firmware as we are using Arduino Uno R4 but in case you are using Arduino Uno R3 then make sure to upload UNO-R3 firmware.
Step 7: Visualizing ECG Signals Using CHORDSWe will be using CHORDS which is an open source web application developed by us and it is designed for real-time signal visualisation, particularly tailored for bio-potential signals like EEG, EMG, ECG and EOG.
For this project, we will be using it to visualize ECG signals using the steps given below:
Visithttps://chords.upsidedownlabs.tech/- Click on
Visualize now - Click on
connect - Select the correct
COMport and then click on connect to connect your development board to CHORDS - Now you will be able to visualize ECG signals.
CHORDS is equipped with a lot of features. Please find below some of the features which may be helpful for this project
- Record and save data: You can record your ECG data in a CSV file and save it in your laptop for further analysis.
- Freeze Stream: Freeze the stream to analyze the data. Resume the stream when you are ready to continue.
- Zoom in / Zoom out: It gives you more control as you can either zoom in to look at specific data points or zoom out for an overall view.
Congratulations on successfully completing the project!
Let us know your feedback in the comments and feel free to ask any questions.
In case of any issues, you can check the following links:
- Tips for best signal acquisition: https://docs.upsidedownlabs.tech/guides/troubleshoot/tips/#
- Fixing hardware setup: https://docs.upsidedownlabs.tech/guides/troubleshoot/fix-hardware-setup/
- Resolving software issues: https://docs.upsidedownlabs.tech/guides/troubleshoot/resolve-software-issues/
You can also mail us at support@upsidedownlabs.tech for any kind of support while you are making this project.









Comments