Serial Communication Between WX-ESP8266 Module and Arduino Nano
nwiggins
Posts: 2
in Propeller 1
Hey all,
I'm currently working on a project that involves the use of a WX ESP8266 with an Arduino Nano. Currently I'm unable to read the data being sent by the Wifi module to the Arduino. Both the Arduino and the WX ESP8266 have a baud rate of 115200. The data we are getting is garbage. Are there any tutorials for using the WX-ESP8266 Wifi module with Arduino Nano? (AVR specifically, not PropC).
Thanks in advance!
I'm currently working on a project that involves the use of a WX ESP8266 with an Arduino Nano. Currently I'm unable to read the data being sent by the Wifi module to the Arduino. Both the Arduino and the WX ESP8266 have a baud rate of 115200. The data we are getting is garbage. Are there any tutorials for using the WX-ESP8266 Wifi module with Arduino Nano? (AVR specifically, not PropC).
Thanks in advance!
Comments
On the web page for the WX WiFi make sure under settings that "Serial Commands (aka CMD):" is enabled and saved to flash.
Then the following Arduino code should work except since you only have one serial device you will have to use soft serial for Serial1.
This should return the version number of your WX WiFi board as seen on the home page.
Mike
Hi Mike,
Thanks a lot, this worked like a charm.