Sensors
The DS18B20 uses a OneWire bus with the resistor specified by the circuit. The HC-SR04 uses Trigger and Echo pins.
Display
The 16x2 LCD connects to the I2C bus through SDA and SCL. The serial monitor provides a second control output.
Validation
Test wiring and the OneWire, DallasTemperature and LiquidCrystal_I2C libraries in Wokwi before deployment.