Amana Dryer Drum Spinning Problem

The dryer spins in all cycles but it only spins for about 15-20 seconds and then shuts off. The heating element is working when it is on a heating cycle. It doesn’t appear to be binding. I can manually turn it.

Is there a motor sensor that can shut off the system?