Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
5 years, 9 months ago.
NUCLEO_F429ZI and OneWire library "Maxim Integrated"
Hi everyone, I saw the OneWire library Maxim Integrated, and I wanted to know if it could be used with a "NUCLEO_F429ZI" board, to read the temperature from a "DS18B20" sensor.
Thank you.
P.S. this is an online translation, sorry
Question relating to:
2 Answers
5 years, 9 months ago.
Try these libraries,
https://os.mbed.com/components/DS1820/
https://os.mbed.com/users/hudakz/code/DS1820/file/b593a82ce790/DS1820.cpp/
5 years, 9 months ago.
Hi there, the OneWire library is probably created for Maxim's products, so support for direct (gpio) one-Wire on non-Maxim boards is not possible with this library.
Line 75 "Requires MAX32600MBED platform" https://os.mbed.com/teams/Maxim-Integrated/code/OneWire_DS18B20_Demo/file/343505f6da8d/main.cpp/
But can by used with an One-Wire bridge like DS2482.
However, how Paul Staron wrote, you can use the mentioned libraries.
Best regards J.