Project BrundleFab
BrundleFab - a 3D Printer Experiment
Design Notes
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 |
---|---|---|
ICSP1 | D12 | MOSI |
ICSP2 | 5v | 5v |
ICSP3 | D13 | SCK |
ICSP4 | D11 | MISO |
ICSP6 | GND | Gnd |
D53 | D10 | SS |
Use the arduino SD library, with a 'const int chipSelect=SS;' and you are good to go.
HP F4480
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 [1] Arduino library collection.
Pin 1 is the kerf on the CPU board connection
Pin | Function |
---|---|
4 | Output A |
3 | Vcc 3.3v |
2 | Output B |
1 | Gnd |
Linear Encoder
The HP F4480 printhead carriage monitors a 1200 DPI optical encoder strip, which is the feedback to the carriage motor.