If I change from D18B20 to LM35, how should I fix the code? Thanks Reply Sara Santos July 3, 2021 at 5:27 pm Hi. You can follow this tutorial to learn how to use the LM35:https://randomnerdtutorials.com/arduino-lm35-lm335-lm34-temperature-sensor/ The tutorial is for the arduin...
I have only worked on temperature sensor DS18B20 for temperature measurements and I have also uploaded a tutorial onInterfacing of Temperature Sensor 18B20 with Arduino.
Arduino IDE example: Examples > Arduino OTA > BasicOTA.ino ***/#include<ESP8266WiFi.h>#include<ESP8266mDNS.h>#include<WiFiUdp.h>#include<ArduinoOTA.h>// Replace with your network credentialsconstchar*ssid="YOUR_SSID";constchar*password="YOUR_PASSWORD";voidsetup(){Serial.begin(115200);Seri...