Great advances in the arduino code, the security system works but is not finished yet