Build an Arduino Data Logger That Writes to an SD Card
About seven dollars of hardware turns an Uno into a device that records data to a CSV file for days at a time. Here is the SPI wiring, the sketch, the pin 10 trap that hangs SD.begin(), and why close() is the line you must not delete.









