Hi,
Sharing my build log in this thread if it helps others.
My goal is to eventually drive a lathe BLDC (1000w) because the current driver has no documentation and does not seem to regulate speed very well. The current driver uses built in Hall sensors, but the machine has a built in quadrature encoder for driving the leadscrew electronically.
Experimenting with a 1050kV BLDC motor to learn the basics. Have L298 drivers and several microcontroller boards lying around - using a UNO for now. Was able to get open loop working unreliably - jerky or no rotation. Using bench power supply limited to 1A with the hope of not burning the driver (which might be messing with the algorithm). Tested encoder standalone, and now it works in closed loop unreliably - does not start sometimes. Seems to run at a higher than set speed if I back drive by hand with a quick twist sometimes.
I could not get the setup to work with drv8871 boards, not sure why.
I suppose I need to set the limits right in software. Next step is to switch to a stm32f401 board, enable acs712 current sensors and drive with a larger drv8302 stage when it arrives.