Serial Gateway between Arduino Board and ESP

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
Cino2424
Normal user
Posts: 17
Joined: 30 Sep 2018, 16:35

Serial Gateway between Arduino Board and ESP

#1 Post by Cino2424 » 24 Feb 2019, 12:43

For now I use an ESP to control my Boiler.

I use a switch and Input Pins and several DS18b20. For GUI I have Domoticz running.
But I want to use a TFT on Mega2560 for GUI.

Is it possible to send data over serial to the ESP?

kimot
Normal user
Posts: 190
Joined: 12 Oct 2017, 20:46

Re: Serial Gateway between Arduino Board and ESP

#2 Post by kimot » 24 Feb 2019, 14:56


Cino2424
Normal user
Posts: 17
Joined: 30 Sep 2018, 16:35

Re: Serial Gateway between Arduino Board and ESP

#3 Post by Cino2424 » 28 Feb 2019, 19:12

In this way it worked.

Code: Select all

void tempread() {
float h = dht.readHumidity();    
float t = dht.readTemperature();
char temp[] = "TaskValueSet,1,1,";
char hum[] = "TaskValueSet,1,2,";
Serial.print(temp);
Serial.println(t);
Serial.print(hum);
Serial.println(h);
}

Post Reply

Who is online

Users browsing this forum: No registered users and 40 guests