Lesson 106-1: Reading Voltage from a Potentiometer and Recording it on Micro SD

Video thumbnail for 7 projects Build LED LCD Alarm Clock using DS1307 with Arduino | Lesson 105 - RJT416

Lesson 106-1: Reading Voltage from a Potentiometer and Recording it on Micro SD

In this lesson, we learn how to use a Micro SD card. We learn how to write to the card and how to read text. How to log voltage from a potentiometer to the memory card. How to save the data as CSV format so we can open it in a spreadsheet like Excel for plotting and other analysis.

This is Example 5. We simply read the voltage from a potentiometer, and when a push button is pressed, the data from the Micro SD card is displayed on the serial monitor. The data written to the microSD card is written in CSV format so we can open it using a spreadsheet like Excel.

Code Snippets

Comments will be displayed here.