grblHAL / STM32F1xx

grblHAL driver for ST STM32F1xx (Redpill, Bluepill)
Other
39 stars 27 forks source link

Motor Stepper buzzes using A4988 and drv 8825 #43

Closed adepacarmerah closed 12 months ago

adepacarmerah commented 1 year ago

I successfully installed GRBLHal on the BOB Mach3 board, but the Stepper Dynamo buzzes and vibrates a bit when using the A4988 driver and drv 8825, but it can run GCode perfectly, is there any solution to prevent the Stepper dynamo from vibrating and buzzing?

terjeio commented 12 months ago

Is the buzzing there when the motors are not moving and you disable motors off by setting $1=255? And doees it change a bit when adjusting the current? If so it could be normal for this kind of drivers.

adepacarmerah commented 12 months ago

yes it happens when the motor is idle, the default setting $S1=10 when I replace 255 there is no change, will this hum damage the motor? If it doesn't damage me, I'll just continue because I really like the GRBLHal on the Mach 3 board, Oh yes, I intend to build an STM 32 f4xx for 3 axes, do you think I should use a CNC 4060 or minimal Blackpill?

terjeio commented 12 months ago

$S1=10 when I replace 255 there is no change

That is odd. When set to 10 the motor drivers should be disabled. However, the driver enable signal is not available on a connector so the drivers are always on with this board... You write "hum" - is the noise low frequency or high frequency? The drivers you mentioned will, IIRC, sometimes generate a high frequency noise in the motors - more so if the current is set a bit too high. Anyhow, if the motors does not get too hot I guess it does not matter. If they do be sure to adjust the current to match the motors.

do you think I should use a CNC 4060 or minimal Blackpill?

Use the one that provides the inputs and outputs you need.

adepacarmerah commented 12 months ago

thx Terje, I appreciate your work, especially since the newest Sienci longboard will use GRBLHal