Arduino based alarm system