Page 1 of 1

Sending sensor readings (Analog and Digital) from Arduino Mega to ESP32

Posted: Thu Nov 29, 2018 5:33 am
by Odiyiye
Hello. I'm working on my final year project, about done just the last step of uploading to ThingSpeak is giving me issues. I want to use an ESP32-WROOM-32 development board as a WiFi module to upload sensor readings from Arduino to ThingSpeak. I'm stuck on sending the sensor readings to the ESP32, the way I thought should work was a dead end. Please help, how can I send sensor readings from an Arduino Mega to ESP32? Thank you.

Re: 5V Sensor output from Arduino Mega to ESP

Posted: Thu Nov 29, 2018 7:40 am
by ESP_Sprite
Just use a resistive divider to divide down the 5V signal from the Arduino (e.g. an 1K/2K combo should work). Alternatively, power the Arduino from 3.3V if the sensors support that. Alternatively, just put a resistor of e.g. 10K between the Arduino and the ESP32 on the signal lines: while we can't guarantee that won't damage any ESP32 in the long term, for one-offs that usually works pretty well.

Re: 5V Sensor output from Arduino Mega to ESP

Posted: Tue Dec 04, 2018 2:13 pm
by Odiyiye
Thank you for the reply.