![]() For our purpose, which is to connect to the Internet, we need only a specific set of AT commands. The whole list of AT commands is overwhelming. This AT or Hayes commands are a set of commands not only used by the ESP8266 but also by other modems like GSM, Bluetooth and GPRS. ![]() Now that we’ve connected the ESP8266 module to the Arduino, it’s time to send out special commands through the Arduino’s (software) serial port. This presents another disadvantage of this setup: you must have an extra supply instead of just using your computer’s USB port. ![]() Also note that for the ESP8266 module to run correctly, it must have its own 3.3V, 250 mA power supply. In the diagram above, I used a simple voltage divider to reduce the 5 V logic levels. Thus, we must not connect the Arduino output pins to the ESP8266 pins directly. The ESP8266 module, specifically the ESP-01 module, runs on 3.3 V. ![]() The ESP8266 module will act as our modem, establishing a connection to your WiFi router in order to send/receive data to/from the web. To make the Arduino connect to the Internet, it needs a modem. As you know, the Arduino UNO, Mega or Nano doesn’t have any networking capabilities.
0 Comments
Leave a Reply. |