I am not a full time programmer and am wondering if I am going in the right direction, I don't want to re-invent the wheel.
My project consist on getting some voltage readings and send it via Wifi to MQTT broker.
I've already implemented sending temperature on ESP8266 but its ADC input being limited to 0 to 1 volt would not give me enough accuracy. Therefore I would use the Arduino Nano's ADC to get the readings.
I like the Wifimanager setup I have on the ESP so I would setup the ESP to either connect to the last known Wifi access point or become an access point in order to setup a new SSID to connect to. I would then have the ESP wait for data on its serial port and if present, validate, split and publish to MQTT.
The Nano would be reading ADC, at this point I would be reading from multiple sources, create a long string and send it to the ESP via serial port at the rate of once per 5 secs.
Is the above viable or is there a better way to achieve my goal?