Introduction to NodeMCU (ESP8266) – IOT
Today we will be looking one of the popular Internet of Things(IOT) device ESP8266. This small module allows micro-controllers to connect to a Wi-Fi network and make simple TCP/IP connections using Hayes-style commands.
What the heck is NodeMCU?
NodeMCU An open-source firmware and development kit that helps you to prototype your IOT product within a few Lua script lines. After flashing this firmware user can code in LUA scripting language.
Simple ESP8266 can only be used to connect other micro-controllers like Arduino to internet with its inbuilt wifi chip. But with NodeMCU development kit this hardware module can use its GPIO pins to connect to other peripherals without help of any other micro-controller.
That means you can program NodeMCU to work with other devices using GPIO along with connected wifi.
This make NodeMCU ideal for use in Iot projects. These can be programmed and then connected with other hardware like relays, buttons etc via GPIO and also to wifi. Over wifi they can contact with some more powerful machines like raspberrypi using protocols like MQTT.
Using wifi these nodes can transfer states to main machine located on network or some sort of server. Server/Main machine can also issue commands to these nodes which they can perform as per their programming.
- ESP8266 : It is main chip which with inbuilt wifi
- USB to UART convertor : This chip will convert usb data to UART data which main chip can understand
- Voltage regulators
- Status LED : This LED is basically used to show current status like flashing/booting
- MicroUSB port : Connect board to Computer for programming and powering the board.
- Reset/Flash buttons : Perform actions on board.
- GPIO pins : To connect board with other peripherals.
Thats all for now. I will be writing tutorial on how build firmware for this board and how to flash it. Also there will be some tutorials on programming. So till then keep exploring. \m/