With the continuous development of agriculture,the shortage of talents in the smart agriculture industry is severe,and there are few technical talents,which makes it difficult to promote and encounter bottlenecks in development. This paper uses the form of virtual simulation to simulate the operation of smart agriculture in practice,and combines the application of smart agri-culture practical kit to train students in technology,use specific cases in life,strengthen students' use of specific agricultural sen-sors,as well as data collection,analysis and decision-making skills,and break the barriers of talent shortage. Through the study of this course,students have greatly improved in the application of agricultural sensors and data analysis.