5744P ADC, How to get the sensor's real voltage?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

5744P ADC, How to get the sensor's real voltage?

477 Views
ChenBowen
Contributor II

 If connect a sensor to one of the ADC channal , the sensor's max voltage is 5V.  From my understanding,  In project' code, voltage=(CDATA/ 4095)*5.0 ,is that right?   

0 Kudos
1 Reply

471 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Yes, that is correct for 12 bit ADC.

CDATA * 5  / 4095

https://www.youtube.com/watch?v=k5oMLvDKJL4&ab_channel=Electrofun

Best regards

Peter

0 Kudos