it is a compulsory for me to use arduino as part of final year project as it is a university requirement.
I'm pretty sure that using it as a decoration is not within the scope of the university requirements.
No, we won't do your work for you. This is supposed to be a learning experience for you. Learning how to post "do my homework for me" on the Arduino forum is not the kind of learning that the university expects of you.
I have a C# application that creates a nice graph of the data that the Arduino sends it, and stores it in a database. If you are interested in a copy, PM me.
You don't need to download SdFat to write a microSD.
You don't need to download SdFat to write a microSD. The Arduino SD.h library is a wrapper for an old version of SdFat. THE Wrapper's purpose is to present an Arduino style API. SD.h has a number of bugs that have been fixed in newer versions of SdFat but few users have problems SdFat has evolve to be more like C++ iostreams and supports inserts, <<, and extractors, >>.
Contributed LibrariesIf you're using one of these libraries, you need to install it first. To do so, download the library and unzip it. It should be in a folder of its own, and will typically contain at least two files, one with a .h suffix and one with a .cpp suffix. Open your Arduino sketchbook folder. If there is already a folder there called libraries, place the library folder in there. If not, create a folder called libraries in the sketchbook folder, and drop the library folder in there. Then re-start the Arduino programming environment, and you should see your new library in the Sketch > Import Library menu.
Are you using sdfatlib20111205.zip?
Get the correct library for Arduino 1.0 here http://code.google.com/p/sdfatlib/downloads/list and install it in the proper place as described above or as described here http://www.arduino.cc/en/Reference/Libraries.
What is a good way to STOP logging? The examples I see such as SdFat\examples\AnalogLogger\AnalogLogger.pde seem to log forever until power goes away or you yank the SD card out of the socket. It seems to me that pulling the SD card out in the middle of a write could be bad.I would expect to send a ^c or something to tell the Arduino to stop logging and close the file. But none of the examples do this and the Arduino language doesn't even seem to have a Stop command. Am I being paranoid about file corruption. How do Arduino programmers usually exit loop()?
How do Arduino programmers usually exit loop()?
I would expect to send a ^c or something to tell the Arduino to stop logging and close the file.