patchinc / heartypatch

A single lead ECG heart-rate variability monitoring patch with ESP32
https://www.crowdsupply.com/protocentral/heartypatch
Other
127 stars 41 forks source link

[FR] Support DIY with ESP32-Dev and AD8232 #11

Open aenertia opened 5 years ago

aenertia commented 5 years ago

Hi there ; I would like to use Heartypatch code base for my DIY'd ecg running on a clone esp32-dev board and ad8232.

The main challenges are some of the hardcoded assummptions about the max3000 adc chip. It would be great to refactor things a little so that any adc could be dropped in as a pin def/header def and reuse everything else.

aenertia commented 5 years ago

the AD8232 just returns a reading over Analog ; ideally I just want a data structure where this reading can be returned into and then the rest of the code can remain the same; after undefining the max/spi stuff.