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).