A detection and alarm system based on MCU (STC89C58RD+) for underground comprehensive gallery cover. The system adopts nRF24L01 wireless communication and RS-485 communication, use theSmaster set up the authorization code, then send the authorization code to theSappoint slave, use remote controller to send accordingly authorization code to the appoint slave, the slave covers can be legally opened; if the slave cove be illegal opened, it will trigger theStravelSswitch, and produce an alarm signal and send it to the master, the master shows the number of illegal opened the slave cover, Then the staff could take appropriate measures. The test results show that the response speed of the system is fast, transmissionSdistance, transmission signal stabilization, simple operation and high safety performance.