Logomatic V2 and ATMega

Hello,

I’m pretty much brand new to using both the AtMega328 and the Logomatic V2. I have an array of infrared sensors that send voltage signals to my microcontroller, and I need a way to save this data onto a micro SD card. Right now the code on the microcontroller works great, and it is printing the information I want saved using serial write on my arduino.

How can I get this data onto my SD card? What pins from the ATMega need to be connected to the logomatic and where?

Thanks for the help!