3943 views|1 replies

74

Posts

0

Resources
The OP

2812 Numerical calculation of collected analog quantities [Copy link]

How come I see the calculation formula in the material is: Digital Value = 4095 **Input Analog Voltage -ADCLO)/3.0
but I also see

((float)AdcRegs.ADCRESULT0)*3.0/65520.0 = Input Analog Value
But why is it 65520.0 instead of 4095?
Please advise.
This post is from Microcontroller MCU

Latest reply

A little wrong, should be divided by 2^16-2^4,  Details Published on 2007-7-24 05:46

86

Posts

0

Resources
2
A little wrong, should be divided by 2^16-2^4,
This post is from Microcontroller MCU

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

Related articles more>>

    EEWorld
    subscription
    account

    EEWorld
    service
    account

    Automotive
    development
    circle

    Robot
    development
    community

    Copyright © 2005-2025 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
    快速回复 返回顶部 Return list