Post Go back to editing

Range conversion to 3.3V

Category: Software
Product Number: MAX30003

MAX30003 has 18 bit ADC so i wanted to convert the value range of this ADC to 0-3.3Volts.
I tried the formula below but still getting values bigger then 3.3.

double ecg = (sample*3.3)/(2^18 -1)

do anyone know how to handle this?

Thread Notes