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

Odiyiye
Posts: 2
Joined: Thu Nov 29, 2018 5:21 am

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

Postby Odiyiye » Thu Nov 29, 2018 5:33 am

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.
Last edited by Odiyiye on Tue Dec 04, 2018 2:41 pm, edited 1 time in total.

ESP_Sprite
Posts: 8921
Joined: Thu Nov 26, 2015 4:08 am

Re: 5V Sensor output from Arduino Mega to ESP

Postby ESP_Sprite » Thu Nov 29, 2018 7:40 am

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.

Odiyiye
Posts: 2
Joined: Thu Nov 29, 2018 5:21 am

Re: 5V Sensor output from Arduino Mega to ESP

Postby Odiyiye » Tue Dec 04, 2018 2:13 pm

Thank you for the reply.

Who is online

Users browsing this forum: No registered users and 51 guests