A motion sensor is a sensor device. It is used for studying motions. It is connected to a . The data-logger is connected to a computer. The computer runs a data-logging program. The computer is connected to power, and a security system. Motion sensors have many uses including security.