Skip to content

About

Flutter application with custom hardware that takes in EKG data from bluetooth low energy and displays over android and desktop

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

31 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

image

This readme is for the hardware creation of a portable EKG for under 50$!

If you are more interested in software, feel free to click on the cardiolyte folder above in order to see the source code.

Otherwise, lets get started with the DIY EKG monitor hardware tutorial!

PARTS

Here is a general list of what will be needed:

  1. Wet Electrodes
  2. Microcontroller with BLE capabilites, AnalogIN, 3.3V Out, and multiple grounds for battery and board (I would reccommend a raspberry pi pico)
  3. Sparkfun AD8232 Signal Clarifier Board
  4. 4X AA Battery Case Holder
  5. 4X AA Batteries Rechargable NiMH (I recommend NIMH due to them being forgiving to shorting, however you can use whatever battery you'd like if you are electrically experienced)
  6. Solder/Waygos/JumperWires (I used SolidCore wire and solder, but there are other alternatives if you do not know how to solder)

https://www.amazon.com/hz/wishlist/ls/3PMYRZBDLZI0Q?type=wishlist&filter=all&sort=date-added&viewType=list

Above is a list of the things I bought for my own implementation, however I would recommend getting a better battery case holder, as they were falsely advertised as parallel (they are in series) and points of their connections often had contact point issues with the battery.

I also got an ESP32 in this list, but the bluetooth writing was a bit difficult for sending the electrical signals I later found out, and the ESP32 would not be found whenever I scanned with the application.

ASSEMBLY

First for the parts, I would reccomend reading over SparkFun's Tutorial online, https://learn.sparkfun.com/tutorials/ad8232-heart-rate-monitor-hookup-guide/all.

Step One: Testing the AD8232 Board

Connect the ground, 3.3V and analog output on the AD8232 onto their respective pins on the pi pico/microcontroller you picked out. Reference a datasheet beforehand to ensure they are in the proper place!

Test the PiPico with the AD8232 using Arduino IDE 1.. version (very important! The new 2.0 IDE has issues with displaying multiple points at a time. Setup a serial read and print at the pin you assigned the output to on the AD8232 and open the plot/graph to see if you can get a proper signal with the clarifying board.

Step Two: Testing Bluetooth

Test sending the analogoutput and the time of the reading from the Microcontroller to the app.

You can utilize the Arduino IDE's BLE, platformIO, etc. just ensure that it works before the next step.

Step Three: Connecting Batteries to Microcontroller

Make sure to charge the batteries and test them with a multi meter at the output, and check the voltage output is okay for your microcontrollers voltage in range.

Test to see if your battery can power your microcontroller and AD8232 before soldering!

MAKE SURE YOU ARE ABSOLUTELY CERTAIN THE SIGNAL IS CLEAR AND THE BLE WORKS BEFOREHAND!

YOU WILL BE UNABLE TO PLUG INTO YOUR MICROCONTROLLER ONCE THE BATTERY POWERS IT FOR RISK OF SHORTING YOUR LAPTOP OR THE DEVICE

My device schematic ended up looking somewhat like this, but definitely re-verify this with the datasheet of your own personal microcontroller.

image

You can optionally create a CAD case and 3d print it with PLA, there is no shorting with the plastic, and the signal is relatively clear.

image

Here is my finished product.

About

Flutter application with custom hardware that takes in EKG data from bluetooth low energy and displays over android and desktop

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages