Looking to pay someone to resolve Arduino MEGA2560+ Wifi + App

Hi I am working on a project to use Arduino MEGA2560 to connect multiple sensors, plus ESP8266 ESP-01 Wifi then send data via Wifi to an App on web Brower or Android to display sensor data. Have multiple problems. Would like to pay someone to help to resolve. Please PM if you had good experience on making all of them working together. Thanks! Mark

First question would be why the added complexity of multiple microcontrollers as opposed to using something like an ESP32?

1 Like

Or just an esp8266 with more pins brought out?

There are 3 analog sensor inputs but ESP8266 only have one analog input and ESP32 has maybe only 2 inputs. Any suggestion?

Any suggestion on how esp8266 to connect more analog inputs ?

It’s probably more like 15 at least

1 Like

You are correct ESP32 has 2 ADC and multiplex inside so it can support a lot analog inputs. I will try that. Thanks!

Just be aware one of the ADCs is also used by the WiFi on the ESP32... so can sometimes interfere when using as analog inputs.

Yes indeed, it’s described in the link I attached

The ADC driver API supports ADC1 (8 channels, attached to GPIOs 32 - 39), and ADC2 (10 channels, attached to GPIOs 0, 2, 4, 12 - 15 and 25 - 27). However, the usage of ADC2 has some restrictions for the application:

  1. ADC2 is used by the Wi-Fi driver. Therefore the application can only use ADC2 when the Wi-Fi driver has not started.
  2. Some of the ADC2 pins are used as strapping pins (GPIO 0, 2, 15) thus cannot be used freely. Such is the case in the following official Development Kits:
  • ESP32 DevKitC: GPIO 0 cannot be used due to external auto program circuits.
  • ESP-WROVER-KIT: GPIO 0, 2, 4 and 15 cannot be used due to external connections for different purposes.

The ESP-01 is really something of the past and attaching one to an AVR based arduino used to be state of the art to gain Wirless access but it’s nowadays much hassle compared to using directly an ESP32 or a suitable arduino MKR . You get more memory, and on the ESP with the ESPAsyncWebServer library you create your web server easily.

1 Like

appreciate the suggestion.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.