This article discusses about the development of a Mechanical jam protection motor device is measuring high flow value caused by the lock motor or motor jam. The detection of this type is the current value is compared in each period. values obtained will be same value, but when it happens the lock motor or motor jam. The value returned by the comparison of waves in each time period are not equal. During this period, the flow of unusually high. A Mechanical jam protection runs immediately when the wave time values in each interval not equal. Motor protection algorithm is simulated with Matlab / Simulink. Then the program was written and recorded in the board. STM32F4DISCOVERY To detect anomalies and signal Trip To prevent damage to the motor.