Let’s see whats the difference between ESP32 and ESP8266? Both ESP32 and ESP8266 are WiFi based SOC (Systems on Chop). Both have 32-bit processor, ESP32 is dual core 80Mhz to 240MHz CPU and ESP8266 is 160MHz single core processor. In depth comparison is given below.
Category Archives: IoT Tutorials
ESP8266 DHT11 Humidity Temperature Data logger
In this tutorial we are interfacing DHT11 or DHT22 Humidity temperature sensor with ESP8266 NodeMCU. We are making complete Humidity and Temperature data logger with DHT11 and NodeMCU. Data logger web server with real time graphs and tables, mostly seen on thingspeak. But this time we are putting complete graphs and tables all inside NodeMCU without using thingspeak. For this we need graphs library that we are using from chartsjs.org an open source Chart drawing library and Knowledge of alax, html and javascript.
Continue reading ESP8266 DHT11 Humidity Temperature Data logger
Interfacing DHT11 with NodeMCU Example
In this tutorial we are interfacing DHT11 or DHT22 Humidity temperature sensor with NodeMCU.
The DHT11 (or DHT22 and similar) are cheap temperature and humidity sensors. The communicate with a ESP8266 is over a single wire, but unfortunately it is not compatible with the 1-Wire protocol defined by Dallas Semiconductors.
The electric connection to the NodeMCU is very simple, as the DHT series can be powered direct with 3.3V. Only 3 wires are needed: VCC, GND and the data line.
ESP8266 Debugging Exceptions
ESP8266 the core includes a Debugging feature that is controllable over the IDE menu. The new menu points manage the real-time Debug messages. It is very useful to sort out watchdog trigger and exception errors. For debugging you can use Serial or Serial 1 and also you can choose the debug level such as WIFI, Core, OTA etc.
Many times you stuck at WDT reset and Stack Exception errors, this is most rarely used tool, many people don’t know it exists. Let’s get know to it, Its very powerful tool comes with NodeMCU or ESP8266.
ESP8266 data logging with real time graphs
In this tutorial we are going to make really really cool thing with NodeMCU ESP8266. That is data logger web server with real time graphs and tables, mostly seen on thingspeak. But this time we are putting complete graphs and tables all inside NodeMCU without using thingspeak. For this we need graphs library that we are using from chartsjs.org an open source Chart drawing library and Knowledge of alax, html and javascipt. Continue reading ESP8266 data logging with real time graphs