ADC: различия между версиями
Строка 7: | Строка 7: | ||
The main channel have 12K/33K dividers. Thus the input voltage for each channel is 1.364 * <measured voltage> | The main channel have 12K/33K dividers. Thus the input voltage for each channel is 1.364 * <measured voltage> | ||
Some of the ADC channels share terminal blocks with FET. Please make sure you have | Some of the ADC channels share terminal blocks with FET. Please make sure you have explicitly closed the corresponding FET using GPIO before using ADC. | ||
=== Input voltage measuring === | === Input voltage measuring === | ||
Channel 5 of the multiplexer is dedicated to measuring input voltage. | Channel 5 of the multiplexer is dedicated to measuring input voltage. | ||
The channel has 200K/33K divider. Thus the input voltage is 7.061 * <measured voltage>. | The channel has 200K/33K divider. Thus the input voltage is 7.061 * <measured voltage>. |