Quantcast
Channel: Reprap Forum - RAMPS Electronics
Viewing all articles
Browse latest Browse all 1807

Auto Bed Levelling - End Stop installation (1 reply)

$
0
0
Hi there!

I am trying to install the auto bed levelling with RAMPS 1.4 and Marlin firmware. I have a Delta Printer.

Despite the Auto Bed Levelling seems to be supported out of the box by the Marlin firmware, I have trouble setting it up... I did the following:

  • I put a jumper between the VCC and 5V on the RAMPS 1.4 to power my servo motor.
  • I attached a servo motor to the RAMPS 1.4
  • I connected an end stop to the Z axis MIN pins on the RAMPS
  • I setup the Marlin firmware
#define Z_PROBE_OFFSET {0, 10, -5.6, 0}  // X, Y, Z, E distance between hotend nozzle and deployed bed leveling probe.
#define Z_PROBE_DEPLOY_START_LOCATION {-40, -25, 30, 0}   // X, Y, Z, E start location for z-probe deployment sequence
#define Z_PROBE_DEPLOY_END_LOCATION {0, -25, 30, 0} 	  // X, Y, Z, E end location for z-probe deployment sequence
#define Z_PROBE_RETRACT_START_LOCATION {40, -25, 20, 0}  // X, Y, Z, E start location for z-probe retract sequence
#define Z_PROBE_RETRACT_END_LOCATION {0, 50, 1, 0}     // X, Y, Z, E end location for z-probe retract sequence 
// ...
#define NUM_SERVOS 1 // Servo index starts with 0 for M280 command

#define SERVO_ENDSTOPS {-1, -1, 0} // Servo index for X, Y, Z. Disable with -1
#define SERVO_ENDSTOP_ANGLES {0,0, 0,0, 165,65} // X,Y,Z Axis Extend and Retract angles
  • And I used G30 to start the bed levelling sequence

I would have expected the following to happen:
  • The system homes (G28)
  • The effector goes down to the DEPLOY_START_LOCATION
  • The servo motor moves to the correct start position
  • The effector moves down until it hits the bed
  • The effector moves back up and moves to another probe location

However, what happens is
  • The system homes (G28)
  • The effector goes down to the DEPLOY_START_LOCATION
  • (I think) The effector moves to the DEPLOY_END_LOCATION
  • (I think) The effector moves to the first probe location
  • The effector moves down until it hits the bed and keeps on moving!

I manually click the end stop multiple times, but nothing happens. Furthermore, the servo motor does not move at all...

Should I somehow define which end stop pin I use? I use a standard end stop switch as probe.

Thanks a lot for your input!

Viewing all articles
Browse latest Browse all 1807

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>