Multifunctional Arduino based alarm system