Timeline for DS18B20 temperature sensor crashes MbedOS on Arduino Nano RP2040?
Current License: CC BY-SA 4.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 26, 2023 at 14:56 | comment | added | timemage | @MauroPagano, I see your comment was converted from an answer. I point that out mostly for the benefit for everyone (most people) that can't see that. It seems like it's the same content that I'd put under the "Matmunk library with OneWireNg" header. So maybe that's why it was converted to a comment. If you were trying to address that part of my answer, then I'm not entirely sure what to say except perhaps if you found a difference it was in the version of OneWireNg, which for me was almost certainly the 0.12.2 I'd linked. | |
Apr 25, 2023 at 16:40 | comment | converted from answer | Mauro Pagano | It didn't work for me. I removed the OneWire library and installed OneWireNg. I installed Mathias Munk Hanson's DS18B20 library and loaded the sketch found at this address: github.com/matmunk/DS18B20/blob/1.0.0/examples/Multiple/… Arduino Nano RP2040 crashes as soon as the sketch is loaded. | |
Dec 21, 2022 at 22:48 | comment | added | daneos | Thanks so much! Using OneWireNg instead of OneWire indeed solves the problem. I looked for problems in DallasTemperature and DS18B20 libraries, but somehow it did not occur to me to look into the OneWire itself. | |
Dec 21, 2022 at 22:46 | vote | accept | daneos | ||
Dec 21, 2022 at 17:12 | history | edited | timemage | CC BY-SA 4.0 |
Updated regarding OneWireNg with Matmunk and DallasTemperature libraries
|
Dec 19, 2022 at 21:12 | history | answered | timemage | CC BY-SA 4.0 |