and when I run G29, the bed goes straight down until it hits the bottom and the stepper motor strips out.I then ran another G28 command. The bed raises, hits the probe, and instead of going up, it now rapidly descends until it hits the bottom. At that point, it comes back up about 5 centimeters.
I'm 99% sure the sensor itself is working fine, as I did as followed here:
and it reported triggered whenever the sensor was triggered, and open whenever it wasn't. Which obviously means it's working...right?M119 should report triggered if you remove the cable at the BLTouch end.
If it says open then there's a problem. Remove the cable at the RAMPS end. If M119 reports triggered then the cable is bad (most likely signal is shorted to ground). If M119 reports open then either the RAMPS/2560 is bad or you're not running the config you posted.
If the above checks out OK then try this:
Code: Select all
Testing a BLTouch with serial number: 1. Connect BLTouch, power up controller and upload the firmware 2. Blue LED will be ON if a servo signal is present. Blue LED is faint. 3. Issue "M119" ; should return OPEN. If not check that the BLTouch is enabled in the configuration. If enabled then check wiring and check that the correct pin is being used. Also check that Z_MIN_ENDSTOP_INVERTING and Z_MIN_PROBE_ENDSTOP_INVERTING are both set to "false". 4. Issue "M280 P0 S10" ; should deploy the probe and the orange LED will be OFF. 5. Issue "M119" ; should return OPEN 6. Issue "M280 P0 S90" ; should stow the probe and the orange LED will be ON 7. Issue "M280 P0 S60" ; puts it into the M119 test mode. 8. The probe should remain stowed and the blue LED should be OFF. If it's ON then the unit needs to be adjusted. 9. Issue "M119" ; should return TRIGGERED 10. Issue "M280 P0 S160" ; returns it to normal operation 11. Issue "M119" ; should return OPEN.
I have one question though. Is it suppose to report a z_max? Why isn't there one for the x or y?
Code: Select all
READ: Reporting endstop status
READ: x_min: open
READ: y_min: open
READ: z_min: open
READ: z_max: open <- is it normal for there to be a z_max?
Anyway, I'm pretty sure everything is wired correctly, so I believe the problem is in the g-code. I've been toying with it for quite a while so I'll just try to give a quick summary of what I've done
First I followed what jturrell said
Code: Select all
Find this line and ensure it is set to false:
const bool Z_MIN_ENDSTOP_INVERTING = false;
Uncomment this line:
#define ENABLE_AUTO_BED_LEVELING
Update the lines below with these numbers: (You can play with these to fine-tune.)
// set the rectangle in which to probe
#define LEFT_PROBE_BED_POSITION 20
#define RIGHT_PROBE_BED_POSITION 175
#define BACK_PROBE_BED_POSITION 230
#define FRONT_PROBE_BED_POSITION 20
Update your probe offsets:
// These settings assume you're using the same filament guide as I am.
#define X_PROBE_OFFSET_FROM_EXTRUDER 17
#define Y_PROBE_OFFSET_FROM_EXTRUDER 0
#define Z_PROBE_OFFSET_FROM_EXTRUDER -2.05 // You may need to play with this to get the right "squish" on your first layer.
Update the following setting:
#define Z_RAISE_BEFORE_HOMING 5
Update the lines below to define servos and endstops. Make sure these lines aren't commented out:
#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, 10,90} // X,Y,Z Axis Extend and Retract angles
Save the sketch. There are other settings you can play with in Configuration.h, but these are the important ones.
Step 10: Navigate to the Pins.h sketch.
Search for the "Rambo Pin Assignments" section.
Add the following line just before the "#endif //RAMBO" line:
#define SERVO0_PIN 22
Code: Select all
#define DEFAULT_AXIS_STEPS_PER_UNIT {88.88, 88.88, 88.88, 400, 471.50}
Code: Select all
#define Z_HOME_DIR -1
#define INVERT_Z_DIR true
HOMING_FEEDRATE value for Z from 15*60 to 10*60
uncommented #define DISABLE_MAX_ENDSTOPS
I've read through the entire BLTouch Auto Leveling Sensor topic and I'm 99% sure I tried everything there multiple times.
I got my printer in 2013. I believe it was the one that came just after the separate 19v and 12v power supplies. The only thing I modified electronically was moving the z-endstop to the top.
Here's a link to my configuration.h file: https://jpst.it/1jxDi
Thanks for your time