Tutorial: Writing and reading to SD cards
Kris Kasprzak Kris Kasprzak
19.8K subscribers
7,605 views
0

 Published On Apr 2, 2022

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...  
Getting those darn TFT LCD displays to work:    • Tutorial: Getting TFT LCD displays wo...  
Turning stuff on or off:    • Tutorial: Use your MCU to turn stuff ...  
Writing analog signals/voltages:    • Tutorial: Use analogWrite to vary spe...  
Using digital sensors:    • Tutorial: Use digitalRead to monitor ...  
Using analog sensors:    • Tutorial: Use analogRead to monitor a...  
Talking to your Arduino:    • Tutorial: How to talk to your Arduino...  

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  

show more

Share/Embed