Skip to main content
added 8 characters in body; edited title
Source Link
ocrdu
  • 1.8k
  • 3
  • 12
  • 24

why Serial Why doesn't serial communication does not work on arduino unoArduino Uno r3 and esp8266 wifiESP8266 WiFi module?

Hello I have a simple problem here. I use esp8266 WIFIan ESP8266 WiFi module and an Arduino Uno r3.

What I want is to receive a Serialserial message from Esp8266 tothe ESP8266 on the Arduino Uno.

noteNote: I set the upload speed of the ESP82666 intoESP8266 to 9600.

void setup()
  {
  Serial.begin(9600);
} 

void loop() {
    Serial.write("hello friend");
    delay(2000);
 
 }

Arduino Uno:

#include <SoftwareSerial.h> 

SoftwareSerial mySerial(10, 11); //rx, tx

void setup() {
  Serial.begin(9600);
  mySerial.begin(9600);
 
} 

String message = "";
boolean check = false; 

void loop() {
 // Serial.println(mySerial.available());
   mySerial.println("hindi nagagana");
  while (mySerial.available() > 0) {
    Serial.println(mySerial.readString());
    check = true;
  }

  if (check==true)
check == true) {
    Serial.println(message);
  } 

  delay(200);
}

orOr any idea on how to control via internet the Arduino Uno via the internet, such as a simple LED blink  ? I

I used firebaseFirebase for databases an I plan to use ReactJs for webApp/Native App (nodeJs).

why Serial communication does not work on arduino uno r3 and esp8266 wifi module?

Hello I have simple problem here I use esp8266 WIFI module and Arduino Uno r3

What I want is to receive a Serial message from Esp8266 to Arduino Uno

note: I set the upload speed of the ESP82666 into 9600

void setup()
 {
 Serial.begin(9600);
}
void loop(){
    Serial.write("hello friend");
    delay(2000);
 
 }

Arduino Uno

#include <SoftwareSerial.h>
SoftwareSerial mySerial(10,11); //rx, tx

void setup() {
  Serial.begin(9600);
  mySerial.begin(9600);
 
}
String message = "";
boolean check = false;
void loop() {
 // Serial.println(mySerial.available());
   mySerial.println("hindi nagagana");
  while(mySerial.available() > 0){
    Serial.println(mySerial.readString());
    check = true;
  }

  if(check==true)
  {
    Serial.println(message);
  }
  delay(200);
}

or any idea how to control via internet the Arduino Uno such simple LED blink  ? I used firebase for databases an I plan to use ReactJs for webApp/Native App (nodeJs)

Why doesn't serial communication work on Arduino Uno r3 and ESP8266 WiFi module?

I have a simple problem here. I use an ESP8266 WiFi module and an Arduino Uno r3.

What I want is to receive a serial message from the ESP8266 on the Arduino Uno.

Note: I set the upload speed of the ESP8266 to 9600.

void setup() {
  Serial.begin(9600);
} 

void loop() {
  Serial.write("hello friend");
  delay(2000);
}

Arduino Uno:

#include <SoftwareSerial.h> 

SoftwareSerial mySerial(10, 11); //rx, tx

void setup() {
  Serial.begin(9600);
  mySerial.begin(9600);
} 

String message = "";
boolean check = false; 

void loop() {
  Serial.println(mySerial.available());
  mySerial.println("hindi nagagana");
  while (mySerial.available() > 0) {
    Serial.println(mySerial.readString());
    check = true;
  }

  if (check == true) {
    Serial.println(message);
  } 

  delay(200);
}

Or any idea on how to control the Arduino Uno via the internet, such as a simple LED blink?

I used Firebase for databases an I plan to use ReactJs for webApp/Native App (nodeJs).

Improved formatting & minor typos
Source Link
sempaiscuba
  • 1k
  • 9
  • 22
  • 33

Hello iI have simple promblemproblem here I use esp8266 wifiWIFI module and arduino unoArduino Uno r3

what iWhat I want is to receive a Serial message from Esp8266 to arduinoArduino Uno

note: iI set the upload speed of the ESP82666 into 9600

