I have an openlog qwiic microSD that does not appear to be working. I have hooked it up to an arduino uno and nano and I get the same result. I have loaded the example 1 program to both arduinos. The microSD has the config file and Log files written to the microSD, but the files are empty. I am running the SDL and SCL directly from the arduino nano or uno. The spec file indicates that the input should be 3.3V for the SDL and SCL. Have I blown up the microSD by not dropping the SDL and SCL voltages with a voltage divider? When I plug the USB connector into the Uno or nano, I get the green LED to light briefly and then the red LED turns on with the green LED off. This all looks like it is supposed to be, but nothing gets written to the microSD except the LOG# file which is empty. Any suggestions on what to try?
thanks for the reply. If it has been burned by my 5V sda and Scl, would it still record the log file and config files? If the answer is yes, then I will buy a new one and try again. If the answer is no, then something esle is the problem.
SCL/SDA are only pulled low (to GND) to indicate a zero-bit. The SCL/SDA lines are NOT written high (to indicate a 1-bit). The line is pulled high with pullup resistors when no device is forcing the line low. The pull-up resistors are on the DEV-15164 to VCC/3v3.
I had written a file manager in the past for DEV-15164 that is menu driven. I have updated it to enable so it works on an UNO (as that has small memory) and just tested that it works. Attached the zip.
I can read the directory (1), add filecontent (11), display content (9 or 10). Try and see whether that works.
Paul: Thanks for the file. I loaded the file and connected the microSD as specified. I placed a microSD card in the sparkfun open log that has a number of empty log files as well as a config file and a text file I created and stored on the SD card. The program functions well with the serial connection and the action list. I can select the various actions on the list, but the software retruns that the SD card is empty of files. The microSD always shows no files or directory even though there are files on the card. The software recognizes that the SD card is present, but I can’t read or write to the SD memory card using the sparkfun microSD. I can read and write to the memory card with my computer, so I think the problem remains in the sparkfun microSD card.