saving analog data to a file from Uno and Mega 2560

I'm relatively new to Arduinos. I currently have an Uno (although I'm thinking of switching to a Mega 2560 for more inputs) and I'm using 3 of the analog inputs for 3 different thermistors. It's working great, but I need to find a way to save the data generated by the thermistors. Right now I just have it set up to stream through the serial monitor. How can I save those data to a file? Either on the Arduino or on my PC or something.

Thanks!
Tim

How can I save those data to a file? Either on the Arduino or on my PC or something.

You could save the data to an SD card attached to your Arduino or to a file on the PC if suitable software is running on the PC such as a terminal emulator capable of saving data to a file. The former is probably the easiest and the SD library can do what you want

Could you please send me an example of some code that shows how to save data to the SD card?

UKHeliBob:
You could save the data to an SD card attached to your Arduino or to a file on the PC if suitable software is running on the PC such as a terminal emulator capable of saving data to a file. The former is probably the easiest and the SD library can do what you want

Also, if you're looking for real-time timestamping you could use a data logger shield that has an RTC on it.

tdg:
Could you please send me an example of some code that shows how to save data to the SD card?

Right here on this site:

Datalogger

tdg:
Could you please send me an example of some code that shows how to save data to the SD card?

There are examples with the SD library