Based on STM32F103C8T6 host control chip, this paper completes the design and development of an intelligent home security system combined with various hardware modules, cloud server and android app.The system integrates OLED display screen, buzzer, human infrared, Wifi and other modules.The serial port is connected with ZigBee coordinator.The terminal equipment with temperature, humidity and smoke sensors is adopted to monitor the environment, and the relays and stepping motors are designed to control the equipment at home by simulation.The access control system takes STC89C52 as the core, and integrates the functions of photographing module and steering gear simulation door opening.Android app uses socket technology to complete remote data communication through Alibaba cloud server and indoor security system.After testing, the system runs stably and has good performance.