GuanyiLi-Craig / node-red-contrib-i2c-motorhat

Node-red nodes communicate with the Raspberry Pi I2C Motor Hat
MIT License
1 stars 2 forks source link

Stepper Motor Speed #5

Open sjamesparsonsjr opened 2 years ago

sjamesparsonsjr commented 2 years ago

Thanks for the i2c node-red palette. I've set up a Nema17 stepper and it rotates, there seems to be an issue. The stepper is moving but I'm getting a horrible sound and its very slow. I think the issue might be with the speed or style. I've tried all combinations for styles {1 through 4} and speeds ranging from 100 to 10,000, and I've tried multiple Nema 17 steppers with the same issue.

Any thoughts or suggestions?

Keep up the good work.

GuanyiLi-Craig commented 2 years ago

I did the same testing for nema17, I think the issue would be the power supply. I also tested the official python code, it performs the same. I agree there are lots of issues with the stepper motor, I will update the stepper motor if I got time.

sjamesparsonsjr commented 2 years ago

You were correct it was a power mismatch, I was drawing too much!