User manual

1.1
|
Basic AT commands
For a first impression how to use the AT-commands, best just try them out. There-
fore, this section will introduce you to some of the basic commands for the module.
For this, open the program P01_SoftwareSerial in the Arduino-IDE. This is a
very simple program that does nothing but pass on all data received via the serial
hardware interface of the micro controller to the ESP controller via a self-defined
software interface. The entire thing works in the opposite direction as well. As you
can see in the source text, the two connections of the software interface are pins
11 and 12. They should not be used as GPIO-pins in your own projects. You also
need the SoftwareSerial-Library that is pre-installed already in most Arduino
versions if not, download the library via the manager.
After the program has been uploaded, you can start the serial monitor of the Ardu-
ino interface. Before you can start, two important settings must be made to the
Serial Monitor, i.e. the baud rate must be set to 19200 in the lower right corner
and the setting CR and NL must be made in the box to its left.
Now you can see a message, i.e. AT and a few lines below OK. The command
AT was sent to the ESP module by the micro controller and the module answered
OK. You can see by this that the WLAN module works and is ready for use.
Terminal settings: CR and NL and a Baud rate of 19200
1.1.1 | Basic commands
You can now try out some basic commands of the module by simply entering the
command and sending it to the module with
[Enter]
. Capitalisation of the com-
mand is important. You can submit the first command of your own by entering