Tutorial: Writing and reading to SD cards

Tutorial: Learn how get SD cards working and how to read and write to them. Shown are card types, wiring and 3 code examples to get SD cards working, saving comma separated data (CSV) and plotting results in Excel. A third example shows how to read CSV data from and SD card. The library used here is Sdfat.h Whether you use an Arduino, Teensy, or ESP32. chance are you will need to store data such as telemetry, GPS coordinates, or other measurements and hopefully this lesson will help learn how to use SD cards. Other useful tutorials Temperature sensor shootout:    • Temperature sensor shootout   Using 7-segment LED's:    • Using 7-segment display LED's   Saving settings even during MCU power down:    • Tutorial: How to save settings to MCU's EE...   Getting those darn TFT LCD displays to work:    • Tutorial: Getting TFT LCD displays working   Turning stuff on or off:    • Tutorial: Use your MCU to turn stuff on or...   Writing analog signals/voltages:    • Tutorial: Use analogWrite to vary speeds o...   Using digital sensors:    • Tutorial: Use digitalRead to monitor digit...   Using analog sensors:    • Tutorial: Use analogRead to monitor analog...   Talking to your Arduino:    • Tutorial: How to talk to your Arduino or T...   Some fun projects to build Build a 3D printer filament meter:    • Build a 3D printer filament meter   Homemade motorized table saw fence    • DIY motorized table saw fence   High"er" res homemade Thermal Camera for $100:    • DIY high-er res Thermal Camera for $100   DIY Garage Parking Assistant:    • DIY Garage  Parking Assistant