Using DS18B20 with 1602 LCD on Arduino

Опубликовано: 15 Октябрь 2024
на канале: Gadget Reboot
3,835
58

In this tutorial we start with a short easy to follow sketch to print text on a 1602 LCD using either direct connection to Arduino, or through I2C with a GPIO expander.

Then we add the DS18B20 digital thermometer and display the temperature on an LCD with minimal complexity to get it up and running.

Finally everything is merged into one project, some more advanced commands are used, and both LCDs are used simultaneously to illustrate how to control multiple devices.

Sketch:
https://github.com/GadgetReboot/Ardui...

Previous DS18B20 video:
   • DS18B20 Arduino Temperature Sensor - ...  

Previous LCD 1602 video:
   • How To Use LCD Displays with Arduino  

Previous PCF8574 GPIO expander video:
   • PCF8574 I2C GPIO Expander Tutorial  

Patreon:   / gadgetreboot  
Pinterest: https://www.pinterest.ca/GadgetReboot
Twitter: @GadgetReboot   / gadgetreboot