AD8232 Class
- ID: ad8232
- Name: Single Lead Heart Rate Monitor
- Category: medical
- Manufacturer: sparkfun
- Link: https://www.sparkfun.com/products/12650
- Connection: gpio analog
Note: this sensor must be driven at 3.3V only.
This module simply spits out the ADC values reported by the sensor, with the intent to send that data, via serial or network port, somewhere to another piece of software running on a computer that plots the data for you, like an EKG.
Processing ( https://www.processing.org/ ) is software that should work, using information from the SparkFun* website.
This example just dumps the raw data:
Methods
AD8232
-
loPlus
-
loMinus
-
output
-
aref
AD8232 constructor
Parameters:
-
loPlus
NumberDigital pin to use for LO+
-
loMinus
NumberDigital pin to use for LO-
-
output
NumberAnalog pin to read the data
-
aref
NumberAnalog voltage reference
Returns:
value
()
Number
Returns the current ADC value for the device output pin. If an LO (leads off) event is detected, 0 is returned.
Returns:
ADC value