This is arduino code of smart door and windows.