The invention discloses an entrance guard alarm device based on smart home. The entrance guard alarm device comprises a single-chip microcomputer, a matrix keyboard control module, an infrared alarm control circuit, an LCD liquid crystal display module, a keyboard locking module, a delayed alarm control circuit, a radio frequency recognizing module, a voice warning module, a passive infrared detector, a wireless transmission module and a remote terminal. The matrix keyboard control module is connected with a matrix keyboard installed on an antitheft door and used for inputting a password and driving a door magnetic valve on the antitheft door to open the door when the password is correctly input. When the password is input incorrectly three times or more, the single-chip microcomputer calls the keyboard locking module and locks the matrix keyboard. The entrance guard alarm device has the advantages that on the basis of hardware design of the single-chip microcomputer, the single-chip microcomputer serves as the core for the control circuit, other parts are controlled by the single-chip microcomputer to complete corresponding functions, the password input on the matrix keyboard is scanned by the single-chip microcomputer, and an electronic lock is driven to be opened when the password is correct.