Electronic Door Lock keypad with Arduino

StealthRT:
Ok heres the stats on the power for the motor:

I hooked up my volt meter and this is what i am up with;

O O When locking

    • = +5v

O O When un-locking

    • = -5v

So it does look like it reverses the motor. However, i have yet to provide it +5 using both ways (+ - | - +) and seeing if the motor stops on its own or if the microchip stops it manually.

Thoughts before i do this? :slight_smile:

You might be able to tell from listening it the motor seems to bog down at the end of travel (mechanical stop) or not. You should also look for any mechanical (switch), optical, or possible magnetic sensors that would tell the microprocessor when to stop the motor. Look at the gears and shafts to see if they press anything or have holes or magnets that line up with anything.

What's that spring near the screw holding down the circuit board? Does that move when the motor stops? Could be a switch.

Look for traces from the main chip to the area of transistors near the motor connector. Typically there will be two traces to control the H-Bridge, enabling forward and backward control. Sometimes it's one trace for Direction and one for Enable but more often with products like this each trace will control one side of the H-bridge. If both sides connect the motor to +5 or Ground then no current flows. If one side is +5 and the other is Ground the motor will run.

Worst case is FOUR traces from the chip to the H-bridge. That means each quarter-bridge is controlled separately and it is possible to short-circuit by enabling both +5 and Ground on the same side. :frowning: