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 :/
#Chamber sensor (ds18b20) does not show up
48 messages ยท Page 1 of 1 (latest)
for someone to be able to investigate, please post your klippy.log
klippy log may be useful but i was going to go through the dtoverlay stuff needed for 1wire
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
I do not want to argue, but klippy.log is just for the klipper right ? It does not contain system (startup) logs or am I mistaken ? My issue is not with Klipper itself, but before I even try to configure my sensor in Klipper, I do not even see it on the bus
apologies, i misunderstood your issue, ignore me
I will try this command, but I do have this overlay already specified in the config
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
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
Well, about that I'm not sure, but I did not change anything in terms of wiring, I did not add any external ones, but this set up worked on Bullseye version of Mainsail OS I installed like a year ago through Raspi installer :/
just thinking "outside the box" as you've already tried a lot of sensible things
I was suspecting whether bookworm has the w1 therm thingy included or do I need to somehow install it
Raspberry Pi One-Wire pins
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 ๐
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
yea, this was the guide I have used initially, also for the old installation
Tried this, but as I thought, did not help:
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 ๐ )
is it possible the sensor has failed?
hopefully not ๐ I will try to test it later today with an arduino, bcs I do not have any spare sensors ๐ข
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
I can confirm that sensor works, here is the output from Arduino, as you can see the serial id looks to be just reversed
i'm not sure i have any other suggestions that don't involve money, i'm afraid
what would involve money ? ๐
I have that, bcs I planned to build Stealthmax ๐ but I had to disable i2c on raspberry bcs of my touch screen
@night raven oh wise sage, do you know any 1wire stuff
Ah, no, can't say as I've ever used one of those. I have a couple bme280s ๐
no worries thank you. not sure where else to direct OP
The yelling about gpio4 is interesting. What's happening there?
i think they said they'd tried the other possible 1W pins
Hmm
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
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?)
https://github.com/Klipper3d/klipper/blob/master/docs/Config_Reference.md#ds18b20-temperature-sensor