Part Number: MSP430G2553
Hello Guys,
I want to measure the high voltage so i use Voltage dividing circuit and
read adc value but some problem is appear;
then in programe i use vcc for reference;
adc=ADC10MEM;
voltage 1 = adc*3.3/1023; (ADC measure Voltage)
voltage 2 = voltage 1 * (R2+R1)/R1 (VCC VOLTAGE)
it strange then value is not correctly to three-meter;
for emaple 30V -VCC then the result like picture;
note:adc value measure is Equivalent to three-meter
