You can easily convert your ordinary docking station into a smart electronic laptop docking station with antitheft alarm.
The add-on sensor circuit required for this is built around IC CNY70 (IC1) and IC CD4060 (IC2). IC CNY70 is an integrated reflectivetype opto-sensor that contains a phototransistor and an infrared LED. The LED emits infrared light and the transistor
works as a receiver. The current flowing through the phototransistor depends on the intensity of the light detected.

IC CD4060 is a 14-stage ripple-carry binary counter. The counter is reset to zero by a gating positive voltage at the reset input independent of clock. Power supply to the circuit is derived from AC mains by using stepdown transformer X1. The transformer
output is rectified by a full-wave bridge rectifier comprising diodes D1 through D4 and smoothed by capacitor C1.

The complete project file is attached for download...