| "Maker" education is a new education mode first proposed abroad,which is the trend of future education reform and personnel training.In foreign countries,scratch programming is loved by the majority of students as an information technology course.At present,most of the tools on the market are visual and building block tools based on scratch secondary development,and most of them can only realize basic logic programming such as animation,story,mathematics,etc.,which can not support the follow-up teaching activities of electronic machinery courses.For example,Beidou is an important strategic emerging industry in the country.Many maker teaching aids do not support the operation of Beidou chips,and can not let Beidou project enter primary and secondary schools in the form of simple building blocks.Therefore,this paper designs a graphic programming platform based on scratch 3.0 and combined with electronic and intelligent sensor technology,which can not only realize the conventional logic programming,but also meet the learning of electronic and mechanical courses,and improve the students’ innovation and practice ability.The graphical programming platform uses the front-end and back-end separation technology to develop the front-end client and back-end server.The front-end GUI is developed with react technology stack.The user interface of the system is constructed with the characteristics of component encapsulation,state management and optimized virtual dom.Google’s blockly technology has the ability to quickly develop a visual programming interface.Developers can add a visual code editor on the web and mobile terminals.Then the code generator created by running blockly is parsed with virtual machine technology to create a highly dynamic interactive programming environment.Finally,with Node.js Build a complete visual programming user interface for the runtime environment.The back-end server is developed based on J2 EE spring boot framework to realize the business logic of member registration,user information management,community work sharing and so on.The interface is provided by restful API and Hibernate technology,and the data interaction between front-end and back-end database is completed by JSON data format.Community service supports the learning of hardware courses such as meteorological monitoring,Beidou Positioning and intelligent access control.It also supports the expansion of hardware sensors,so that users can use Arduino main control board to compile and upload the sensor code,and then get the sensor data,complete the learning of hardware courses,and realize the design and development of maker teaching aids. |