|
Re: Mark Stephen's Smartrap Build July 01, 2014 02:24AM |
Registered: 12 years ago Posts: 229 |
Quote
djinn5150
// these are the offsets to the probe relative to the extruder tip (Hotend - Probe) #define X_PROBE_OFFSET_FROM_EXTRUDER 0 #define Y_PROBE_OFFSET_FROM_EXTRUDER 0 #define Z_PROBE_OFFSET_FROM_EXTRUDER 1.9 #define Z_PROBE_OFFSET_FROM_EXTRUDER_DELTA_X 0.5 // smartrap: special quantic error mesurement from porte a faux design (see marlin.cpp)
Is the delta x maybe? I am having similar problems, so cant be positive but far out in the y+ i have problems with adhesion and close to home it seems a bit smashed.
Awesome video!!
|
Re: Mark Stephen's Smartrap Build July 01, 2014 03:14AM |
Registered: 12 years ago Posts: 992 |

It's an important one for the smartrap , due to it's design ( the probe implies a measurement error as we press on the bed). 
|
Re: Mark Stephen's Smartrap Build July 01, 2014 04:55AM |
Registered: 13 years ago Posts: 791 |
|
Re: Mark Stephen's Smartrap Build July 01, 2014 09:31AM |
Registered: 12 years ago Posts: 178 |
|
Re: Mark Stephen's Smartrap Build July 01, 2014 12:19PM |
Registered: 12 years ago Posts: 229 |
Quote
smartfriendz
Cool video indeed
Sorry mark, I didn't read very well this thread about the offset parameterIt's an important one for the smartrap , due to it's design ( the probe implies a measurement error as we press on the bed).
Congrats for the work !
It puts me back on free cad to go forward with it . I'm learning it for next version of smartrap .. all was done in blender because i knew it, but it would be far better to be in free cad i guess
Quote
regpye
Great video Mark and very informative too.
I guess I also will have to learn FreeCAD now as well, because I have just started getting a few guys interested in SmartRaps at our local "Mens Shed"and they will need to be taught CAD so they can use the machines.
I use a rather expensive program that I really love, but these guys will want FREE, so FreeCAD would be the way to go.
I have already downloaded all your other videos to watch when I get enough time, getting started I think is the most important thing to learn, the others things will follow as the learning process takes hold.
As for the Marlin, I am now using the standard Marlin without any special changes. I have setup the machines using the normal servo wiring and also using the servo pins on the RAMPS board.
Having no problems as I have changed so much of the SmartRap to remove the unwanted movements.
Looking forward to any further video installments, they are very good and useful.
|
Re: Mark Stephen's Smartrap Build July 01, 2014 12:35PM |
Registered: 12 years ago Posts: 178 |
|
Re: Mark Stephen's Smartrap Build July 01, 2014 05:42PM |
Registered: 12 years ago Posts: 80 |
I thought all smartrap owners knew about it. Glad you discovered it. |
Re: Mark Stephen's Smartrap Build July 01, 2014 06:21PM |
Registered: 12 years ago Posts: 178 |
|
Re: Mark Stephen's Smartrap Build July 01, 2014 08:41PM |
Registered: 12 years ago Posts: 80 |
#else // not AUTO_BED_LEVELING_GRID
static void set_bed_level_equation_3pts(float z_at_pt_1, float z_at_pt_2, float z_at_pt_3) {
plan_bed_level_matrix.set_to_identity();
// smartrap modif: we add some delta on 3rd point because of smartrap's special design : x is porte a faux and there's a diff between probe and print
z_at_pt_3 += Z_PROBE_OFFSET_FROM_EXTRUDER_DELTA_X;
|
Re: Mark Stephen's Smartrap Build July 02, 2014 09:21AM |
Registered: 12 years ago Posts: 349 |
|
Re: Mark Stephen's Smartrap Build July 02, 2014 03:59PM |
Registered: 12 years ago Posts: 229 |
Quote
BackEMF
Great video Mark!
BTW how did you attach the base plate and Arduino to the ATX PSU?
I'm trying to figure out a way to add a PCB that deals with the ATX wiring so that there is a more Plug n Play solution for ATX+ RAMPS + SmartRap
Turns out to be a bit tricky to find a good way to deal with all the different ATX PSU's so i'm taking my time to get my mind around all the options.
|
Re: Mark Stephen's Smartrap Build July 02, 2014 06:37PM |
Registered: 12 years ago Posts: 992 |
it's really nice work ! i'm sure you have lot of comments about it .|
Re: Mark Stephen's Smartrap Build July 08, 2014 02:53AM |
Registered: 12 years ago Posts: 229 |

|
Re: Mark Stephen's Smartrap Build July 08, 2014 03:18AM |
Registered: 12 years ago Posts: 992 |
thanks.|
Re: Mark Stephen's Smartrap Build July 08, 2014 04:11AM |
Registered: 12 years ago Posts: 229 |
|
Re: Mark Stephen's Smartrap Build July 08, 2014 04:50AM |
Registered: 12 years ago Posts: 80 |
|
Re: Mark Stephen's Smartrap Build July 08, 2014 05:42AM |
Registered: 13 years ago Posts: 791 |
|
Re: Mark Stephen's Smartrap Build July 08, 2014 03:08PM |
Registered: 12 years ago Posts: 229 |
~
#ifndef MOTHERBOARD
#define MOTHERBOARD 34 //Smartrap Dual Extruder = 34 -- Single Extruder = 33
#endif
~
// This defines the number of extruders
#define EXTRUDERS 2 //Smartrap - Default is 1
~
#define TEMP_SENSOR_0 7 // Smartrap Single Extruder -- J-Head Light Hotend
#define TEMP_SENSOR_1 7 // Smartrap Dual Extruder - Single = #define TEMP_SENSOR_1 0 -- J-Head Light Hotend
#define TEMP_SENSOR_2 0
~
#define INVERT_X_DIR true // for Mendel set to false, for Orca set to true
#define INVERT_Y_DIR false // for Mendel set to true, for Orca set to false
#define INVERT_Z_DIR false // for Mendel set to false, for Orca set to true
#define INVERT_E0_DIR true // for direct drive extruder v9 set to true, for geared extruder set to false
#define INVERT_E1_DIR true // for direct drive extruder v9 set to true, for geared extruder set to false // Smartrap - Set to "true" for dual direct extruder
#define INVERT_E2_DIR false // for direct drive extruder v9 set to true, for geared extruder set to false
~
// Offset of the extruders (uncomment if using more than one and relying on firmware to position when changing).
// The offset has to be X=0, Y=0 for the extruder 0 hotend (default extruder).
// For the other hotends it is their distance from the extruder 0 hotend.
#define EXTRUDER_OFFSET_X {0.0, 0.0} // (in mm) for each extruder, offset of the hotend on the X axis -- Smartrap - Uncommented to enable Offsets
#define EXTRUDER_OFFSET_Y {0.0, 22.40} // (in mm) for each extruder, offset of the hotend on the Y axis -- Smartrap - Uncommented to enable Offsets
|
Re: Mark Stephen's Smartrap Build July 08, 2014 03:11PM |
Registered: 12 years ago Posts: 229 |
|
Re: Mark Stephen's Smartrap Build July 08, 2014 05:21PM |
Registered: 12 years ago Posts: 229 |
~ // A single Z stepper driver is usually used to drive 2 stepper motors. // Uncomment this define to utilize a separate stepper driver for each Z axis motor. // Only a few motherboards support this, like RAMPS, which have dual extruder support (the 2nd, often unused, extruder driver is used // to control the 2nd Z axis stepper motor). The pins are currently only defined for a RAMPS motherboards. // On a RAMPS (or other 5 driver) motherboard, using this feature will limit you to using 1 extruder. //#define Z_DUAL_STEPPER_DRIVERS #ifdef Z_DUAL_STEPPER_DRIVERS #undef EXTRUDERS #define EXTRUDERS 2 // Smartrap - Dual Extruders -- Default is #define EXTRUDERS 1 #endif // Same again but for Y Axis. //#define Y_DUAL_STEPPER_DRIVERS // Define if the two Y drives need to rotate in opposite directions #define INVERT_Y2_VS_Y_DIR true #ifdef Y_DUAL_STEPPER_DRIVERS #undef EXTRUDERS #define EXTRUDERS 2 // Smartrap - Dual Extruders -- Default is #define EXTRUDERS 1 #endif ~
|
Re: Mark Stephen's Smartrap Build July 08, 2014 06:07PM |
Registered: 13 years ago Posts: 791 |
Quote
markstephen
OK, I'm at a dead stop with the Firmware setup. Currently both heaters and temp sensors are working.
Second extruder is not. Only the first extruder is working. Stepper motor conformed good as swapping works. There is only one extruder showing up in the LCD screen.
I'm pretty sure that it's something in pins.h that needs to be added for the second extruder but I have no clue as to what pin to assign to it. That info seems to so far be elusive for configuring the RAMPS board. Anyone have an idea which pin to tell pins.h to use for the second extruder?
Did find that in Configuration_adv.h i needed (or I think I needed) -
~ // A single Z stepper driver is usually used to drive 2 stepper motors. // Uncomment this define to utilize a separate stepper driver for each Z axis motor. // Only a few motherboards support this, like RAMPS, which have dual extruder support (the 2nd, often unused, extruder driver is used // to control the 2nd Z axis stepper motor). The pins are currently only defined for a RAMPS motherboards. // On a RAMPS (or other 5 driver) motherboard, using this feature will limit you to using 1 extruder. //#define Z_DUAL_STEPPER_DRIVERS #ifdef Z_DUAL_STEPPER_DRIVERS #undef EXTRUDERS #define EXTRUDERS 2 // Smartrap - Dual Extruders -- Default is #define EXTRUDERS 1 #endif // Same again but for Y Axis. //#define Y_DUAL_STEPPER_DRIVERS // Define if the two Y drives need to rotate in opposite directions #define INVERT_Y2_VS_Y_DIR true #ifdef Y_DUAL_STEPPER_DRIVERS #undef EXTRUDERS #define EXTRUDERS 2 // Smartrap - Dual Extruders -- Default is #define EXTRUDERS 1 #endif ~
|
Re: Mark Stephen's Smartrap Build July 09, 2014 12:54AM |
Registered: 12 years ago Posts: 229 |
|
Re: Mark Stephen's Smartrap Build July 09, 2014 09:34PM |
Registered: 12 years ago Posts: 229 |
|
Re: Mark Stephen's Smartrap Build July 09, 2014 10:21PM |
Registered: 12 years ago Posts: 80 |
|
Re: Mark Stephen's Smartrap Build July 09, 2014 11:54PM |
Registered: 12 years ago Posts: 229 |
Quote
MelT
Lookin great! Thanks for the pic!
So, was there anything else that needed to be changed in the firmware to get your second extruder working?
#define EXTRUDER_OFFSET_X {0.0, 0.0} // (in mm) for each extruder, offset of the hotend on the X axis -- Smartrap - Uncommented to enable Offsets
#define EXTRUDER_OFFSET_Y {0.0, 19.7} // (in mm) for each extruder, offset of the hotend on the Y axis -- Smartrap - Uncommented to enable Offsets

|
Re: Mark Stephen's Smartrap Build July 10, 2014 12:40AM |
Registered: 12 years ago Posts: 80 |
|
Re: Mark Stephen's Smartrap Build July 10, 2014 02:06AM |
Registered: 12 years ago Posts: 229 |

|
Re: Mark Stephen's Smartrap Build July 10, 2014 07:11AM |
Registered: 12 years ago Posts: 992 |
.|
Re: Mark Stephen's Smartrap Build July 10, 2014 01:14PM |
Registered: 12 years ago Posts: 814 |
|
Re: Mark Stephen's Smartrap Build July 10, 2014 04:45PM |
Registered: 12 years ago Posts: 229 |
Quote
madmike8
I'm in a conference this week, but VIDEO!!!