#Chamber sensor (ds18b20) does not show up

48 messages ยท Page 1 of 1 (latest)

distant vector
#

I had some problems with SD card and older Bullseye based instalation, so I have completely reinstalled Mainsail OS 2.0 on SSD using RPI installed, which is Bookworm based and now I have troubles getting one-wire work. My ds18b20 chamber temp sensor does not show up at all. I had it originally on pin18 (GPIO24), but I have now also tried to switching it default pin7 (GPIO4), but that did not help. I tried to "sudo modprobe w1-gpio" and "sudo modprobe w1-therm", but that did not help either. I only have the 00-something besides master and I really do not know what else to do :/

trim peak
#

for someone to be able to investigate, please post your klippy.log

zealous girder
#

on newer OS's you'd need to run something like sudo dtoverlay w1-gpio gpiopin=4 pullup=0 # header pin 7 to set it up

distant vector
trim peak
distant vector
#

I have tried to also add pullup=0

#

I have tried to set it to default 4

#

remove gpiopin param

#

none of that has helped

#

but I have not yet tried to use the command tho

zealous girder
#

have you got a hardware pullup in place? just thinking of other things from prior one wire experience

#

i suppose the sensor may have one already

distant vector
zealous girder
#

just thinking "outside the box" as you've already tried a lot of sensible things

distant vector
#

I was suspecting whether bookworm has the w1 therm thingy included or do I need to somehow install it

zealous girder
distant vector
#

Honestly, I'm fighting with this just the second day, I have searched on google a lot, also asked chat gpt, it did not help either ๐Ÿ˜…

zealous girder
#

i think the fact you have the dtoverlay already there is all the installation that's needed

#

i don't think there's anything in raspi-config that's relevant

distant vector
distant vector
#

it just pretty much did a reset on the bus

#

(I have tried even enabling one-wire through raspi-config, ofc that did not help either ๐Ÿ˜„ )

zealous girder
distant vector
#

could that max slave count reached mean something ? ๐Ÿค”

#

that error almost at the bottom I think is from when I tried that command "sudo dtoverlay...."

#

but before that error, there is some more info

#

but I think that is bcs gpio4 is already being set up for w1, since I have it still in my config.txt

distant vector
zealous girder
#

i'm not sure i have any other suggestions that don't involve money, i'm afraid

distant vector
#

what would involve money ? ๐Ÿ˜„

zealous girder
#

a different sensor

#

BMP/BME etc

distant vector
#

I have that, bcs I planned to build Stealthmax ๐Ÿ˜… but I had to disable i2c on raspberry bcs of my touch screen

zealous girder
#

@night raven oh wise sage, do you know any 1wire stuff

night raven
#

Ah, no, can't say as I've ever used one of those. I have a couple bme280s ๐Ÿ˜›

zealous girder
#

no worries thank you. not sure where else to direct OP

night raven
#

The yelling about gpio4 is interesting. What's happening there?

zealous girder
#

i think they said they'd tried the other possible 1W pins

night raven
#

Hmm

distant vector
#

Well it worked for me on Bullseye install on GPIO24 (pin18) and I have reinstalled to newer Bookworm and as far as I remember, I have only added overlay into config.txt and it worked, but I have tried multiple things and it does not show the sensor when I list w1 devices

#

After all of the things, my suspicion is that something is missing in the bookworm out of the box or there is some bug or something with 1w

distant vector
#

By any chance, do you guys know if it would be possible to connect the sensor (ds18b20) to raspberry pi pico or some arduino and connect that as an additional mcu to klipper ? ๐Ÿค” (what Iโ€™m asking is whether klipper has support for this sensor on any of these boards, or must I connect it to raspberry directly?)

night raven