BrundleFab - a 3D Printer Experiment
Connecting an Arduino Mega2560 to a Seed Studio SD Card v3.1 Shield
Well, it doesn't just snap on and work. You need to route some pins:
|MEGA Pin||SD Shield||Function|
Use the arduino SD library, with a 'const int chipSelect=SS;' and you are good to go.
I am using a pile of trashed HP F4480 DeskJet printers as a source of motors, gears, and encoders.
Here are some information I have discovered about the internals of this printer:
Rotary optical encoder board
This board monitors the 1200 DPI optical encoder disk attached to the main paper handling roller in the printer.
It uses quadrature encoding, and can monitor both forward and reverse direction.
I am using the 'Encoder' library from the  Arduino library collection.
Pin 1 is the kerf on the CPU board connection
The HP F4480 printhead carriage monitors a 1200 DPI optical encoder strip, which is the feedback to the carriage motor.