Arduino Uno WiFi Rev2 connect to Adalogger FeatherWing - RTC + SD

Hello

I am trying to connect "Arduino Uno WiFi Rev2" with "Adalogger FeatherWing - RTC + SD".
I wired all. The example (rtclib\pcf8523) for RTC of Adafruit works. But to example (SD\Cardinfo) for the SD Card Reader is not working.

I already added the following to the sketch:

/********************* Add these Two Lines /
pinMode(10, OUTPUT); // change this to 53 on a mega // don't follow this!!
digitalWrite(10, HIGH); // Add this line
/
*****************************************/

I always get the same result:
Initializing SD card...initialization failed. Things to check:

  • is a card inserted?
  • is your wiring correct?
  • did you change the chipSelect pin to match your shield or module?

Attached a picture of the wiring.
Note: Red wires are 5V.

Does anyone have an idea to solve the problem?

As an initial thought, the Uno and its port pins are operating at 5V. Looking at the schematic for the Adalogger, there is no voltage level translation for the SD card which is operating at 3.3V.

Thanks.
I already checked both possibilities 5V and 3.3V.
Same result. Not working at all.

Ok. Can you detail the electrical connections between the UNO and the Adalogger, as it's not clear from the photo.

EDIT: I just noticed something - which may be wrong because of the angle of the photo.

The white wire looks like it's coming from pin 13 on the UNO (= SPI SCK) to pin 12 on the Adalogger (which looks like it is MOSI from their schematic). Looking at the Adalogger schematic, it looks like it goes SCK, MOSI, MISO as you head away from the power on the Adalogger. Your photo seems to be showing your wiring as MISO, SCK, MOSI.

Sorry, I can't post a better photo.
Probaly I can create a scheme later.

You are right.
I changed it.
But it's still the same.
I think it should work with the green wire which goes from Arduino 10 to Adafruit SDCS.
Wire from Arduino MISO goes Adafruit MISO, MOSI to MOSI, SCK to SCK.
Is this correct?

Yes. MISO to MISO, MOSI to MOSI and SCK to SCK.

Note my previous comment re the signal voltages levels. Your Uno is operating with 5v logic levels, whereas your Adalogger expects 3.3v logic levels. Connecting 5v logic directly to the SD card will most likely damage it.

Do you think the Adafruit is broken?
I think I put on 5V to the module.
The SD cards are still working in the PC.

I think you are in luck. The RTC is a PCF8523, which, according to the NXP (the manufacturer) datasheet, is capable of working at voltages between 1V and 5.5V. The SD card, on the other hand, would not normally survive with 5V applied to it. It may work for now but I would be wary of using it for anything more than testing. If course, if the SD card was not fitted when you accidentally applied 5V, then it'll be ok.