bigtreetech / BIGTREETECH-GTR-V1.0

BIGTREETECH GTR V1.0 motherboard is a high-performance 3D printer main control board with the core controller STM32F407IGT6, which was launched by the 3D printing team of ShenZhen BigTree Technology CO.,LTD ., aiming at solving some problems existing in the motherboard market. The BIGTREETECH GTR V1.0 is the motherboard, and the BIGTREETECH M5 V1.0 is the expansion board.
90 stars 55 forks source link

Multiple Servos #24

Open everything-tech-related opened 4 years ago

everything-tech-related commented 4 years ago

Nothing happens whenever i use Zmax or M5 Stop pins as servos. Only Bltouch works. But i need at least bltouch and another servo working.

I redefined pins and change num_servo to 2. no luck

geozoc commented 3 years ago

Same problem here, I also need a second servo PIN. Which one to use?

matterhacker commented 3 years ago

Trying to add another servo too, single servo works but only on PB11. Servo connected to other pins don't work when M280 command is used. Have tried with V2.0.x and V2.0.6.1 without success. Am I missing some defines somewhere? Configuration.h

#define NUM_SERVOS 2 // Servo index starts with 0 for M280 command

#define SERVO_DELAY { 300,300 }

Marlin\src\pins\stm32f4\pins_BTT_GTR_V1_0.h

#if ENABLED(TP)
  #define SERVO0_PIN                        PB11  // original
  #define SERVO1_PIN                        PI7   // doesn't work with M280 P1 S128
#endif
goldensgui commented 3 years ago

Trying to add another servo too, single servo works but only on PB11. Servo connected to other pins don't work when M280 command is used. Have tried with V2.0.x and V2.0.6.1 without success. Am I missing some defines somewhere? Configuration.h

#define NUM_SERVOS 2 // Servo index starts with 0 for M280 command

#define SERVO_DELAY { 300,300 }

Marlin\src\pins\stm32f4\pins_BTT_GTR_V1_0.h

#if ENABLED(TP)
  #define SERVO0_PIN                        PB11  // original
  #define SERVO1_PIN                        PI7   // doesn't work with M280 P1 S128
#endif

Hello guys,

I've just tried with PH13 pins from the CAN Extension-0 (as I intend to use the M5 board, I did'nt want to use its dedicated pins) and it works without problem.

matterhacker commented 3 years ago

Thanks @goldensgui I tried it out and can get PH13 going too !