ESP8266 LM35 temperature sensor LM35 เป็นเซนเซอร์อุณหภูมิที่ให้ค่าเอาต์พุตแบบ Analog ออกมาเป็น 0-1.4V แปรผันตามอุณหภูมิ ดังนั้นเราสามารถใช้ขา A0 อ่านค่าแบบ Analog เข้ามาได้ ต่อวงจร NodeMCU LM35 ตามนี้ โคดตัวอย่าง Arduino ESP8266 LM35 //initializes/defines the output pin of the LM35 temperature sensor int outputpin = 0; //this se…