| Software engineering and artificial intelligence majors offer basic courses of computer hardware,covering analog circuits,digital circuits,microcomputer principles and assembly language,etc.And a matching experimental suite is required.For several universities,the original laboratory to complete this kind of experiment has numerous inconvenience.Based on the general embedded computer GEC,this paper designs a hardware measurement system with a price of about 100 yuan,convenient to carry,simple to operate and open source software,and provides a new model for the basic experiments of computer hardware.The main research contents are as follows:(1)Proposed the design scheme of basic computer hardware experiment suite based on the RISC-V architecture CH32V307 microcontroller produced by Nanjing Qinheng Microelectronics in 2021.This scheme directly uses embedded software to realize power output,level control and voltage sampling,and completes the component-based design of portable and reusable measuring hardware and software based on general embedded computer GEC.Based on MCU software,the measuring terminal directly realizes power output,signal sampling and communication with PC terminal through DAC,GPIO,ADC,UART and other modules inside the chip,providing a technical basis for basic experiments of analog circuits and digital circuits.(2)Proposed the design scheme of PC software of computer hardware basic experiment suite.The PC communicates through TTL-USB serial port and connects to the measuring terminal based on standard Type-C line.The PC software realizes user interaction such as drop-down selection,buttons and sliders,as well as functions such as data sheets,dashboards and curves.This scheme provides convenient operation and visualization function for the basic experiment of analog circuit and digital circuit,replacing the hardware such as button,dial and LCD screen on the traditional instrument,significantly decreasing the hardware expenditure,and the interactive form is more rich and intuitive.(3)Proposed the visual programming extension scheme of hardware measurement system in soft and hard cooperative mode.In order to expand the application range of the system,the system provides the source code of the PC and the measurement terminal for secondary programming.For some users,it is difficult to modify the source code of the system directly.In order to reduce this difficulty,this paper designs a visual programming tool to visualize the hardware configuration,PC and measurement programming of the whole system.The system has been applied to the experimental teaching of computer hardware basic courses of software engineering major and artificial intelligence major in Soochow University.After two rounds of modification and improvement,the system has obtained good teaching practical effect.It is a new type of computer hardware basic experiment kit with low price,easy to carry and simple operation.It can also be used in the experimental teaching of the principle of analog and computer. |