The attendance program sends a code to the Arduino that activates the motor in the picture. The motor then spins the spool and draws in the string attached to the door-handle. The handle is held for 7 seconds and then let go.