Connecting Arduino Mega to ESP32
Building a hydroponic gardening system and was wondering how I would be able to collect and send data from the Arduino mega through a ESP32 to a raspberry pi web server that I will be creating. Any suggestions on how I am to do this?
5 Replies
you could use serial, but do you need to have the Mega? can't the sensors go direct to the esp32?
If the devices are together, you can also use I2C
GitHub
GitHub - PowerBroker2/SerialTransfer: Arduino library to transfer d...
Arduino library to transfer dynamic, packetized data fast and reliably via Serial, I2C, etc. - PowerBroker2/SerialTransfer
This is my first time using the esp32 so I not quite sure how it works too much. I thought to use the mega to connect the different sensors together
If I was to use the esp32 without the mega, what way would I connect the different sensors together?
How do we know? How many sensors and what are they