Here is an overview of the system; why I made it and how it works:
The full explanation, code and schematics is hosted on my personal blog:
http://fritzenmaker.blogspot.com.br/2017/04/arduino-based-datalogger.html
A simple-to-use and easy-to-assemble data logger with Arduino micro and a microSD card