We have already seen how to connect Arduino UNO with NodeMCU/ESP8266 over UART and send data to MQTT broker here. That project uses lua to program the NodeMCU
We can program NodeMCU (ESP8266) in several ways. Most of the times I use it with lua (with nodemcu firmware inside it). We can also program NodeMCU hardware
NodeMCU is great for connecting cloud and arduino is great at talking with different sensors. nodemcu has only one analog pin. In this blog we will see how