Zubax / opengrab_epm_v3

OpenGrab Electropermanent Magnet
https://zubax.com/epm
GNU General Public License v3.0
32 stars 19 forks source link

ADC seems to hickup every now and then #40

Closed ctech4285 closed 7 years ago

ctech4285 commented 7 years ago

It seems that it miss read input or output voltage, triggers an error

pavel-kirienko commented 7 years ago

Please provide more info; the description you provided is insufficient. How exactly the misreading happens? How frequently? What output is produced and what output is expected? What error is triggered?

ctech4285 commented 7 years ago

Problem found, external ADC capacitor lags behind the main capacitor voltage.

https://github.com/Zubax/opengrab_epm_v3/blob/master/firmware/src/magnet/magnet.cpp#L262