> For the complete documentation index, see [llms.txt](https://reacoda.gitbook.io/molemi-iot/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://reacoda.gitbook.io/molemi-iot/introducing-the-nodemcu/read-and-display-temperature-sensor-readings/installing-libraries-for-ds18b20-temperature-sensor..md).

# Installing libraries for DS18B20 temperature sensor.

To start using the DS18B20 temperature sensor you need to install the library for it in order to be able to allow the NodeMCU board to communicate with it.&#x20;

To be able to communicate with the DS18B20 sensor you will need to install the **One Wire** library and the **Dallas Temperature** library.&#x20;

On your computer open the Arduino IDE software and open the library manager as follows  **Sketch** > **Include Library** > **Manage Libraries**. and then type "onewire" in the search box and select one wire library by Paul Stoffregen:&#x20;

![Installing OneWire library (randonnerdtutorial.com)](https://3073865318-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Ly3RLHyAwTi7Hml5lZN%2F-LyEDYha5-QuEIVm97NS%2F-LyEI6HA6sg58AQq-AIP%2Finstallonewirelibrary.png?alt=media\&token=38d0c4a7-0380-45ba-a5fa-160bcacbc100)

The next step is to search for "dallas temperature" and then install the library by Miles Burton:

![](https://3073865318-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Ly3RLHyAwTi7Hml5lZN%2F-LyEJ0kYqyoB9uWp7uWX%2F-LyEJ9sFiGvTGFiUrStm%2Finstall-dallas-temperature.png?alt=media\&token=535e848c-68b8-46fb-998b-d2b21fc7ba55)
