Suggestion for SD card reader/write and RTC

Any suggestions to use for RTC and SD cards ?
I have previously used the below (when using adafruit featherwing arduinos) but since the pinout is different for the wifi lora 32 (V2) you can’t stack them (also have not yet tried importing the libraries and if they even work).

So any suggestions of what to use ? I would need both battery backed up RTC and a lot of data to be saved when device is not capable of sending.

Here is an example for SD card:

1 Like

Thanks! That worked on the SD above!

Update: changing gpio22 to gpio2 (to allow SDA&SCL to be used) also worked.
(when not the SDA&SCL pins are connected)

However, when I wire SDA and SCL the SD reader fails, and the I2C scanner also fails:

So what are the default pins/gpio for using I2C ?
(I also tried the OLED_SCL & OLED_SDA but that didn’t work either)

Never mind, found the ESP32/I2C_Scanner/I2C_Scanner.ino example
(oddly enough the File->Examples you have in the Arduino IDE is different from the github, I thought the examples also get updated if there are some esp32 updates ?)

Everything works now when hooking up to OLED_SDA and OLED_SCL

1 Like

Glad I found this. Was struggling to get other peripherals working on the LORA board.

Now on to the RTC…

I have problems with this example in my Wireless Stick Lite, the board always are rebooting with your code SD_Time.ino