This is from a draft document that I haven't gotten around to completing. I think it will get you where you need. Keep in mind that this document makes reference to a printer that is not a RepRap, but uses the Sanguinololu electronics.
Don't try to use the files you already have. Start from scratch.
Getting Started with the Tjiko Snap3D
Glossary
Arduino IDE – This is the development environment for the firm ware used by the Snap3D
Sanguino – This is an Arduino microprocessor variant, and is used on the Snap3D electronics. Patching of the Arduino IDE is required in order to use Sanguino
Patching – Replace one bit of code with another
Repetier Firmware – this is the software that run on the Sanguino microcontroller of the Snap3D. There are other alternatives, such as Sprinter, and Marlin, but they are not supported by us.
Repetier Host – This is the control software used on the PC to test and operate the Snap3D
Slicer – The job of slicer software is to convert a 3D object from an STL file, into instructions that the firmware can understand. The resulting instructions are referred to as G-Code.
NetFabb – This software is useful for “cleaning up” STL file which contain non-manifold surfaces.
Installing any 3D printing tool chain can seem insurmountable, but if you follow these instructions carefully, you will avoid the most frequent pitfalls met by novices when trying to print for the first time.
The process involves downloading and installing all of the needed software, patching the software as required, configuring the firmware to match your printer’s configuration, configuring the host software, selecting and configuring your slicing software, calibrating your printer, testing your printer, and printing your first object.
You can expect this process to take at least a couple of hours.
Things you should have before you proceed:
1. A good internet connection.
2. A fully assembled Snap3D
3. A measuring caliper, or some means of taking precise measurements.
4. A black sharpie.
5. Sobriety.
Software Setup Step by Step
Hint: Place all downloaded files into a newly created folder named Snap3D files, so you can locate them all easily.
1. Download the Arduino IDE version 0.23 from the arduino web site.
There are several versions, past and present of the Arduino IDE. At the time of this writing, it is best to use the 0023 version. On the download page, you will find this under the section titled “Previous IDE Versions”.
[
arduino.cc]
2. Download the Sanguino patch for Arduino 0023 from
[
code.google.com]
The latest version is labeled Sanguino-0023r4.zip
3. Download the latest version of Repetier firmware from the Repetier code repository at github.com. To download, locate the icon immediately to the right of “Clone in Windows” labeled “ZIP.
[
github.com]
4. Download the latest version of Repetier Host from repetier.com
[
www.repetier.com]
5. Download the latest version of NetFabb Basic from netfabb.com. Registration is required, but the product is free.
[
www.netfabb.com]
6. Install the Arduino IDE by extracting the zip file called arduino-0023.zip into it’s own folder in the Snap3D folder.
7. In a similar fashion, extract the Repetier firmware into it’s own directory in the Snap3D folder. Once it is extracted, rename the repetier folder to include the current date. In this way, you will be able to distinguish between versions downloaded at different times. The reason for this is that occasionally, some released versions of the firmware will contain features which are not fully tested, and may introduce problems. In these cases, it may be better to revert to the previous version, rather than wait for a fix.
8. Patch the Arduino IDE to include Sanguino support. Open the sanguino-0023r4.zip file, and extract the sanguine folder into your arduino folder’s “hardware” directory.
There are files in the Arduino IDE that need to be replaced/added. The replacement files are included in the Repetier firmware folder, under the “boards” directory.
The first file is found in .\boards\arduino pre 1.0, and is called HardwareSerial.cpp. You will want to COPY this file to replace the file found in . \arduino-0023\hardware\arduino\cores\arduino
The second file is found in . \boards\Sanguino pre 1.0, and is called wiring_serial.c. You will need to COPY this file to .\arduino-0023\hardware\Sanguino\cores\arduino
9. Install the Repetier Host. Follow the instructions found on the repetier.com web site
[
www.repetier.com]
Default Extruder Temp = 220°C
Default Bed Temp = 110°C
Print Are Width = ~200 TBD
Print Are depth = ~200 TBD
Print Area Height ~200 TBD
Dump Area Left = 0
Dump Are Front = 0
Dump Area Width = 10
Dump Area Depth = 10
10. Configure the Firmware
Run Arduino IDE, and open Repetier.pde found in the repetier firmware, under \repetier-Repetier-Firmware-???????\Repetier
When the firmware opens, you will notice multiple tabs at the top of the IDE. These represent each of the files from which the firmware is complied. Note that not all of the file tabs are visible. To access these files, click on the arrow at the right side of the tabs bar.
The main file we are interested in is the Configuration.h file. Click on its tab, and you should see the following…
Locate the MOTHERBOARD definition, and make the following change
//// The following define selects which electronics board you have. Please choose the one that matches your setup
// MEGA/RAMPS up to 1.2 = 3,
// RAMPS 1.3/RAMPS 1.4 = 33
// Gen6 = 5,
// Sanguinololu up to 1.1 = 6
// Sanguinololu 1.2 and above = 62
…
#define MOTHERBOARD 71
CHANGE TO
#define MOTHERBOARD 62
…
/** \brief Number of steps for a 1mm move in x direction. Overridden if EEPROM activated. */
#define XAXIS_STEPS_PER_MM 40
CHANGE TO
#define XAXIS_STEPS_PER_MM 76.19047619047619
/** \brief Number of steps for a 1mm move in y direction Overridden if EEPROM activated.*/
#define YAXIS_STEPS_PER_MM 40
CHANGE TO
#define XAXIS_STEPS_PER_MM 76.19047619047619
/** \brief Number of steps for a 1mm move in z direction Overridden if EEPROM activated.*/
#define ZAXIS_STEPS_PER_MM 3360
CHANGE TO
#define ZAXIS_STEPS_PER_MM 2267.718321038048
…
#define ENDSTOP_X_MIN_INVERTING false
#define ENDSTOP_Y_MIN_INVERTING false
#define ENDSTOP_Z_MIN_INVERTING false
#define ENDSTOP_X_MAX_INVERTING false
#define ENDSTOP_Y_MAX_INVERTING false
#define ENDSTOP_Z_MAX_INVERTING false
CHANGE TO
#define ENDSTOP_X_MIN_INVERTING true
#define ENDSTOP_Y_MIN_INVERTING true
#define ENDSTOP_Z_MIN_INVERTING true
#define ENDSTOP_X_MAX_INVERTING true
#define ENDSTOP_Y_MAX_INVERTING true
#define ENDSTOP_Z_MAX_INVERTING true
…
#define X_MAX_LENGTH 200
#define Y_MAX_LENGTH 200
#define Z_MAX_LENGTH 100
CHANGE TO
#define X_MAX_LENGTH 240
#define Y_MAX_LENGTH 240
#define Z_MAX_LENGTH 200
At this point, you can save your files in Arduino IDE, and attempt to “UPLOAD” to the Sanguino. Before performing a successful upload, you must set up the Board ,and Serial Port under the Tools menu.
For Sanguino, select “Sanguino w/Atmega 644P
For Serial Port, select the serial COM port addressed by the operating system to the sanguino.
To be continued…