adc calculator for pic

Status
Not open for further replies.

hirenn

Full Member level 1
Joined
Jul 12, 2014
Messages
96
Helped
0
Reputation
0
Reaction score
0
Trophy points
6
Activity points
703
hello
Anyone knows where i can find ADC calculator pic microcontroller
thanks
 

D = (A/Vref) * resolution.

Most PICs have 10-bit ADC so the result is (Analog input/Vref) * 1023

Vref can be VDD, an internal reference if the PIC has one or an external reference if the pin is configured.

The input voltage can't be higher than Vref or the ADC module can be damaged.

Brian.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…