hasanhasan 0 Posted January 9, 2019 Share Posted January 9, 2019 Hello ; We use internal temperature sensor of microcontroller . When we use just internal temperature sensor code we get true adc values and degrees . In our project we do pull-up for some pins . When we pull-up with (for example) " pinMode(PE_3, INPUT_PULLUP); " we get wrong adc values . If we dont pull-up , ADC is working true . Is ADC effected from pins or what is a problem ? Does anyone have idea ? Sincereley Quote Link to post Share on other sites
jsolarski 94 Posted January 14, 2019 Share Posted January 14, 2019 Yes, Pins will affect ADC values, for internal temp. My suggestion would do pull downs, on those ports connected to the ADC. when you do pull ups, there may be some leakage into the ADC that could skew the readings. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.