No that one is way too slow. It will only work at 1M samples per second. You have a 16MHz processor so to actually measure anything approaching accurately you need it 100 times better than this.
Take a read thru herehttp://forum.arduino.cc/index.php?topic=180769.0
I designed this card for the project, got hung up on integrating the ADC & DAC into it, but left myself some room to play some more when I had some time. You can see that fat16lib had the code working to record mono audio to SD card at CD quality speed/data (16 bit data, 44.1 KHz)http://www.crossroadsfencing.com/BobuinoRev17/
The module has a 5V pin, would be actually safe, for the SD card, input that voltage in there? Or shall I use the 3.3V output of my board?
Is the MCU actually fully compatible with a 3.3V logic level for SPI communication? I mean, what if the MOSI pin receives 5V?
The pins of the module, are those labeled in pairs or just for a single one?
Which function will put an exact copy of this array into the file? write or print?
The size count of the file is updated every time I write (not overwrite) a new byte into it, right?
The print function writes an unsigned int variable as a character string
is there a way to convert an unsigned int type variable into an array of bytes? (in its "byte form")
upperByte = variable >> 8;lowerByte = variable && 0xff;
Not at all sure what you mean. Why should anything be in pairs?
Nether. But write puts the actual byte in the file and print puts an ASCII representation of the value of the byte.
Code: [Select]upperByte = variable >> 8;lowerByte = variable && 0xff;
My question is: are those couple of pins connected together?
is there a write function that receives an entire array of bytes?
Will that pair of lines just extract two bytes?
The int type isn't supposed to have 4 bytes?
I need it in the "little-endian" order
No look at the back, one row are connected to ground. This is normal practice.
Correct the int type doesn't have four bytes it has two on an Arduino.
Long int has four bytes, a long long has eight.