pyr0ball / pyr0piezo

An AVR/ARM based piezoelectric sensor for use in ultra-precise applications
https://docs.pyroballpcbs.com/
Other
71 stars 23 forks source link

Rev.2.x.x - Switch ADC polling to use internal vRef #23

Closed pyr0ball closed 5 years ago

pyr0ball commented 5 years ago

Currently the firmware logic doesn't directly account for the VCC input voltage of the circuit, but instead polls only the amp circuit for adjustment data. This has shown to cause instability with the voltage adjustment output.

Switching on the internal vRef and getting VCC polling will allow the ADC logic to be more precise and anticipatory of voltage fluctuations, without getting the big swings that occur from referential polling.

image

pyr0ball commented 5 years ago

Switching over to the internal VRef will require hardware changes: