You should see the voltage polarity toggle with each switch activation.
Testing door lock solenoid.
Once you are ready with the code and hardware you can start testing the solenoid door lock project.
Then use your test light or digital meter to check for power and ground at the connector when you operate the lock unlock switch.
If your solenoid is being used as part of a car it can still be tested with a multi meter but the continuity test can be done without it.
So to test it mount the perf board on the door frame and magnet on the door so that it can detect the door movement.
Circuit breaker box should be locked by personnel following this procedure.
Injury or death can result from electrocution if proper safety precautions are not observed.
Just a short video to show how you can test a door lock actuator using a car battery or a car jumper.
Here we have soldered all the components on the perf board so that it can be mounted on the door easily.
For the final solenoid test that would determine if your solenoid is damaged or not you would have to connect the red probe of your multimeter to the negative terminal of the solenoid and the black probe of the multimeter to the positive terminal.
The final solenoid test.
Ensure that all electrical power is shut off and disconnected before proceeding.
Door lock systems operate the actuator by toggling positive negative voltage to the actuator.