SOLVED: solution in reply #12
Hello everyone,
I know i am not the first person with the problem, but I cant figure it out. Hopefully you can help me out.
I have an Arduino Mega and an SD-shield with an voltage regalutor. (Linked) I could not find this in the documentation but i think the small device i see is the regulator. I added my setup in the picture. SD card is microSD16GB via microSD to SD adapter. SD card works fine in PC.
The weird thing is that i got it working fine after some troubles and now it just completely stops working. I did rewire it because i needed to put it in a box but i am certain that this is correct, as I made a schematic overview of it before disassemble. Now even the CardInfo and Datalogger examples are not working.
When it worked it was in CSpin 4. other pins where 50,51,52 as mentioned in previous posts. I did format it with the formatting tools form the sticky. I did put pinmode and digitalwrite correct as discussed in previous posts. I also used the 3.3V supply.
I also tried pin 10 and 53, but that made no difference.
More stuff was attached to the Arduino (LED, Sensor, etc) but that was also the case when it worked. Can provide the schematic for this if requested.
My question now is:
What am I doing wrong, is it the wiring or software?
Is the voltage regulator on the shield maybe only for the power and not for the com-pins? If that is the case I probably broke it, but cant see the connections on the shield.
Hopefully you can help me, I could not find a proper working example on this forum for Mega, and could not understand the SDfat library, which is also suggested.
Sorry for the german:



