OneWire ??????????

Hello, I just bought an Arduino nano 33 iot, I want to connect several temperature sensor (ds18b20) with the oneWire library. After several days of research, it appears that this library is not compatible with the NANO 33IOT. Do you have a solution to solve this problem?

Hello gui21540,

As I am sure you have found, the OneWire library requires modifying for the Nano 33's as pointed out here https://forum.arduino.cc/index.php?topic=643463.0. When/if that will happen is unclear.

Does the project you are using specifically need the ds18b20 or can you use another sensor such as an SPI or I2C sensor? The Nano IoT has its own temperature sensor in the onboard LSM6DS3 chip (although the Arduino library doesn't use it).

Thanks,
Matt

Deleted my previous posts since they have become irrelevant.

Problem solved for us. (yay)

This is the link the current OneWire library, I believe the guy who wrote this library in first place interacts here. It includes stuff for the NANO IOT, but idk how well it works with the NANO BLE yet.

Found it while back tracing the OneWire code to continue with my previous(now deleted) posts.

Delete the OneWire library in the Arduino IDE Sketches folder (mine is User/Documents/Arduino/libraries)
And replace with the updated library, it's seamless.

Make sure you close ALL your IDE windows and restart your IDE after making this change.

Did you manage to get the ds18b20 working with the nano iot then? I'm trying too but having no success at all. Tearing my hair out!!!

TheDanSide:
Deleted my previous posts since they have become irrelevant.

Problem solved for us. (yay)

GitHub - PaulStoffregen/OneWire: Library for Dallas/Maxim 1-Wire Chips

This is the link the current OneWire library, I believe the guy who wrote this library in first place interacts here. It includes stuff for the NANO IOT, but idk how well it works with the NANO BLE yet.

Found it while back tracing the OneWire code to continue with my previous(now deleted) posts.

Delete the OneWire library in the Arduino IDE Sketches folder (mine is User/Documents/Arduino/libraries)
And replace with the updated library, it's seamless.

Make sure you close ALL your IDE windows and restart your IDE after making this change.

For anyone else struggling, I can confirm that the ds18b20 temperature sensors definitely work with nano iot. After several days of messing I bought a new sensor and found it works fine. Just make sure you use the 4.7k resistor.