DIY microSD card data logger

For the past six months I've been working on a GPS data logging unit based around the Arduino UNO. Through many variations of code, breadboards, perf boards, and now pcb; I'm looking to get rid of the store bought units I'm using and build the system with only components i.e. ic units, capacitors, resistors, crystals, etc. I've switched out the Arduino for an ATMega 328 chip and am now working on the microSD card data logger. Currently I am using the Sparkfun OpenLog. Find it here: SparkFun OpenLog - DEV-13712 - SparkFun Electronics.

This is a great unit that I would highly recommend, however on my voyage of not using store bought units, it will no longer work. The Sparkfun openlog is a more advanced sd logger as it uses an ATMega and crystal of its own, I am aiming for a bare bones sd card logger.

Less advanced modules to my understanding use a level shifter to provide 3.3 volts. Given that all of my sensors use 3.3 volts, I plan to use a 3.3 volt level shifter on the input voltage (a 9v battery). The ATMega will then run at 3.3 volts and supply 3.3 volts as both power and signals. Given that, can I hook up a microSD socket directly to my circuit? Or will I need level shifters, resistors, capacitors, etc to have a working unit? This is an example microSD socket: microSD Socket for Transflash - PRT-00127 - SparkFun Electronics
I think I will have to modify my code to get this to work but that's fine.

Thank you for your help!

Personally I would use 5v for the controller then have a 1117 regulator to get 3.3v.
Then use 74HC4050 for level shifting.

.

larryd:
Personally I would use 5v for the controller then have a 1117 regulator to get 3.3v.
Then use 74HC4050 for level shifting.

.

For my understanding purpose, you recommend supplying the ATMega with 5 volts, this would allow the ATMega to clock in at 16 mhz as opposed to 8. Smart! Then I would use the 1117 regulator on the vcc line to get a 3.3 volt output from the ATMega. Next, I would use my 5 volt and 3.3 volt power supplies on the 74HC4050 level shifter. This would allow me to connect my transmitting signal lines of the ATMega bringing them down to a safe 3.3 volts for the signal inputs of my sensors. Please tell me if I have the right idea! Also thanks for the help!!

All okay.

.

SD.jpg