ESP8266/32 as self-sustaining WiFi remote set

Hi Forum,

i am trying to develop a self sustaining WiFi remote Set with either two ESP8266´s or two ESP32.
The idea is: Two micro controllers are connected via WiFi (433MHz is NOT an Option) in an abandoned area where there is no WiFi to log in to.
So one MC is going to act as AP, the other one logs on to the AP.
Functions of the remote/Receiver :

  • toggle a relais
  • regulate a motor (Pump)
  • liquid level indicator
  • signal strength (optional, later in the project)

So far i´ve set up the Wemos D1 Mini Pro as AP, connected a micro OLED Display via i2C to show the IP as well as Connection status.

So now my basic questions. Is a set of ESP8266 adequate or is it better to take two ESP32 from the start on?
What is the best Way to send the basic commands back and forth? MQTT or via HTML Requests on a mock up Web page?
I am kind of new to micro controller programming so any kind of help would be very helpful. :wink:

So now my basic questions. Is a set of ESP8266 adequate or is it better to take two ESP32 from the start on?

2 * ESP8266s will do this just fine, but be aware of the serial port. There is 1 full (Tx and Rx) serial port and 1 Tx only serial port. You can use the full serial port but in doing so you lose the USB port. You have to decide if this is acceptable. AFAIK (not used one) this is not a problem on the ESP32.

I suggest you try the NTP time example in the IDE and understand that. Using UDP to send data packets between 2 ESP8266s is straight forward once you understand how it is done in the NTP example.

AFAIK (not used one) this is not a problem on the ESP32.

Correction, sorry I wasn't thinking. I have an MKR WiFi1010 which uses an ESP32 and it's not a problem on the MKR.