I have a project that I’m working on based on an aquarium controller using an Arduino Mega (lots of pins).
It has monitoring of several sensors and a TFT to control the features. It’s a very simplified version of iAqua.
I wanted to add an ESP8266 and I would like it to be an additional module with all the “netoworking functions” (webpages, api and mqtt) só these are esssentially 2 arduinos, one for networking, another for control.
I’m reading/googling a lot for communication between arduinos and it sounds like serial is the only route.
I couldn’t find a “clear winner” in terms of library, there several guidance posts on best practices.
A lot of what I find out there is about using the ESP just with the AT interface, and doing everything else on the Arduino.
Should I abandon the route of “2 arduinos” in favor of a more popular solution?
If not, any alternatives to serial comm?
If there are no alternatives, is there any defacto standard library to use for comm.