• 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

pinout for TTGO-camera Plus

Q&A Forum › Category: ESP32 › pinout for TTGO-camera Plus
0 Vote Up Vote Down
jo.kitzen asked 5 years ago

Dear Rui,

I have some trouble with the TTGO Camera. The pin used by this camera is different from the ESP32-CAM, I have successfully modified the camera pinout. But for the SD-card the pins should also be modified.

Can you advise me where and how I can change these pins?

Jo

1 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 5 years ago

Hi.
With the TTGO T-Plus, these are the microSD card pins:

  • MISO GPIO: 22
  • MOSI GPIO: 19
  • SCLK GPIO: 21
  • CS GPIO: 0

I don’t know how to change the default pins using the SDMMC library. I think those can’t be changed. See it here: https://nodemcu.readthedocs.io/en/dev-esp32/modules/sdmmc/#sdmmc-mode

So, you need to use the SD.h library. It allows you to easily change the pins. Here’s the library: https://github.com/espressif/arduino-esp32/tree/master/libraries/SD

Here’s an example using the library: https://randomnerdtutorials.com/esp32-data-logging-temperature-to-microsd-card/

Also, take a look at this discussion: https://github.com/espressif/arduino-esp32/issues/1190#issuecomment-371777387

You also need to change your code to use the SD.h library functions instead.

Let me know if you need further help.

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

  • [eBook Updated] Learn Raspberry Pi Pico/Pico W with MicroPython eBook – Version 1.2 May 26, 2025
  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition 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.