Home alarm system based on Arduino Mega