The invention discloses an intelligent crib based on the Internet of Things. The intelligent crib based on the Internet of Things sends various data to a mobile phone of a guardian through the network, and the guardian can know the condition of a baby by checking information in the mobile phone. The information comprises whether the baby kicks a quilt or wets a bed, whether the body temperature is too high or not is measured; whether the baby cries or not is detected, if the baby cries, the bed is automatically shaken, sleep aiding music is played, and if the baby cries ceaselessly, messages are sent to the guardian to tell the guardian to nurse the baby. The crib further has the functions of heating milk, remotely controlling music playing, preventing thefts, achieving camera shooting and the like. In order to improve the stability of the system, modular design is overall designed in the system, HT32F1656 is adopted as a master control center, a magnetic sensor module, a constant-temperature milk heating module, an infrared temperature sensor, a humidity sensor, a sound intensity sensor, a first pressure sensor, an image collecting module and a WIFI module are controlled and monitored, and the guardian can check the condition of the baby anytime and anywhere.