design and construction of a door alarm system