• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Raspberry Pi and ESP32 communication

Q&A Forum › Category: Home Automation › Raspberry Pi and ESP32 communication
0 Vote Up Vote Down
delmarcodiego asked 6 years ago

Hi,

I need to have a communication between raspberry and esp32, but the arduino ide in raspberry does not support the esp32 card. Can you tell me how to overcome this problem with an example?

Thank you very much.

P.S. esp32 is a nice card but it is not at the level of a computer as it is raspberry, I need to manage information relating to mysql, telegram bot, and graphical interfaces.

3 Answers
0 Vote Up Vote Down
Rui Santos Staff answered 6 years ago

Hello, I’m not sure exactly what you’re looking for to build.

  • Do you want to establish a Wi-Fi connection between your ESP32 and Raspberry Pi?
  • Or do you want a serial communication?
  • What type of information do you plan to exchange between the 2 devices?

Regards,
Rui

0 Vote Up Vote Down
delmarcodiego answered 6 years ago

Hi Rui,
both if is possible, any kind of information of course, using text

but i have solved with serial

regards

0 Vote Up Vote Down
Rui Santos Staff answered 6 years ago

For some applications serial is the best option, but I don’t have any tutorials on that exact subject at the moment…

If you want to exchange data between the ESP32 and Raspberry Pi using Wi-Fi I recommend using MQTT.

In the “Learn ESP32 with Arduino IDE Course”, we have a dedicated Units about that exact topic:

  • ESP32 MQTT Module (Unit 5 and 6): https://rntlab.com/esp32-with-mqtt-introduction/

In that case, we’re using Node-RED, but you could write some Python code to establish an MQTT communication with the ESP32.

Regards,
Rui

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.