UART Wifi V2 - Connection and Code

Hi all


  1. I want to use the UART Wifi V2 with Arduino UNO with Base Shield V2. In the wiki it states that the input voltage is 3V / 5V, but from what I know ESP8266 / ESP8285 can only have max 3.3V. Is it safe for me to connect it directly to Arduino UNO via the Base Shield?


  2. The example code provided in the wiki uses a OLED. May I know how to use on the serial monitor instead?

    Wiki link: http://wiki.seeedstudio.com/Grove-UART_Wifi_V2/



    Thanks

Hi there,



we use eta3410 module, The devices operate from an input voltage range of 2.6V to 5.5V and provide output voltages from 0.6V to VIN, we use to transfer 3.3v~5V to 3.3v. So we can use 3.3v and 5v as well.







For the serial com code, i will add one more example to use the serial port only later on. thanks.

Hi there



I use the D2/D3 as softwareserial and serial as PC print. Please use the below code. you can type all the AT commands and the you can see wifi uart feedback. Please refer to http://bbs.espressif.com/download/file.php?id=450 for all AT commands, thanks.



#include <SoftwareSerial.h>



SoftwareSerial mySerial(2,3);



void setup()

{

mySerial.begin(115200);

Serial.begin(115200);

}





void loop()

{

if (mySerial.available())

Serial.write(mySerial.read());

if (Serial.available())

mySerial.write(Serial.read());

}