• 0

WiFire SD card for logging?


5 answers to this question

Recommended Posts

  • 0

Hey Larry. I have tried getting this code to work with the WiFire, but using multiple SD cards I have still not been able to generate a file. Is it possible that it is in a read only configuration? This quote from the WiFire reference manual makes me wonder if this is the case:

"The micro-SD card connector provides the ability to access data stored on micro-SD sized flash memory cards using
the SD card library provided as part of the Arduino IDE software system.
The SD card is accessed using an SPI interface on PIC32 microcontroller pins dedicated to this purpose. The Arduino
IDE SD library uses a “bit-banged” software SPI implementation to talk to SD card. However, software can be
written to access the SD card using SPI3.
On the Wi-FIRE board, SPI3 and I/O pins used to communicate with the SD card are dedicated to that function and
are not shared with other uses."


Link to post
Share on other sites
  • 0

I have them formatted as FAT32. For some reason, the 'SD.begin(10)' keeps returning false. On another forum I read that this can often be an issue with the speed that the microcontroller is trying to read from the SD card. Their solution was to modify the SD library to read at half speed. I have not tried this yet, but i am still digging around for other potential causes. 

I do have another datalogger that I can rely on, but one of the features of the WiFire that peaked my interest was the SD card reader. I would really like to get this working.

Link to post
Share on other sites
  • 0

I have successfully created a file and written data to an SD card using the WiFire. I used a SanDisk 32GB microSD card – refer to my previous question WiFire SD_ReadWrite. The example sketches should work.

Best Regards,


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now