I have 12VDC worm gear motor that i was setting up for a project. I have it connected to a store bought H-Bridge module and that is hooked up to a 12VDC power supply. I was working coding up a GUI for the setup and was testing out a slider widget. I have it so that the max value of the slider was 100% duty for the PWM modulation.
So I am messing with the controls, starting stopping and everything seems fine. All these test were conducted at no load. I made another change in my SW and suddenly it does not work. The change to the SW consisted of adding a stop button that overrides the slider value and sets the duty cycle to zero. Adding a manual stop that should cause the motor to cease functioning.
Troubleshooting Test HBridge: I bought two of the same motor and attached it breifly and the shaft spins (so circuit is functional)
Test Motor: I disconnected the motor from the setup entirely (not touching h bridge or SW) and wired directly to the PSU. The motor will not spin and it will not draw any current.(motor appears to be borked)
Test PSU: I had a duplicate motor and it spins (PSU is fine)
I was trying to save a few dollars going with the cheap imports but I did not expect failures right out the box.
Any one know what is going here
I am confused on what failed and how to avoid going forward.