• 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

ESP32 Cam serial communication with Arduino

Q&A Forum › Category: ESP32 › ESP32 Cam serial communication with Arduino
0 Vote Up Vote Down
Tan asked 3 years ago

Is it possible for the Arduino to communicate with the ESP32-CAM (with SD card) using serial communication? I am trying to use the Arduino to send a string to the ESP32 and then for the ESP32 to take a photo when it receives the string. I tried using GPIO 12 and 13 for RX and TX on the ESP32 by initializing the microSD card in 1 bit mode to free up the pins 12 and 13 and then connecting the Arduino to those pins with a common GND too.
( I hope this makes sense, I’m very much a beginner). 
 

Question Tags: Arduino, ESP32
3 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

Hi.
Yes. That should be possible, but we don’t have any tutorials about serial communication.
However, any example ESP32 <->Arduino serial communication should work as long as you use the right pins.
I’m not sure if the SD card will cause issues. The best way is to try to only send some bytes at first to see if it works, and only then add the other project features.
Regards,
Sara

0 Vote Up Vote Down
Tan answered 3 years ago

Thank you! I managed to get it to work on the ESP32 with pins 12 and 13. I think my mistake was using == to compare strings. 

0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

Great.
I’ll mark this issue as resolved. If you need further help, you just need to open a new question in our forum.
Regards,
Sara

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.