If your hardware setup is not ready then see my post ESP8266 hardware setup
Now you are ready to send your first Command!
.
The updated firmware versions require Carriage-Return-and-New-Line line endings and
there appears to be no way to configure screen to send both with one key press. Instead, you need
to press <enter> or Ctrl-M then follow that with Ctrl-J.
1. Open your Hyper terminal
2.Configure Hyper terminal
3.Type AT -->Enter ,ctl+j
If you don’t get this response check:
Hardware connections (the blue LED on the board should flash). Try swapping RX & TX.
Correct baudrate–should be 115200 on the default firmware version (00160901).
Correct line endings–should be Carriage Return only for default firmware version (00160901)
4. Type AT+RST to reset module
5. Check firmware version AT+GMR
6. Enable the module to act as both a “Station” and an “Access Point”: AT+CWMODE = 3
7.Now send Command to list available networks AT+CWLAP
You should get a response like
+CWLAP:(3,"Zenfone2",-53,"1c:87:2c:db:6f:e2",6)
+CWLAP:(0,"ADYYU29ueQ",-89,"d0:51:62:f2:14:fa",6)
OK
8.Join a suitable WiFi access point AT+CWJAP="<access_point_name>","<password>"
For example: AT+CWJAP="Zenfone2","amarjith"
9.You can check if the module has been allocated a IP address with: AT+CIFSR
192.168.4.1
192.168.43.60
No comments:
Post a Comment