• 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

Reading SSID and password from SD Card and using for wifi access with ESP-32

Q&A Forum › Category: ESP32 › Reading SSID and password from SD Card and using for wifi access with ESP-32
0 Vote Up Vote Down
Shah Rafique asked 3 years ago

Dear All: 
Please help.
With ESP-32, Wi-Fi network credentials (SSID and password) stored in SD Card with CSV can be read from SD Card. But when I tried to use these two values to connect to local network, ESP-32 can not access to the network. I am new to the programming and can not figure out why. Could you please help me with few lines of codes? Any book or article to read?
Thank you

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

Hi.
 
Please check this tutorial: https://randomnerdtutorials.com/esp32-wi-fi-manager-asyncwebserver/
That tutorial uses SPIFFS. But, you can replace the SPIFFS functions with SD card functions, and it should work.
For read/write functions for the SD card, check this example: https://github.com/espressif/arduino-esp32/blob/master/libraries/SD/examples/SD_Test/SD_Test.ino
You’ll see it’s very similar with the SPIFFS functions.
 
I hope this helps.
Regards,
Sara

0 Vote Up Vote Down
Shah Rafique answered 3 years ago

Many many thanks Sara for your kind and quick attention to my request. I am very impressed the way you handle our requests everyday . Thank you again

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.