-->
Page 5 of 5

Re: Freaky response from the ESP8266 with Arduino Nano

PostPosted: Wed Feb 04, 2015 5:45 am
by alonewolfx2
i say one more time, arduino nanos 3.3v isnt enaugh for esp8266. i am using arduino nano+ ams1117 3.3v
wiring something like this. and arduino nano's default software serial not working correctly with esp8266.
/////////////////////////////////
// HW Serial Esp8266 Led Test ///
// Author M.Bozkurt ///
// http://www.mbozkurt.com ///
// esp rx- arduino pin1 ///
// esp tx- arduino pin0 ///
// leds- arduino pin8-13 ///
//esp gnd-arduino gnd ///
//esp vcc-ams1117 3.3vpin//
/////////////////////////////////

Re: Freaky response from the ESP8266 with Arduino Nano

PostPosted: Wed Feb 04, 2015 9:39 am
by Aonko
Yup, listen to alonewolfx2. Also I saw you tried powering it by the FTDI chip which like the Arduino Nano, isn't going to supply the amount of mA/power you need.

Re: Freaky response from the ESP8266 with Arduino Nano

PostPosted: Thu Feb 05, 2015 1:26 pm
by gadigr
cyberswordman wrote:Maybe I got it wrong, and I'm just pointing out an obvious thing, but keep in mind that in every case you should have only a single GND connection.
What I mean is that if I got it right, you should have connected the VCC from FTDI to the VCC of the ESP.
The GND form the FTDI to the GND of ESP.
TX and RX from ESP to RX and TX on arduino.
Now you are missing the common GND from Arduino to whatever you rpefer (FTDI or ESP, the GNDs should already been connected between the two)


Damn it, that was the problem... the GND..

but now it acting kinda funky look: it still writes gibbrish after its "ready"

Image

Re: Freaky response from the ESP8266 with Arduino Nano

PostPosted: Fri Oct 16, 2015 12:53 am
by caosaquatico
#include <SoftwareSerial.h>

SoftwareSerial mySerial(10, 11); // RX, TX

void setup()
{
// Open serial communications and wait for port to open:
Serial.begin(57600);
while (!Serial) {
; // wait for serial port to connect. Needed for Leonardo only
}

Serial.println("Esp8266 ");

// set the data rate for the SoftwareSerial port
mySerial.begin(9600);
mySerial.println("AT");
}

void loop() // run over and over
{
if (mySerial.available())
Serial.write(mySerial.read());
if (Serial.available())
mySerial.write(Serial.read());
}