CN108268732B - A method of based on Keil software simulation system and its artificial circuit plate - Google Patents

A method of based on Keil software simulation system and its artificial circuit plate Download PDF

Info

Publication number
CN108268732B
CN108268732B CN201810073160.7A CN201810073160A CN108268732B CN 108268732 B CN108268732 B CN 108268732B CN 201810073160 A CN201810073160 A CN 201810073160A CN 108268732 B CN108268732 B CN 108268732B
Authority
CN
China
Prior art keywords
keil
software
circuit
component
menu
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810073160.7A
Other languages
Chinese (zh)
Other versions
CN108268732A (en
Inventor
李永成
顾亚文
李孟宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jinken College Of Technology
Original Assignee
Jinken College Of Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jinken College Of Technology filed Critical Jinken College Of Technology
Priority to CN201810073160.7A priority Critical patent/CN108268732B/en
Publication of CN108268732A publication Critical patent/CN108268732A/en
Application granted granted Critical
Publication of CN108268732B publication Critical patent/CN108268732B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/30Circuit design
    • G06F30/34Circuit design for reconfigurable circuits, e.g. field programmable gate arrays [FPGA] or programmable logic devices [PLD]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Stored Programmes (AREA)

Abstract

The present invention provides a kind of method based on Keil software simulation system and its artificial circuit plate, and the Keil software simulation system that is based on includes experiment simulation board package and Keil three-dimensional artificial software;The method of the emulation flexible circuit is the following steps are included: step (1): the installation of software: step (2): the use of experiment simulation board package;Step (3): the use of Keil three-dimensional artificial software.Simulated effect is unrelated with programming language, only related with circuit.

Description

A method of based on Keil software simulation system and its artificial circuit plate
Technical field
The invention belongs to the technical fields of circuit simulation, are specifically related to a kind of based on Keil software simulation system and its imitative The method of true circuit board.
Background technique
Keil is the compatible single-chip microcontroller software development system of 51 series that Keil Software company, the U.S. produces, and is provided Complete development plan including C compiler, Macro assembler, linker, depositary management reason, passes through an Integrated Development Environment (μ Vision) these parts are combined, Keil has opened software emulation interface AGSI, can develop single-chip microcontroller using AGSI Peripherals simulation device, and be integrated into keil, the present invention is based on the exploitations of AGSI interface function.
Summary of the invention
In order to solve the above technical problems, the present invention provides one kind to be based on Keil software simulation system and its artificial circuit plate Method.
The present invention specifically uses following technical scheme: a kind of side based on Keil software simulation system and its artificial circuit plate Method, the Keil software simulation system that is based on includes experiment simulation board package and Keil three-dimensional artificial software;
The method of the artificial circuit plate the following steps are included:
Step (1): the installation of software:
Step (2): the use of experiment simulation board package;
Step (3): the use of Keil three-dimensional artificial software.
Further, the step (2) specifically includes the following steps:
Step (a): writing at Keil, compile SCM program, runs SCM program after compiling successfully;
Step (b): the experiment emulation board in one column of external equipment of selection Keil menu, pop-up experiment emulation board dialogue Frame;The experiment emulation board dialog box includes following menu: equipment, input, output, SFR, 3D and figure;
Step (c): click figure menu pops up its submenu, and preceding 6 submenus of popup menu can show complete electricity Road and real-time display output state, selection exit circuit and show that submenu will show output equipment real-time status with compact form;
Step (d): the wiring diagram in figure menu submenu is clicked, shows the circuit diagram of current setting;Select sample code Submenu will pop up sample code text, and duplication text is pasted onto the edit box of Keil, compilation run
Step (e): the Run button or single step run button of Keil software are clicked, so that it may observe on experiment emulation board The output state of equipment.
Further, the step (3) specifically includes the following steps:
Step 1: opening Keil three-dimensional artificial software, jumps out the button on selection menu bar or click tools column;The selection Menu bar includes following menu: file, universal plate place component, place input and output device and Industry Control;
Step 2: the placement of universal plate: clicking universal plate, and cursor is moved to main window, will occur one piece with mouse movement Universal plate, press left mouse button in suitable position, universal plate will stay in window, can pass through the movable button tune of toolbar The position of whole circuit board, it is also possible to which keyboard operation adjusts position and rotation angle;
Step 3: the placement of component component and position adjust: after placing universal plate, clicking and place component and placement Input and output device menu chooses the component component needed, clicks left mouse button in the suitable placement of universal plate and places first device Part adjusts component locations by directionkeys, and after the placement of next component, which cannot adjust again, adjust Whole position must delete and reload;
Step 4: the deletion of component component: mouse moves on at the top of component or the endpoint of line, right mouse button are clicked Delete component;
Step 5: the line of component component: (1) line drawing: the single left button mouse click on universal plate will exist automatically The starting point of line is connected on the jack of mouse, single left button mouse click completes a conducting wire again on suitable position Connection;(2) the broken line technique of painting: behind connecting wire starting point, pinning shift key, unclamps shift key in suitable position, continues to move Dynamic mouse completes the connection of wire end, and for broken line turning point just in the place that Shift unclamps, each wire can only have a turnover Point;(3) back side line technique of painting: pinning Ctrl when line, conducting wire will appear in the back side of universal plate, in front it can be seen that leading Multimeter can also be rotated to reverse side, operated on reverse side by the linkage section of line;
Step 6: circuit builds inspection: after circuit is built, when simulation run, will be automaticly inspected;" RUN " menu is selected, this When in spite of Keil software has been run, system can all check whether single-chip minimum system connects correctly, if incorrect, will Prompted dialog frame is popped up, prompts which node not connect, will not conduct a survey to the connection of input and output component, user can To be judged according to simulation result;
Step 7: network table look-up: it is connected to the network table look-up using the display in toolbar, finds the section of connection error Point;
Step 8: after circuit connection is good, single-chip microcontroller journey simulation run: is write according to circuit connection situation in Keil software Sequence, simulation process are as follows:
(1) Keil three-dimensional artificial software is minimized, Keil software is switched to;
(2) it edits, compile in Keil software, operation SCM program;
(3) it is switched to Keil three-dimensional artificial software, the " RUN " button on click tools column observes operation result.Due to Keil three-dimensional artificial software is to be in highest Window state always, can to show Keil window and three-dimensional artificial window simultaneously To click the stop push-button of Keil three-dimensional artificial software, single step is executed in keil software, and observation executes the output of every instruction Response results.
Further, the equipment in the step (b) includes following submenu: common-anode 8*1LED, common cathode 8*1LED, Common-anode 8*4LED, common cathode 8*4LED, common-anode charactron * 1, common cathode charactron * 1, common-anode charactron * 2, common cathode Charactron * 2, scanning display * 4, common anode coding display * 1, common anode coding display * 2 and serial ports application;
Input in the step (b) includes following submenu: P3 mouthfuls input, P2 mouthful input, P1 mouthfuls input, P0 mouthfuls it is defeated Enter, 4*4 keyboard and removal input;
Output in the step (b) includes following submenu: P0 mouthfuls of outputs, P1 mouthfuls of outputs, P2 mouthfuls of outputs and P3 mouthfuls are defeated Out;
Figure menu in the step (b) further includes following submenu: circuit is shown, wiring diagram and usual instructions are checked.
Further, the universal plate menu in the step 1 is for protracting circuit;
The placement component menu is for being selection component in protracting circuit, and the type of the component includes electricity Solve capacitor, resistance, ceramic condenser, diode, triode, crystal oscillator and single-chip microcontroller;
The placement input and output device is for selector in protracting circuit, and the type of the device includes: number Pipe, red light emitting diodes, green LED, button, toggle switch, loudspeaker, color light control expansion board, terminals Son, integrated circuit, LED dot matrix and LED color switching.
Further, the SCM program of writing in the step 8 is that assembler language or C language are write.
Further, the Keil3DS is the simulation software that the interface function provided using keil is write.
Beneficial effects of the present invention:
Simulated effect is unrelated with programming language, only related with circuit.
1, experiment emulation board:
(1) simulation hardware plate is replaced, Debugging Program for Single-chip Computer is quickly and easily completed;
(2) external equipment can be switched during simulation run;
(3) it can check sample code corresponding with external equipment, facilitate study;
(4) can real-time display register each bit location numerical value, be convenient for program debugging.
2, Keil three-dimensional artificial software:
(1) emulation wiring practice can individually be carried out;
(2) can there are the prompt of basic connection error, side in operation by network table look-up circuit connecting relation
Just the mistake being likely to occur in connection is checked;
(3) there is a complete Industry Control three-dimensional artificial scene, learn Synthesis Programming for user;
(4) by " Industry Control (hardware) " function, a hardware circuit control panel can be made, string is passed through
Mouth or USB are connect with computer, observe the operating condition of large scale equipment.
Detailed description of the invention
Fig. 1 is experiment emulation board the dialog box menu structure chart of the present invention;
Fig. 2 is the value that SFR register is shown in the present invention;
Fig. 3 is " figure " submenu and classification in the present invention;
Fig. 4 a is to show complete circuit diagram in the present invention;
Fig. 4 b exits circuit for present invention selection and shows that submenu will be with compact form display figure;
Fig. 5 is the sectional view that circuit of the present invention builds inspection;
Fig. 6 is net list of the invention;
Fig. 7 is the pipeline simulation explanation of the embodiment of the present invention 1;
Fig. 8 is the Industry Control simulating schematic diagram and explanation of the embodiment of the present invention 1;
Fig. 9 is the color light control expansion board and control circuit schematic diagram of the embodiment of the present invention 2;
Figure 10 is the LED dot array module circuit diagram of inventive embodiments 3.
Specific embodiment
Explanation and embodiment are further described the present invention with reference to the accompanying drawing.
Embodiment 1
A method of it is described to be based on Keil software simulation system based on Keil software simulation system and its artificial circuit plate Including experiment simulation board package and Keil three-dimensional artificial software;
The method of the artificial circuit plate the following steps are included:
Step (1): the installation of software:
Step (2): the use of experiment simulation board package, specifically includes the following steps:
Step (a): writing at Keil, compile SCM program, runs SCM program after compiling successfully;
Step (b): the experiment emulation board in one column of external equipment of selection Keil menu, pop-up experiment emulation board dialogue Frame;The experiment emulation board dialog box includes following menu: equipment, input, output, SFR, 3D and figure, as shown in Figure 1;Wherein Equipment includes following submenu: common-anode 8*1LED, common cathode 8*1LED, common-anode 8*4LED, common cathode 8*4LED, common-anode Charactron * 1, common cathode charactron * 1, common-anode charactron * 2, common cathode charactron * 2, scanning display * 4, common anode decoding are aobvious Show * 1, common anode coding display * 2 and serial ports application;It is described input include following submenu: P3 mouthful input, P2 mouthfuls input, P1 mouthfuls it is defeated Enter, P0 mouthfuls input, 4*4 keyboard and remove input;It is described output include following submenu: P0 mouthful output, P1 mouthfuls export, P2 mouthfuls it is defeated It is exported out with P3 mouthfuls;As shown in figure 3, the figure further includes following submenu: circuit is shown, wiring diagram and usual instructions are checked Submenu.
Input equipment is removed, right mouse button can be clicked at input equipment, selection " the removing input " in popup menu.
Points for attention:
When programming, delay Key dithering code will be added in button input code, be otherwise easy to appear illegal operation.
" output " menu: selection output equipment connector: P0~P3.
" SFR " menu, as shown in Figure 2: the value of display SFR register.SFR deposit will be cancelled by again tapping on " SFR " menu The display of device value.
Step (c): click figure menu pops up its submenu, and preceding 6 submenus of popup menu can show complete electricity Road and real-time display output state, selection exit circuit and show that submenu will show output equipment real-time status with compact form, As shown in Figs. 4a and 4b;
Step (d): the wiring diagram in figure menu submenu is clicked, shows the circuit diagram of current setting;Select sample code Submenu will pop up sample code text, and duplication text is pasted onto the edit box of Keil, compilation run
Step (e): the Run button or single step run button of Keil software are clicked, so that it may observe on experiment emulation board The output state of equipment.
Step (3): the use of Keil three-dimensional artificial software, specifically includes the following steps:
Step 1: opening Keil three-dimensional artificial software, jumps out the button on selection menu bar or click tools column;The selection Menu bar includes following menu: file, universal plate place component, place input and output device and Industry Control;It is described omnipotent Plate menu is for protracting circuit;The placement component menu is the member device for being selection component in protracting circuit The type of part includes electrolytic capacitor, resistance, ceramic condenser, diode, triode, crystal oscillator and single-chip microcontroller;The placement input is defeated Device is for selector in protracting circuit out, and the type of the device includes: charactron, red light emitting diodes, green Light emitting diode, button, toggle switch, loudspeaker, color light control expansion board, connecting terminal, integrated circuit, LED dot matrix and hair The switching of optical diode color.
The Industry Control menu includes two submenus: " delivery vehicle (software) " and " delivery vehicle (hardware) "." delivery vehicle (software) " is pure software emulation." delivery vehicle (hardware) " needs to make single chip machine controlling circuit plate;Circuit board passes through serial ports and electricity Brain connection.
The toolbar includes " opening file ": opening three-dimensional artificial file that a system carries or designed, designed; " display connection net list ": Network table is opened, file is shown in the dialog box of pop-up, network tableau format are as follows: each Row shows the component's feet title of the same node connection, by checking that net list can check the connection of component, It is helpful to the inspection of connection error;" quick positive anti-switching ": can be quick when carrying out rotary turning operation to circuit board Ground is reduced into the front or back of standard;" translucent display ": can make universal plate be in translucent, facilitate the observation back side Connection;" component rotation ": carrying out 90 ° of rotation process to component, this operation is primarily directed to diode and electricity Hinder the operation of component;" loading universal plate ": function is the same as " universal plate " menu." simulation run ": emulation button, when Keil software When operation, component is exported by simultaneous display operating status.
Step 2: the placement of universal plate: clicking universal plate, and cursor is moved to main window, will occur one piece with mouse movement Universal plate, press left mouse button in suitable position, universal plate will stay in window, can pass through the movable button tune of toolbar The position of whole circuit board, it is also possible to which keyboard operation adjusts position and rotation angle;
Step 3: the placement of component component and position adjust: after placing universal plate, clicking and place component and placement Input and output device menu chooses the component component needed, clicks left mouse button in the suitable placement of universal plate and places first device Part adjusts component locations by directionkeys, and after the placement of next component, which cannot adjust again, adjust Whole position must delete and reload;
Step 4: the deletion of component component: mouse moves on at the top of component or the endpoint of line, right mouse button are clicked Delete component;
Step 5: the line of component component: (1) line drawing: the single left button mouse click on universal plate will exist automatically The starting point of line is connected on the jack of mouse, single left button mouse click completes a conducting wire again on suitable position Connection;(2) the broken line technique of painting: behind connecting wire starting point, pinning shift key, unclamps shift key in suitable position, continues to move Dynamic mouse completes the connection of wire end, and for broken line turning point just in the place that Shift unclamps, each wire can only have a turnover Point;(3) back side line technique of painting: pinning Ctrl when line, conducting wire will appear in the back side of universal plate, in front it can be seen that leading Multimeter can also be rotated to reverse side, operated on reverse side by the linkage section of line;
Step 6: circuit builds inspection: after circuit is built, when simulation run, will be automaticly inspected;" RUN " menu is selected, this When in spite of Keil software has been run, system can all check whether single-chip minimum system connects correctly, if incorrect, will Prompted dialog frame is popped up, prompts which node not connect, will not conduct a survey to the connection of input and output component, user can To be judged according to simulation result, as shown in Figure 5;
Step 7: network table look-up: it is connected to the network table look-up using the display in toolbar, finds the section of connection error The cathode of point, power supply is in Section 4 point, without being connected with 20 feet (M20) of single-chip microcontroller, by 20 feet and power supply negative terminal of single-chip microcontroller Net list after being connected is as shown in Figure 6;
Step 8: after circuit connection is good, single-chip microcontroller journey simulation run: is write according to circuit connection situation in Keil software Sequence, simulation process are as follows:
(1) Keil three-dimensional artificial software is minimized, Keil software is switched to, Keil3DS is the interface provided using keil The simulation software that function is write, the file after installation are exactly " Keil3DS.exe;
(2) it edits, compile in Keil software, operation SCM program;
(3) it is switched to Keil three-dimensional artificial software, the " RUN " button on click tools column observes operation result.Due to Keil three-dimensional artificial software is to be in highest Window state always, can to show Keil window and three-dimensional artificial window simultaneously To click the stop push-button of Keil three-dimensional artificial software, single step is executed in keil software, and observation executes the output of every instruction Response results.
Points for attention: (1) colour circle of chromatic circle resistance is not offered as actual resistance value and tolerance, only as resistance 3-D graphic.(2) light emitting diode, electrolytic capacitor divide positive and negative anodes, if light emitting diode does not work, whether please check positive and negative anodes Connection is correct.(3) reset button does not play reset response, if but do not connect, it will be prompted to circuit connection mistake.
SCM program of writing in the step 8 is that assembler language or C language are write.
The brief introduction keyboard operation of keyboard operation is that translation or rotation process are carried out to three-dimensional circuit board, convenient for users to seeing It examines.
W key: 3D figure furthers;
S key: 3D figure zooms out;
A key: 3D figure moves to left;
D key: 3D figure moves to right;
Insert, Delete, Home, End, Page Up, Page down key: the rotation of 3D figure.
The industrial control analog automatic charge and feeding process of production line, the start and stop of motor are by a relay control System, this is not to be able to satisfy actual power to require, but this does not interfere the programming of single-chip microcomputer control program to practice in actual production.
Conveyer belt transmission assembly case appearances be spaced be it is random, charge time need set in SCM program.
The sample code and detailed description for checking Industry Control ask " code " and " figure " two buttons on select tools column.
It selects " Industry Control Cai Dan delivery vehicle (software) ", opens transmission workshop 3D Simulation Interface, the light flashed in interface Column is laser beam, and laser beam is irradiated to reception electronic device, and electronic device exports 0 or 1 according to whether assembly case blocks light beam Signal, this signal can be used as the input signal of single-chip microcontroller, be controlled by SCM program equipment.
One typical single-chip microcomputer control program, control process are as follows: when simulation run, seven segment digital tubes are in the form of countdown Display delayed starts the time, and the time one arrives, and motor-driven conveyer belt starts to transport assembly case, and assembly case passes through at laser beam, After reception device receives a broad pulse, motor stops, and hopper starts to charge, and after reaching given time, motor is transported again Row, seven segment digital tubes show the assembly box number to have charged.
Automatically deliver control principle to illustrate: the level height of P3.2 is controlled by the optical signal that phototriode Q2 is received. When receiving optical signal, P3.2 is low level, and after blocking light source by turnover box, P3.2 is high level.When P3.2 receives one It after a broad pulse, that is, can determine whether that turnover box reaches below hopper, by program, so that P3.1 is exported low level, to open simulation Switch, makes motor brake, hopper blanking.By the program setting blanking time, after the blanking time arrives, the high electricity of program P3.1 output Flat, motor stops braking.Motor start-up when P3.0 is low level, as shown in Figure 7.
Embodiment 2
Color light control expansion board is to be controlled by relay the light on and off of color lamp.Circuit diagram such as Fig. 8.
Expansion board is connect by connecting terminal with single chip machine controlling circuit, and example gives using example.
(1) example connecting terminal .lic is opened, places single chip circuit in the window;
(2) in " input and output device " floating panel, color lamp expansion board button is clicked, places expansion board;
(3) " code " button on click tools column, replicates the code of open dialog box;
(4) code is pasted in Keil software;
(5) it compiles and runs.
Embodiment 3
As shown in figure 9, software provides 8 × 8 and 16 × 16 two common anode lattice modules.Software default lattice module is not required to Connection need to only be placed on universal plate, but must carry out circuit and connect substantially, and circuit connects substantially to be referred to containing reset The minimum system of circuit and clock circuit.For example file under " Keil Examples " catalogue, file is " 16 square lattices .lic".After opening example file, then " code " button on click tools column, replicating code are pasted onto the edit box of Keil, are compiled After translating code and running, so that it may see simulation result in three-dimensional artificial software, click the toolbar of three-dimensional artificial software " figure " button will pop up circuit connection diagram, can refer to this connection figure and carry out circuit connection.
Sample code is static status display one middle text " scape ", such as Figure 10.

Claims (6)

1. a kind of method based on Keil software simulation system and its artificial circuit plate, which is characterized in that described to be based on Keil Software simulation system includes experiment simulation board package and Keil three-dimensional artificial software;The method of the artificial circuit plate include with Lower step:
Step (1): the installation of software:
Step (2): the use of experiment simulation board package;
Step (3): the use of Keil three-dimensional artificial software;
The step (2) specifically includes the following steps:
Step (a): writing at Keil, compile SCM program, runs SCM program after compiling successfully;
Step (b): the experiment emulation board in one column of external equipment of selection Keil menu pops up experiment emulation board dialog box; The experiment emulation board dialog box includes following menu: equipment, input, output, SFR, 3D and figure;
Step (c): click figure menu pops up its submenu, and preceding 6 submenus of popup menu can show complete circuit And real-time display output state, selection exit circuit and show that submenu will show output equipment real-time status with compact form;
Step (d): the wiring diagram in figure menu submenu is clicked, shows the circuit diagram of current setting;Select the sub- dish of sample code Single to pop up sample code text, duplication text is pasted onto the edit box of Keil, compilation run;
Step (e): the Run button or single step run button of Keil software are clicked, so that it may observe on experiment emulation board The output state of equipment.
2. a kind of method based on Keil software simulation system and its artificial circuit plate according to claim 1, Be characterized in that, the step (3) specifically includes the following steps:
Step 1: opening Keil three-dimensional artificial software, jumps out the button on selection menu bar or click tools column;The selection dish Single column includes following menu: file, universal plate place component, place input and output device and Industry Control;
Step 2: the placement of universal plate: clicking universal plate, and cursor is moved to main window, will occur one piece with the ten thousand of mouse movement Energy plate, presses left mouse button in suitable position, and universal plate will stay in window, can pass through the movable button of toolbar and adjust electricity The position of road plate, it is also possible to which keyboard operation adjusts position and rotation angle;
Step 3: the placement of component and position adjust: after placing universal plate, clicking placement component and place input and output device Part menu chooses the component needed, clicks left mouse button in the suitable placement of universal plate and places component, adjusts by directionkeys Component locations, after the placement of next component, which cannot adjust again, and to adjust position must delete simultaneously It reloads;
Step 4: the deletion of component: mouse moves on at the top of component or the endpoint of line, and right mouse button clicks the first device of deletion Part;
Step 5: the line of component: (1) line drawing: the single left button mouse click on universal plate, it will be automatically near mouse Jack on connect line starting point, on suitable position again single left button mouse click complete a conducting wire connection;(2) it rolls over Line drawing method: behind connecting wire starting point, pinning Shift key, unclamps Shift key in suitable position, continues to move to mouse The connection of wire end is completed, for broken line turning point just in the place that Shift unclamps, each wire there can only be a turning point; (3) back side line technique of painting: pinning Ctrl key when line, conducting wire will appear in the back side of universal plate, in front it can be seen that leading Multimeter can also be rotated to reverse side, operated on reverse side by the linkage section of line;
Step 6: circuit builds inspection: after circuit is built, when simulation run, will be automaticly inspected;" RUN " menu is selected, at this time not Whether pipe has run Keil software, and system can all check whether single-chip minimum system connects correctly, if incorrect, by bullet Which node prompted dialog frame out prompts do not connect, and will not conduct a survey to the connection of input and output component, and user can be with Judged according to simulation result;
Step 7: network table look-up: it is connected to the network table look-up using the display in toolbar, finds the node of connection error;
Step 8: after circuit connection is good, single-chip microcontroller journey simulation run: is write according to circuit connection situation in Keil software Sequence, simulation process are as follows:
(1) Keil three-dimensional artificial software is minimized, Keil software is switched to;
(2) it edits, compile in Keil software, operation SCM program;
(3) it is switched to Keil three-dimensional artificial software, the " RUN " button on click tools column observes operation result;Due to Keil three-dimensional artificial software is to be in highest Window state always, to show Keil window and three-dimensional artificial window simultaneously, The stop push-button that Keil three-dimensional artificial software can be clicked, single step executes in keil software, and observation executes every instruction Output response result.
3. a kind of method based on Keil software simulation system and its artificial circuit plate according to claim 1, It is characterized in that, the equipment in the step (b) includes following submenu: common-anode 8*1LED, common cathode 8*1LED, common-anode 8*4LED, common cathode 8*4LED, common-anode charactron * 1, common cathode charactron * 1, common-anode charactron * 2, common cathode are digital Pipe * 2, scanning display * 4, common anode coding display * 1, common anode coding display * 2 and serial ports application;
Input in the step (b) includes following submenu: P3 mouthfuls input, P2 mouthful input, P1 mouthfuls input, P0 mouthfuls it is defeated Enter, 4*4 keyboard and removal input;
Output in the step (b) includes following submenu: P0 mouthfuls of outputs, P1 mouthfuls of outputs, P2 mouthfuls of outputs and P3 mouthfuls are defeated Out;
Figure menu in the step (b) further includes following submenu: circuit is shown, wiring diagram and usual instructions are checked.
4. a kind of method based on Keil software simulation system and its artificial circuit plate according to claim 2, It is characterized in that, the universal plate menu in the step 1 is for protracting circuit;
The placement component menu is for being selection component in protracting circuit, and the type of the component includes electrolysis electricity Appearance, resistance, ceramic condenser, diode, triode, crystal oscillator and single-chip microcontroller;
The placement input and output device is for selector in protracting circuit, and the type of the device includes: charactron, red Color light emitting diode, button, toggle switch, loudspeaker, color light control expansion board, connecting terminal, integrates green LED Circuit, LED dot matrix and LED color switching.
5. a kind of method based on Keil software simulation system and its artificial circuit plate according to claim 2, It is characterized in that, the SCM program of writing in the step 8 is that assembler language or C language are write.
6. a kind of method based on Keil software simulation system and its artificial circuit plate according to claim 2, It is characterized in that, the Keil three-dimensional artificial software is the simulation software that the interface function provided using keil is write.
CN201810073160.7A 2018-01-25 2018-01-25 A method of based on Keil software simulation system and its artificial circuit plate Active CN108268732B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810073160.7A CN108268732B (en) 2018-01-25 2018-01-25 A method of based on Keil software simulation system and its artificial circuit plate

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810073160.7A CN108268732B (en) 2018-01-25 2018-01-25 A method of based on Keil software simulation system and its artificial circuit plate

Publications (2)

Publication Number Publication Date
CN108268732A CN108268732A (en) 2018-07-10
CN108268732B true CN108268732B (en) 2019-10-11

Family

ID=62776744

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810073160.7A Active CN108268732B (en) 2018-01-25 2018-01-25 A method of based on Keil software simulation system and its artificial circuit plate

Country Status (1)

Country Link
CN (1) CN108268732B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109492257A (en) * 2018-10-15 2019-03-19 中国核电工程有限公司 A kind of software aided drawing method automatically generating connecting line

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4733975A (en) * 1986-07-03 1988-03-29 The United States Of America As Represented By The Secretary Of The Air Force Unitized high temperature probes
CN1963749A (en) * 2006-11-24 2007-05-16 重庆大学 Method for constructing embedded software system of industrial automation instrument
CN101030241A (en) * 2007-04-10 2007-09-05 北京飞天诚信科技有限公司 Method and system based on Keil C51 software protecting development

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1296804C (en) * 2002-02-01 2007-01-24 吉林化工学院 Computer stenography symbol language and input method
CN105739974A (en) * 2016-01-25 2016-07-06 杭州电子科技大学 Method for controlling electronic building blocks by graphical programming

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4733975A (en) * 1986-07-03 1988-03-29 The United States Of America As Represented By The Secretary Of The Air Force Unitized high temperature probes
CN1963749A (en) * 2006-11-24 2007-05-16 重庆大学 Method for constructing embedded software system of industrial automation instrument
CN101030241A (en) * 2007-04-10 2007-09-05 北京飞天诚信科技有限公司 Method and system based on Keil C51 software protecting development

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
KEILμV2下AGSI 接口结构及其仿真DLL的实现;王晓东;《自动化技术与应用》;20081231;第27卷(第11期);第33-35页 *
Keil仿真插件使用说明;enjoyclick;《百度文库》;20141225;第1-3页 *

Also Published As

Publication number Publication date
CN108268732A (en) 2018-07-10

Similar Documents

Publication Publication Date Title
CN103197948B (en) A kind of electric intelligent devices communicating stipulations script resolving method
CN103345446A (en) Automated testing method suitable for remote control products
CN106371813A (en) Simulink-based motor controller software generation method for electric vehicle
US20060036799A1 (en) Multi-platform development and execution of graphical programs
CN1662101A (en) Mixer apparatus and sound signal processing method
CN105933173A (en) Electric power system intelligent device automatic testing system
US20050197824A1 (en) Object-oriented design method for the time-effective and cost-effective development of production-grade embedded systems based on a standardized system architecture
CN103605556A (en) Virtual test subject integrally-constructing system and method
CN108268732B (en) A method of based on Keil software simulation system and its artificial circuit plate
CN105447246A (en) Method and system for generating electrical principle diagram through one key
CN101458633B (en) Method for accessing host program by script program, and system and apparatus thereof
CN109490746A (en) A kind of SPI FLASH class chip test system
CN103176894A (en) Test data automatic derivative method and automatic derivative device facing database
CN203149062U (en) Comprehensive testing instrument used for multipath lead wire/connector test
CN111104131A (en) Power panel, chip burning device and burning method
CN2891565Y (en) Mixer
CN106970787A (en) A kind of automobile controller rapid prototyping implementation method
CN102162368B (en) Coal mine safety monitoring system online tester and testing method
CN109445872A (en) A method of each network interface physical location is determined applied to multi-gateway Linux server
CN100359462C (en) Developing method and system for programmable control device
CN202421442U (en) Modularized open PCBA (Printed Circuit Board Assembly) functional circuit test (FCT) platform
CN116973729A (en) Board card testing method, testing jig, testing equipment and medium
CN111122994B (en) Man-machine interaction testing device for simulation circuit breaker
CN111338605A (en) Method for automatically executing instrument function development and operation flow
CN103365750A (en) Automatic test platform for remote-control products

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant