Welcome! Log In Create A New Profile

Advanced

Aquila X3 bed probe not working in Marlin/MRiscoCProUI

Posted by balizeiro 
Aquila X3 bed probe not working in Marlin/MRiscoCProUI
September 03, 2023 06:02AM
Hello everyone
I'm trying to change my Voxelab Aquila X3 firmware (because the default one as almost no options at all), but I’m unable to make the bed probe work (the X3 comes with an inductive probe). This printer doesn’t have a Z switch and depends on the probe to set the Z correctly.
I’ve made the following configurations/changes from the default configuration:

#define FIX_MOUNTED_PROBE
#define AUTO_BED_LEVELING_BILINEAR


#define Z_MIN_ENDSTOP_HIT_STATE LOW
#define Z_MIN_PROBE_ENDSTOP_HIT_STATE LOW
Changed both the previous values because the print head was always going up when I tried to home the printer


#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
#define USE_PROBE_FOR_Z_HOMING
Tried enabling/disabling the previous values but with no success


When I execute M119 I’m always getting
z_min: open
and/or
z_probe: open
depending on the configuration of Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN


The bed probe works correctly if I revert back to the original Aquila firmware, but not with the custom firmware.


The board is this one


The chip is this one


The sensor is this one


The wiring is as follow


(Noting is connected to the Z-axis limit switch port)


(The bed probe is connected to the Reserved BL-Touch port)


What can be causing the bed probe not working correctly in the custom firmware?
Re: Aquila X3 bed probe not working in Marlin/MRiscoCProUI
September 03, 2023 06:12AM
Try disabling the pullup/pulldown resistors.
Re: Aquila X3 bed probe not working in Marlin/MRiscoCProUI
September 04, 2023 06:31AM
Tried disabling them, individually and simultaneously and it still didn't work

Here are the results for all the tests:

#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
//#define USE_PROBE_FOR_Z_HOMING

//#define ENDSTOPPULLUPS
//#define ENDSTOPPULLDOWNS

Recv: x_min: TRIGGERED
Recv: y_min: Open
Recv: z_min: Open
Recv: filament: TRIGGERED

-------------------------------------------------------

//#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
#define USE_PROBE_FOR_Z_HOMING

//#define ENDSTOPPULLUPS
//#define ENDSTOPPULLDOWNS

Recv: x_min: TRIGGERED
Recv: y_min: Open
Recv: z_min: Open
Recv: z_probe: TRIGGERED
Recv: filament: TRIGGERED

-------------------------------------------------------

//#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
#define USE_PROBE_FOR_Z_HOMING

#define ENDSTOPPULLUPS
//#define ENDSTOPPULLDOWNS

Recv: x_min: TRIGGERED
Recv: y_min: Open
Recv: z_min: Open
Recv: z_probe: Open
Recv: filament: TRIGGERED

-------------------------------------------------------

//#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
#define USE_PROBE_FOR_Z_HOMING

//#define ENDSTOPPULLUPS
#define ENDSTOPPULLDOWNS

Recv: x_min: TRIGGERED
Recv: y_min: Open
Recv: z_min: Open
Recv: z_probe: TRIGGERED
Recv: filament: TRIGGERED

-------------------------------------------------------

#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
//#define USE_PROBE_FOR_Z_HOMING

//#define ENDSTOPPULLUPS
#define ENDSTOPPULLDOWNS

Recv: x_min: TRIGGERED
Recv: y_min: Open
Recv: z_min: Open
Recv: filament: TRIGGERED

-------------------------------------------------------

#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
//#define USE_PROBE_FOR_Z_HOMING

#define ENDSTOPPULLUPS
//#define ENDSTOPPULLDOWNSgod

Recv: x_min: TRIGGERED
Recv: y_min: Open
Recv: z_min: Open
Recv: filament: TRIGGERED



I uploaded both Configuration.h Configuration.h and Configuration_adv.h Configuration_adv.h since it may help with any other configuration that may be causing this situation
Re: Aquila X3 bed probe not working in Marlin/MRiscoCProUI
September 04, 2023 06:32AM
Removed due to double post

Edited 2 time(s). Last edit at 09/04/2023 09:00AM by balizeiro.
Attachments:
open | download - Configuration.h (138.8 KB)
open | download - Configuration_adv.h (184.7 KB)
Re: Aquila X3 bed probe not working in Marlin/MRiscoCProUI
September 04, 2023 09:59AM
"(The bed probe is connected to the Reserved BL-Touch port"

Note the silkscreen IN and OUT are from the point of view of a bltouch. (bltouch OUT is probe trigger, bltouch IN is pwm servo signal)

On that 5 pin port with a bltouch the 3 pins G,V,IN are normally for servo control. The empty two pins G and OUT are gnd the trigger signal

Ie the IN IO pin is by default set as a pwm output.


Since the board seems to be a clone of the creality v4 board.
the boards pin.h files has #define Z_MIN_PROBE_PIN PB1
and #define SERVO0_PIN PB0

but your probe is plugged into PB0 not PB1

Add these to your Configuration.h to swap the function of these two pins over.

#define Z_MIN_PROBE_PIN PB0  
#define SERVO0_PIN PB1

then use the following to tell marlin to use the probe port
//#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
#define USE_PROBE_FOR_Z_HOMING

Edited 8 time(s). Last edit at 09/04/2023 10:35AM by Dust.
Re: Aquila X3 bed probe not working in Marlin/MRiscoCProUI
September 04, 2023 06:27PM
It worked with the configurations suggested by Dust

Quote
Dust
#define Z_MIN_PROBE_PIN PB0  
#define SERVO0_PIN PB1

then use the following to tell marlin to use the probe port
//#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
#define USE_PROBE_FOR_Z_HOMING

I also needed to revert Z_MIN_ENDSTOP_HIT_STATE and Z_MIN_PROBE_ENDSTOP_HIT_STATE to HIGH

Thanks for all the help provided
Re: Aquila X3 bed probe not working in Marlin/MRiscoCProUI
September 30, 2023 06:38PM
Hola tengo el mismo problema con la sonda. habéis podido corregir el tema.
gracias
Sorry, only registered users may post in this forum.

Click here to login