This code was created to test out a data logging shield for arduino.
The arduino was connected to a photoresistor and LCD screen. The analog input of the photoresistor was monitored and recorded to an SD card at regular intervals, with the LCD screen showing the values as they were being recorded.
When the code is first run, it creates a txt file on the SD card with the filename “TEST.txt”. The data is then logged to this file.
The next step is to add clock functionality that can record the time the measurement was taken.
The code is here: datalogger_shield_code01