Remora - Rpi Software Stepping Using External Microcontroller via SPI

More
5 years 1 month ago #221061 by Bari
How to hook up encoders to a SKR V2?

Please Log in or Create an account to join the conversation.

More
5 years 1 month ago #221066 by scotta

So all other things are working? Encoders and pwm gens?
Hi Aaron, only software PWM at the moment. I need to look into the hardware PWM side of the STM32 to port that over. Also how to use the encoder features of the STM32 timers. Looking forward to being able to have more than one hardware encoder module.

Please Log in or Create an account to join the conversation.

More
5 years 1 month ago #221154 by scotta
It looks like we have only one hardware encoder open for use on the SKR2 board. Pins PE9 and PE11 on the EXP1 header can be used with Timer 1 in encoder mode.

There are also encoder capable pins assigned to E0 and E1 drivers. If one of these is not being used then it would open up another one or two. The E0-CLS and E1-CLS headers could be used.

At lease one readily available encoder interface is better than nothing..

Please Log in or Create an account to join the conversation.

More
5 years 1 month ago #221159 by Bari
One encoder is enough to enable rigid tapping with an encoder on the spindle. So one could have 3-4 axis for stepping on a mill and rigid tapping using the SKR2. Already beats mach3.

Please Log in or Create an account to join the conversation.

More
5 years 1 month ago #221165 by Aaroncnc
i would be interested even in low speed ones for hand wheel encoders for manual operation.

Please Log in or Create an account to join the conversation.

More
5 years 1 month ago #221169 by Bari
Hand wheels/MPG may be read using any leftover GPIO. The STM32's have hardware cou8nters for high speed quadrature encoders.

Please Log in or Create an account to join the conversation.

Time to create page: 0.554 seconds
Powered by Kunena Forum