void setup()
{
 Serial.begin(9600);
}
void loop(){
    Serial.write("hello friend");
    delay(2000);
 
 }

AruinoArduino Uno #include <SoftwareSerial.h> SoftwareSerial mySerial(10,11); //rx, tx

#include <SoftwareSerial.h>
SoftwareSerial mySerial(10,11); //rx, tx

void setup() {
  Serial.begin(9600);
  mySerial.begin(9600);

}
String message = "";
boolean check = false;
void loop() {
 // Serial.println(mySerial.available());
   mySerial.println("hindi nagagana");
  while(mySerial.available() > 0){
    Serial.println(mySerial.readString());
    check = true;
  }

  if(check==true)
  {
    Serial.println(message);
  }
  delay(200);
}

or any idea how to control via internet the arduino unoArduino Uno such simple LED blink ? iI used firebase for databases an iI plan to use ReactJs for webApp/Native App (nodeJs)

please help me

Hello i have simple promblem here I use esp8266 wifi module and arduino uno r3

what i want is to receive a Serial message from Esp8266 to arduino Uno

note: i set the upload speed of ESP82666 into 9600

void setup()
{
 Serial.begin(9600);
}
void loop(){
    Serial.write("hello friend");
    delay(2000);
 
 }

Aruino Uno #include <SoftwareSerial.h> SoftwareSerial mySerial(10,11); //rx, tx

void setup() {
  Serial.begin(9600);
  mySerial.begin(9600);

}
String message = "";
boolean check = false;
void loop() {
 // Serial.println(mySerial.available());
   mySerial.println("hindi nagagana");
  while(mySerial.available() > 0){
    Serial.println(mySerial.readString());
    check = true;
  }

  if(check==true)
  {
    Serial.println(message);
  }
  delay(200);
}

or any idea how to control via internet the arduino uno such simple LED blink ? i used firebase for databases an i plan to use ReactJs for webApp/Native App (nodeJs)

please help me

Hello I have simple problem here I use esp8266 WIFI module and Arduino Uno r3

What I want is to receive a Serial message from Esp8266 to Arduino Uno

note: I set the upload speed of the ESP82666 into 9600

void setup()
{
 Serial.begin(9600);
}
void loop(){
    Serial.write("hello friend");
    delay(2000);
 
 }

Arduino Uno

#include <SoftwareSerial.h>
SoftwareSerial mySerial(10,11); //rx, tx

void setup() {
  Serial.begin(9600);
  mySerial.begin(9600);

}
String message = "";
boolean check = false;
void loop() {
 // Serial.println(mySerial.available());
   mySerial.println("hindi nagagana");
  while(mySerial.available() > 0){
    Serial.println(mySerial.readString());
    check = true;
  }

  if(check==true)
  {
    Serial.println(message);
  }
  delay(200);
}

or any idea how to control via internet the Arduino Uno such simple LED blink ? I used firebase for databases an I plan to use ReactJs for webApp/Native App (nodeJs)

Source Link

why Serial communication does not work on arduino uno r3 and esp8266 wifi module?

Hello i have simple promblem here I use esp8266 wifi module and arduino uno r3

what i want is to receive a Serial message from Esp8266 to arduino Uno

note: i set the upload speed of ESP82666 into 9600

void setup()
{
 Serial.begin(9600);
}
void loop(){
    Serial.write("hello friend");
    delay(2000);
 
 }

Aruino Uno #include <SoftwareSerial.h> SoftwareSerial mySerial(10,11); //rx, tx

void setup() {
  Serial.begin(9600);
  mySerial.begin(9600);

}
String message = "";
boolean check = false;
void loop() {
 // Serial.println(mySerial.available());
   mySerial.println("hindi nagagana");
  while(mySerial.available() > 0){
    Serial.println(mySerial.readString());
    check = true;
  }

  if(check==true)
  {
    Serial.println(message);
  }
  delay(200);
}

or any idea how to control via internet the arduino uno such simple LED blink ? i used firebase for databases an i plan to use ReactJs for webApp/Native App (nodeJs)

please help me