Motor Very Fidgety During Open Loop [VID INCLUDED]

@Parth_Raut

Great. At least you got it spinning.

Phase to phase they are centered, however, interphase they are not. Probably not a big deal as the voltage gets smoothed out by the inductance in the coils. Usually if they are generated by the same timer, they should be perfectly centered, but no big deal. As long as the motor runs smoothly you will be OK.

Correct, you probably saturated the PWM and it was just giving you all 0 or 1 for portions of the sine wave. As I said, Teensy may have some issues.

Good luck with the competition and please post some more videos and pictures of your experimental setup. There are many people here that would like to learn from your experience and know what the competition is about.

Cheers,
Valentine

Check this post it may help you.