weather logger SD card problem

Hey,
I've build an weather logger with a dht22 and bmp085 sensor on my aeduino nano board .
The sensors are working fine and I got the right values in my terminal.
But I want to save these in a file on my micro SD card .
And here is my problem .
In 24h logging time are to much data for one string , so i've to save the data directlich to the file (maybe txt). How can I do that ? The second problem is i've to save the data's every 2 seconds .
I think it should be easy but I didn't get it .
Any good hints?
Thanks for help and excuse my English .
Lennard

My first comment would be why you need to record the data every 2 seconds ? Are temperature, humidity, pressure etc going to change much in that time ? Apart from anything else you will be saving over 43,000 sets of readings per day.

As to how you do it, that sounds simple.
Open the file, then using millis() wait for 2 seconds, read the data into variables and write them to the file, wait for 2 seconds, read the data into variables and write them to the file and so on.

Which part are you stuck on ? Please post your existing code here in order to get more advice.to ask

Hey,thanks for the first help . i.need that much data because I'll log on an fight :slight_smile: I'll post the code at the weekend.. Gn8 nevermind

i.need that much data because I'll log on an fight

I have absolutely no idea what that means I am afraid.