FlexCase

Analog Input Guide

Last updated 2025-09-16

Analog Input Specifications

Feature Specification
Maximum Input Voltage 36V
Default Pull Pull down
Resolution 8, 10, 12, 14* bit
Cutoff Frequency Coming soon.
Reading Precision 0.25%
Capacitance 455 pF
Protections Overvoltage, Reverse Polarity

*Only available on some models.

Analog Circuit Details

The standard SKUs have a voltage divider of 1/12th*, so a 36V input will reach the MCU at 3.0V.

The equation to calculate theoretical ticks is

ADC ticks = (Resolution of ADC/3300 mV) * (Input voltage mV) * (Divider Ratio)

A 12V input on the standard input circuit (Divider ratio = 1/12)** for different resolutions is calculated as:

 

Resolution of ADC Input Voltage Read Ticks Millivolts/tick
8bit = 255 12000 mV 77 155
10bit = 1,023 12000 mV 310 39
12bit = 4,095 12000 mV 1240 9.7
14bit = 16,383 12000 mV 4964 2.4

However, there are voltage drops along the sensing line and tolerances with the components, so it is always best to calibrate.

*, **: Divider ratio for ADC12 is 1/2 by default for EV Charging applications. R1 and R2 are 49K9 ohm each. This input will tolerate a 36V input.

Alternative Configuration Examples

For volume orders, the voltage divider can be modified to order as required. This can be useful for a 0-5V throttle signal to achieve sub 1mV/tick accuracy. Note that the maximum voltage on the line is reduced to the maximum measurement value if changed.

A dual position sensor may commonly have a 0-5V range, load requirements, and capacitance requirements. With two 23K2 resistors the measurement becomes 0.4mV/tick with a 0-6V range and a 15mV precision.

A PT1000 can have a resistance of 800-1600 ohms across a temperature range of -50 to 130C while an NTC 10K can have a resistance of 500-700,000 ohms. If the sensor is supplied with the 5V sensor supply and connected to an analog input with R1 configured for 1000 ohm and R2 configured for 1000 ohm the following performance is achieved.

The sensitivity for the PTC input can be increased by an additional 50% by using a 12V source at setting R1 to 2000 ohm if needed.

The inputs are protected against short to ground and supply voltage. Note: It may be important to calibrate the sensor readings.

Each input type is optimized according to the table below

Parameter 0-5V 0-10V 4-20mA
R1 (ohms) 1000 2300 330
R2 (ohms) 1000 1000 150
Cutoff Voltage (mV) 6600 11000
Sensitivity (mV/tick) 0.402 0.664

All inputs are protected against short to ground and VCC.