Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Thermistor #3

Open
Jaaannis opened this issue Feb 13, 2022 · 8 comments
Open

Thermistor #3

Jaaannis opened this issue Feb 13, 2022 · 8 comments

Comments

@Jaaannis
Copy link

Hi!
is there a PIN that i can use for thermistor? (3950 eg)
Can´t figure that out.
Thanks :-)

@Pieterv24
Copy link

for thermistor you need a pin that has access to the ADC.
These are gpio26 to gpio29 according to the docs of the RP2040 chip.
And since gpio26 and gpio27 are already used for the hotend, and bed thermistors.
gpio28 is for some reason part of the pins driving the z stepper driver (unaccesible).
That only leaves pin gpio29.

So if you already have a servo/bltouch etc connected to that port, you might need to change its location.
Possibly use gpio20 for that if it's still free

@bistory
Copy link

bistory commented Feb 27, 2023

for thermistor you need a pin that has access to the ADC. These are gpio26 to gpio29 according to the docs of the RP2040 chip. And since gpio26 and gpio27 are already used for the hotend, and bed thermistors. gpio28 is for some reason part of the pins driving the z stepper driver (unaccesible). That only leaves pin gpio29.

So if you already have a servo/bltouch etc connected to that port, you might need to change its location. Possibly use gpio20 for that if it's still free

Unfortunately, it doesn't work as expected : with a Beta 3950, I get crazy values like 330°C when ambiant temperature is 20°C...

@justgook
Copy link

justgook commented Mar 12, 2023

same here, any idea why it gives those values? on gpio29?

@xp4ndeR
Copy link

xp4ndeR commented Mar 13, 2023

For the thermistor TH0 and THB you have additional circuitry according to the documentation with resistors :

image

Personally I would try to edit my printer config in klipper and play with "pullup_resistor" and set it to 0 ( or even define a custom thermistor to account for the different resistance.

If not on klipper, I would solder a 4.7Kohm resistor in serie with my sensor and see if it's any better.

https://www.klipper3d.org/Config_Reference.html#thermistor

@justgook
Copy link

I think I need to retest it with other resters that really works, and if they fail too, then can think about adding additional circuitry

@justgook
Copy link

checked - still get same 340-360C - so - to make it work based on circuitry I need connect 4k7 resistor between positive, and gpio29, and then add in series with thermistor? (sorry not very good in reading schematics)

btw I need connect trimester between ground and gpio29, I'm right?

@xp4ndeR
Copy link

xp4ndeR commented Mar 14, 2023

I'm better at reading the documentation than schematics tbh :D

My understanding (which is limited) is that the additional circuit is meant to provide a more stable power source (ADC_VREF) or reduce power draw from the RPi2040 and probably provide better reading quality of the thermistor and also security with the diodes. But I'm kinda guessing as the electronics lesson were a long time ago !

But I think connecting a 4k7 resistor in series with your thermistor is enough to make it work. It shouldn't matter which side as resistor add value up ( thermistor is just a resistor that change depending of temp)

@mysy200
Copy link

mysy200 commented May 19, 2024

Yes, SKR Pico really need provide other pin for thermistor measure. like I use V0-Umbilical have other 100K chamber temperature.
Any one know it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants