Skip to content
Discussion options

You must be logged in to vote

I made an interesting observation. When the ADC pin is

  • first set to Pin, input mode, and
  • then configured as ADC

the input impedance is high (not like 25k), and the temperature dependency is gone. So you could try in your code to insert at the top before the line thermistor28 = machine.ADC(28) #hwr, hot water return, 10K NTC thermistor typical:

from machine import Pin
p27 = Pin(27, Pin.IN)   # the symbol names pxx do not matter. The can be omitted
p28 = Pin(28, Pin.IN)

Edit: It may not apply to your batch of the RP2040, since you had all the time reading with the resistor divider in the range of 32000.

Replies: 24 comments 56 replies

Comment options

You must be logged in to vote
1 reply
@robert-hh
Comment options

Comment options

You must be logged in to vote
5 replies
@opiedopy
Comment options

@robert-hh
Comment options

@opiedopy
Comment options

@robert-hh
Comment options

@opiedopy
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@opiedopy
Comment options

Comment options

You must be logged in to vote
1 reply
@opiedopy
Comment options

Comment options

You must be logged in to vote
2 replies
@Josverl
Comment options

Josverl Jan 21, 2024
Collaborator Sponsor

@opiedopy
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@robert-hh
Comment options

@robert-hh
Comment options

@mendenm
Comment options

Comment options

You must be logged in to vote
3 replies
@robert-hh
Comment options

@opiedopy
Comment options

@robert-hh
Comment options

Comment options

You must be logged in to vote
1 reply
@robert-hh
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@mendenm
Comment options

@robert-hh
Comment options

@mendenm
Comment options

@opiedopy
Comment options

@mendenm
Comment options

Comment options

You must be logged in to vote
1 reply
@robert-hh
Comment options

Comment options

You must be logged in to vote
4 replies
@mendenm
Comment options

@robert-hh
Comment options

@opiedopy
Comment options

@robert-hh
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
12 replies
@opiedopy
Comment options

@mendenm
Comment options

@mendenm
Comment options

@robert-hh
Comment options

@mendenm
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
8 replies
@robert-hh
Comment options

@mendenm
Comment options

@opiedopy
Comment options

@opiedopy
Comment options

@robert-hh
Comment options

Comment options

You must be logged in to vote
9 replies
@robert-hh
Comment options

@mendenm
Comment options

@robert-hh
Comment options

@opiedopy
Comment options

@robert-hh
Comment options

Answer selected by opiedopy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants