Sending sensor readings (Analog and Digital) from Arduino Mega to ESP32
Sending sensor readings (Analog and Digital) from Arduino Mega to ESP32
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.
-
- Posts: 9727
- Joined: Thu Nov 26, 2015 4:08 am
Re: 5V Sensor output from Arduino Mega to ESP
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
Thank you for the reply.
Who is online
Users browsing this forum: No registered users and 56 guests