bigtreetech / BIGTREETECH-S42B-V1.0

The closed-loop drive is to feedback the rotation angle of the stepping motor to the control panel, compare the distance that needs to be rotated with the distance of the actual rotation, calculate the error value, and then compensate, so as to prevent the problem of multi-step and lost step. The closed-loop drive can completely overcome the lost step of the open-loop stepping motor, and can also significantly improve the performance of the motor at high speed
109 stars 53 forks source link

Code example without Marlin? #48

Closed imperator-maximus closed 3 years ago

imperator-maximus commented 3 years ago

Hi, I ordered some S42B V1.1 and SKR V1.4/V1.4 Turbo board. I want to use these in a project which does not have any connection to a 3D printer or something similar.

As I see everything here is made so for 3D printer use with Marlin firmware. I already found examples about how to implement custom functions for custom G-Code commands in Marlin. But I am wondering how it would be possible to use that board + that closed loop S42B just in a plain example without Marlin overhead? In both scenarios (custom G-Code command) or plain code: how to use these motors (Wifi, display,...)?

Thank you!

imperator-maximus commented 3 years ago

In my opinion the interface has to be improved before which can be made via custom firmware. So with this it would be possible to access it via UART only and any board can be used. SKR V1.4/V1.4 is not very helpful here.