Ever wanted to run your RepRap from SD card? Here is your chance! This RAMPS add-on enables you to print from MicroSD.With RAMPS 1.3 and higher it's easily connected to the RAMPS board. You will require special firmware though.
- Kingston brand SD cards do not work as they do not support SPI.
Where to get it?
Depending on the vendor you can buy SD Ramps as bare PCB, DIY-kit or preassembled.
Building your own
Bill of materials
|PCB||SD RAMPS PCB||PCB|
|C1||2.2uF Tantalum 1206||Capacitor|
|SV1/SV2||6x2 stackable header||Header|
The following steps will show you how to solder the board. These components are Surface mounted, so this can be a bit tricky. You will need a soldering iron with a small tip. Other than that, it is doable if you have a bit of experience.
Examine the PCB. Try to figure out what goes where.
Place the 74HC4050 on the PCB. Some chips do not have clearly marked how they should be put on the board, just place them with text on the chip aligned to the north side of the PCB. Solder one pin (if you are right handed, working from left to right is a good order) and align the other pins to the pad. Solder a second one, check the alignment and then the other pins.
Next is the MIC5209-3.3YS. Place it on the pads and solder the pins. Can't go wrong here.
Turn the pcb and put the capacitor on the pads,mind the white band! I like to put solder on one pad first, put the capacitor on and melt the solder again. Then solder the other pad.
The SD socket is probably the hardest part. Your socket should have eight or nine pins. Place the most left pin on the most left pad. If you have eight pins, a pad on the right remains unused.
Next put the resistor and LED onto the board. The resistor can be put on either way, the LED can only be placed with the +-polarity on the left.
Finally put on the headers and you are good to go!
Testing your board
For testing your board, I have written a small test program. It will continuously try to detect your SDCard. If it succeeds, it will print information about the card. Your should make sure your SDCard is formatted correctly.
You can download it here: File:Sdrampstest.zip
Upload the software onto your Arduino MEGA.
Put your SD RAMPS board onto an Arduino MEGA like this:
The RED LED should light up, indicating the board is powered.
Open the Serial Monitor in you Arduino environment. If the SDCard is readable, it should read something like:
Wiring is correct and a card is present.
Card type: SDHC
Volume type is FAT16
Volume size (bytes): 822231040
Volume size (Kbytes): 802960
Volume size (Mbytes): 784
Files found on the card (name, date and size in bytes):
TEST.TXT 2011-08-10 14:14:40 0
TST2.TXT 2011-08-10 14:14:46 0
TST3.TXT 2011-08-10 14:14:54 0
1. The LED does not light up Make sure the LED is mounted the right way. If the 74HC4050 is getting hot, you might have a short.
2. The test program says: initialization failed. Things to check: ... Follow the advise of the program and check every step above. Check if your SD Card works.
Using the SD RAMPS
RAMPS 1.3 with Sprinter firmware
These steps will guide you on how to use the SD RAMPS with RAMPS 1.3 and the Sprinter firmware.
Note that you MUST install Diode D1 on the RAMPS board if you want to be able to print without being connected to your PC - see: http://reprap.org/wiki/RAMPS1.4#D2.2C_D2_-_Diodes
1. Connect your SD RAMPS like this to the RAMPS board:
The four most right pins are not used.
NOTE: On RAMPS 1.4, the corresponding pin pads have been moved a bit closer to the corner of the board, so it looks a little bit different, because the SDRAMPS daughter-board hangs over the corner of the RAMPS 1.4 board a little bit:
2. Download the latest Sprinter firmware from Sprinter
Extract the firmware and open it in your Arduino IDE.
3. Go to the file configuration.h and change the motherboard setting:
- define MOTHERBOARD 33
4. Check that SD Card support is enabled:
- define SDSUPPORT 1
5. Compile and upload the firmware.
6. Open the Serial Monitor from the Arduino IDE. Make sure the left select list reads newline. Enter the GCode M21 (init SD Card). It should return ok.
7. Enter the GCode M20 (list files). It should return the contents of the SD card.