ADC calibration and averaging lib?


hello everyone!

i'm working on battery analyzer project samples lots of analog data. data passed on various voltage dividers, op-amps, etc stuff, it's virtually impossible predict , match analog values in code, , values differ little different sensor pcb due non-equal components.

the thing noticed experimenting trusted data , sampled adc values (in excel), can catch 2 adc values (one @ min signal range, , other @ max signal range), take corresponding analog values, , use simple multiply/shift formula real sensor value raw adc data. accuracy hardware perfect, 0.1% 0.5%.

so started ide , coded code acquiring cal data, , routines right math me.
i can awesome analog values now, i'm little bored coding corresponding stuff storing cal data in eeprom, catching exceptions (lower-than-low adc, , higher-than-high adc), optimizing code/ram usage, averaging value 1000 adc reads, etc.

so reinventing bicycle , missing great arduino library tasks?

welcome!,

i think part of job things on again. there parts "trouble"? can post code , forum can help


Arduino Forum > Using Arduino > Sensors > ADC calibration and averaging lib?


arduino

Comments

Popular posts from this blog

Convierte tu Raspberry en un NAS. Firmware fvdw-sl 15.3 - Raspberry Pi Forums

How to format a Get Request

avrdude: verification error, first mismatch at byte 0x0000 0x0c != 0x62