How exchange data between Arduino and ESP32 (2024)

0Vote UpVote Down

How exchange data between Arduino and ESP32 (1)Rui Santos Staff answered 6 years ago

Hello, unfortunately we don’t have any tutorials on that exact subject. We’re considering adding/writing a tutorial about that subject in the next couple of weeks. Can you describe which sensors would your like to use and the project behavior?

0Vote UpVote Down

How exchange data between Arduino and ESP32 (2)Rui Santos Staff answered 6 years ago

In summary, to establish a communication between an Arduino and an ESP32, you can connect the Arduino TX and RX cables to the ESP32 RX and TX. Then, in your code you can establish a serial communication at the same baud rate to exchange data between the two devices.

0Vote UpVote Down

How exchange data between Arduino and ESP32 (3)Daniele Gozzi answered 6 years ago

Hello Rui, Thank you for your message. I wait for your next tutorial dealing with exchange data between ESP32 and Arduino and manage them via internet. Concerning with my project, in summary, it is based on acquiring the solar light spectrum around the whole day with particular interest at sunrise and sunset. The device acquires data from 4 LDR, UV and DHT-22 and other two parameters to control the operation behaviour. Three of 4 LDRs are filtered respectively with blue, green and red shield. Datalogger shield is utilised to store data on a memory card by building a 9 columns (time, temperature and humidity included) x n rows matrix. The use of the datalogger shield implies using only 4 of the six analog inputs of Arduino. 4 relays are selectively driven to acquire each signal. A 12 V lead acid battery supplies the device through 2 DC-DC converters set at different output voltages to supply Arduino and other circuits.

0Vote UpVote Down

How exchange data between Arduino and ESP32 (4)Rui Santos Staff answered 6 years ago

I don’t know exactly when I’ll have time to publish the “serial data exchange” tutorial, but I’ll definitely write something on that subject in the next couple of weeks.

I’ll probably post a project like this: 1 Arduino reading LDR+DHT22 and sending that data to the ESP32 via serial to display/publish it on a web server.

Thanks for the project suggestion.

0Vote UpVote Down

How exchange data between Arduino and ESP32 (5)Rafael Cordova Uvidia answered 4 years ago

Hey Rui, in the end, did you create this project??

0Vote UpVote Down

How exchange data between Arduino and ESP32 (6)Sara Santos Staff answered 4 years ago

Hi Rafael.
We still haven’t created this tutorial.
Do you need any help?
Regards,
Sara

0Vote UpVote Down

How exchange data between Arduino and ESP32 (7)Rafael Cordova Uvidia answered 4 years ago

Hello Sara,
Yes, I have this problem: I am building an AC power meter using AC712 and ZMPT101B sensors. Everything works okay when I use the Arduino analog pins, but it doesn’t work when I use the ESP32 or ESP8266 ADC pins.
My goal is to upload the sensor data to some cloud platform such as ThingSpeak; therefore, I thought that I could use an Arduino board for making the measurements and then make a serial connection with ESP32 or ESP8266 for sending the data to the cloud.
I have tried to connect the boards without success, could you please give me some guidance?
Kindest regards,
Rafael!

0Vote UpVote Down

How exchange data between Arduino and ESP32 (8)Sara Santos Staff answered 4 years ago

Hi Rafael.
When you say that it doesn’t work with the ESP32 and ESP8266 analog pins, what happens exactly?
Do you have the sample code that you use for serial communication between arduino and ESP32?
Otherwise, it is very difficult to figure out what might be wrong.
Regards,
Sara

How exchange data between Arduino and ESP32 (2024)
Top Articles
Latest Posts
Article information

Author: Sen. Ignacio Ratke

Last Updated:

Views: 6096

Rating: 4.6 / 5 (56 voted)

Reviews: 95% of readers found this page helpful

Author information

Name: Sen. Ignacio Ratke

Birthday: 1999-05-27

Address: Apt. 171 8116 Bailey Via, Roberthaven, GA 58289

Phone: +2585395768220

Job: Lead Liaison

Hobby: Lockpicking, LARPing, Lego building, Lapidary, Macrame, Book restoration, Bodybuilding

Introduction: My name is Sen. Ignacio Ratke, I am a adventurous, zealous, outstanding, agreeable, precious, excited, gifted person who loves writing and wants to share my knowledge and understanding with you.