Welcome in the forum, Gabriel.
1) Probably. How complicated for you I cannot tell.
2) SD card uses spi as interface and emfile as library to store in a usual format. Example here.
3) You should have a brief look at all the components your PSoC4 offers, a documentation is always only a mouse click far away.
4) Noise cancelation is usually done by first oversampling and then averaging the data stream.
thank you for your fast answer.
2.I have downloaded the files, what am i suppose to do now, i can't open them in creator. And where can i find a module/shield to buy specifically ?
3. I have already an idea about the components but i asked for brief list so i don't forget something.
4. I see, thank you for that. Is that has to be done by software writing code ( library ?) or .. ? please tell me more about converting the data to wav format.
ps: Sorry to ask some basic questions but i am very new to all that electronic world...
1 of 1 people found this helpful
You should search for a SPI shield( Like Bob told you) with SD card adapter on it. One such example is http://www.ebay.com/itm/Micro-SD-Storage-Board-TF-Card-Memory-Shield-Module-SPI-For-Arduino-Mega-UNO-F-/121439021772
This board as I see has 5V and 3.3V which is ok for PSOC. You can also find others from Arduino but take care of the working voltage because the majority use 5V which will not work for PSOC.
I do not have a big experience with wav files, but in my understanding you should add to the raw data that you obtain via the MUX a header specific to WAV format. I suggest to store the audio format as bytes and transfer them to the Client. If the client is a smartphone app or desktop app it is easier to convert the bytes there to a wav than on the PSOC. For high-end programming languages like C#/Java you can find libraries and find out the encoding they do for creating wav from raw bytes but it does not make sense to make this on PSOC if you have the possibility to do this on an app.
Transferring large data sets over BLE is going to be a little bit complicated. BLE was not designed to stream data (like a serial port does). Its using an event-publish mechanism designed for status updates.