Yet another ESP8266 problem thread: no communication


hey there,

i going crazy tries communicate esp8266 arduino uno....
whatever baud rate set , whatever command send - nothing, own command or rubbish version of own command.

attached can find picture of setup description.
i tried rebuild accordingly this website in end no success.
i tried logic level converter before looks mine broken (multimeter detects 4.82v on input 0,05v on output....)

i recheck wires , changed them.
i switched esp8266 module have 2 in stock.
i have changed build connect directly arduino suggested here in forum

all no success.

my code pretty easy @ moment , copied same site:

code: [select]
#include <softwareserial.h>
softwareserial softserial(0, 1); // rx, tx

void setup()
{
  uint32_t baudmonitor = 9600;
  uint32_t baudwifi = 9600;

  serial.begin(baudmonitor);
  softserial.begin(baudwifi);
}

void loop()
{

   // send esp8266 serialmonitor

    while(softserial.available() > 0)
    {
      char = softserial.read();
      if(a == '\0')
        continue;
      if(a != '\r' && != '\n' && (a < 32))
        continue;
      serial.print(a);
    }
    

    // send serialmonitor rsp8266

    while(serial.available() > 0)
    {
      char = serial.read();
      serial.write(a);
      softserial.write(a);
    }
}


after 5 hours of restless debugging , no success @ wanted ask guys further input or idea of might wrong....

any appreciated.

thanks lot!

pic:

code: [select]
softwareserial softserial(0, 1); // rx, tx
idiot. can not software serial on hardware serial pins @ same time doing hardware serial on pins.


Arduino Forum > Using Arduino > Networking, Protocols, and Devices (Moderator: fabioc84) > Yet another ESP8266 problem thread: no communication


arduino

Comments

Popular posts from this blog

DHT11 Time out error using v0.4.1library

Sketch upload fails with Java error (___REMOVE___/bin/avrdude)!

Arduino Uno + KTY81/210 temperature sensor