Please note: the forum is closed.
No new user registrations are accepted. For more info, please click here.
No new user registrations are accepted. For more info, please click here.
Auto Bed Leveling
Frezap
Posts: 21Member, 🌟 Super Member 🌟
Hi everyone!
I would like to add a BL-Touch to my JGAurora A5S.
Do you know if I will be able to use the x-max (for example) pin as the control/servo pin?
Otherwise I will try my luck with a capacitive sensor.
Thanks in advance!
Frezap
Comments
I have been an owner of an A5s since last week. As with others, the print bed is not straight.
Is it possible to block a BLTouch on the A5s? Has anyone done that successfully? The search is very difficult, because always the results of the A5 are displayed.
Thank you for your help
Mike
i don’t know if anyone who has done that yet. There are no servo pins on the motherboard, so you would need to remap a pin being used for another function, like the z-max pin for example.
Because of this, you would also need to use the custom firmware. I have one working build for the A5S, but I’m really trying to redo it at the moment with the very latest version of Marlin. Unfortunately I can’t give an eta but it is a live work in progress.
@Samuel Pinches Goob job on the latest custom firmware! It works amazing. It opens us to whole new possibilities including auto leveling. Can you show me which pins to take out to install a IR sensor or BLTouch sensor? Using Dai Hai's image below:
Would this IR Sensor mount be compatible with the A5S? https://www.thingiverse.com/thing:2750505
<i>Servo</i>
class, rather than just an element in an array within the<i>Servo</i>
class. There is no<i>MAX_SERVOS</i>
defined."Marlin\src\HAL\HAL_STM32F1\HAL_Servo_STM32F1.cpp: In member function 'bool libServo::attach(int32_t, int32_t, int32_t)':
Marlin\src\HAL\HAL_STM32F1\HAL_Servo_STM32F1.cpp:101:11: warning: unused variable 'tchan' [-Wunused-variable]
uint8_t tchan = PIN_MAP[pin].timer_channel;
^~~~~
Marlin\src\HAL\HAL_STM32F1\HAL_Servo_STM32F1.cpp: In member function 'bool libServo::setupSoftPWM(int32_t)':
Marlin\src\HAL\HAL_STM32F1\HAL_Servo_STM32F1.cpp:224:51: warning: no return statement in function returning non-void [-Wreturn-type]
bool libServo::setupSoftPWM(const int32_t pin) {}
^
Compiling .pioenvs\JGAURORA_A5S_A1\src\src\HAL\shared\servo.cpp.o
Compiling .pioenvs\JGAURORA_A5S_A1\src\src\Marlin.cpp.o
Compiling .pioenvs\JGAURORA_A5S_A1\src\src\feature\Max7219_Debug_LEDs.cpp.o
In file included from Marlin\src\HAL\shared\servo.cpp:59:0:
Marlin\src\HAL\shared\servo_private.h:51:4: error: #error "This library only supports boards with an AVR or SAM3X processor."
#error "This library only supports boards with an AVR or SAM3X processor."
^~~~~
Marlin\src\HAL\shared\servo_private.h:62:0: warning: "MAX_SERVOS" redefined
#define MAX_SERVOS (_Nbr_16timers * SERVOS_PER_TIMER)
In file included from Marlin\src\HAL\shared\servo.h:78:0,
from Marlin\src\HAL\shared\servo.cpp:58:
Marlin\src\HAL\shared\../HAL_STM32F1/HAL_Servo_STM32F1.h:32:0: note: this is the location of the previous definition
#define MAX_SERVOS 3
Compiling .pioenvs\JGAURORA_A5S_A1\src\src\feature\babystep.cpp.o
In file included from Marlin\src\HAL\shared\servo.cpp:59:0:
Marlin\src\HAL\shared\servo_private.h:62:23: error: '_Nbr_16timers' was not declared in this scope
#define MAX_SERVOS (_Nbr_16timers * SERVOS_PER_TIMER)
^
Marlin\src\HAL\shared\servo_private.h:93:31: note: in expansion of macro 'MAX_SERVOS'
extern ServoInfo_t servo_info[MAX_SERVOS];
^~~~~~~~~~
In file included from Marlin\src\HAL\shared\servo.cpp:59:0:
Marlin\src\HAL\shared\servo_private.h:97:21: error: variable or field 'initISR' declared void
extern void initISR(timer16_Sequence_t timer);
^~~~~~~~~~~~~~~~~~
Marlin\src\HAL\shared\servo_private.h:97:21: error: 'timer16_Sequence_t' was not declared in this scope
Marlin\src\HAL\shared\servo_private.h:97:21: note: suggested alternative: 'timer_resume'
extern void initISR(timer16_Sequence_t timer);
^~~~~~~~~~~~~~~~~~
timer_resume
Marlin\src\HAL\shared\servo_private.h:98:20: error: variable or field 'finISR' declared void
extern void finISR(timer16_Sequence_t timer);
^~~~~~~~~~~~~~~~~~
compilation terminated due to -fmax-errors=5.
for example:
#define Z_MIN_PROBE_PIN PB1
> bl touch confirmed working with PD7 for the signal wire and PG0 for the white "endstop" wire
I haven’t done this myself simply due to a lack of time at the moment - I don’t have time to walk you through the process, but maybe others can help.
and
in pins.JGAURORA_A5S_A1.h.
But when I try to run M280 P0 S10 I get the response
You don’t need to define servo pin twice.
Have you set :
- Z_MIN_PROBE_PIN
- NUM_SERVOS
- SERVO_ENDSTOP_ANGLES
- Z_ENDSTOP_SERVO_NR
Thank you. I know you said you don't have time to work on this right now so I really appreciate your help.
note: max endstops are incorrect, I still need to update those, should be
#define X_MAX_PIN PC5
Thank you for your response. I'll let you know how it goes.
What did you have #define SERVO_PIN set to?
Howdy, Stranger!
RegisterIt looks like you've been lurking for a while.
If you register, we will remember what you have read and notify you about new comments. You will also be able to participate in discussions.
So if you'd like to get involved, register for an account, it'll only take you a minute!