Alarm system based on FreeRTOS