for my little project, I want my arduino to send data from a sensor to an ESP running ESPeasy (btw a wonderful stuff).
I checked the forum and found this way to do it, using serial communication :
- create a dummy device on the devices tab;
download/file.php?mode=view&id=5241
- in tools => advanced settings => enable serial port and set the baud rate;
download/file.php?mode=view&id=5242
- connect arduino and ESP using TX and RX;
- insert a simple sketch in arduino to send a value using Serial.print("TaskValueSet,1,1,123");
Code: Select all
void setup() {
Serial.begin(19200);
}
void loop() {
Serial.print("TaskValueSet,1,1,123");
delay(3000);
}
I tried also to connect directly the ESP with PUTTY, I can receive the log from the serial connection, but when I'm sending command, nothing happens...
Others checks must be activated in ESPEasy in order to allow the control of the ESP by the Arduino using serial communication ?
what is your feedback on this topic ?
many thanks for your help !