Proteus 20 application skills are summarized by many loyal Proteus fans in their actual application process, so they are very practical! Today I will sort them out one by one to share with you. If there are better usage skills, everyone is welcome to share! !
F8: Show All Display the entire current workspace.
F6: Zoom in Zoom in around the mouse cursor.
F7: Zoom out Zoom out with the mouse as the center.
ISIS supported files:
1. Design files (.DSN) contain all the information of the circuit.
2. backup files (.DBK) are generated every time you SAVE.
3. Sectiong files (.SEC) Parts of a circuit can be saved as this file type and can be called later via IMPORT.
4.Module files (.MOD) are used to link with other features in hierarchical circuits
5. Library files (.LIB) All suffixes of symbol and component libraries.
6. Netlist files (.SDF) are generated when prospice and ARES are connected. (Netlist files)
1. Tidy quickly removes useless components in the schematic diagram. Using "Tidy" in "Edit" of Proteus, you can quickly remove components that are not used in the schematic diagram and are displayed in the component loading list. Using this function, we can clear the unused components in the list after drawing the schematic diagram.
2. Quick drawing of proteus identifier net point. Just enter the letter, and the number behind it will automatically increase, such as P1, P2, P3, P4. In fact, this technique also exists in proteus. After learning this technique, you don’t need to click on the NET point one by one to add it. You can add it all at once. The advantage of NET is that you don’t need to draw a line. It is simple and convenient. Follow me to operate it again
For example, if you want to add a NET point to the P0 port of a 51 single-chip microcomputer, you need to form P00, P01, P02```P07.
first step:
Step 2: Press the letter A key on the keyboard and a dialog box will pop up.
Modify STRING to: net="P0#", # means the number changes, how it changes depends on the following two parameters, Count and Increment. After pressing the OK key, move to the P0 port of the microcontroller, and a small hand and a small green square will appear. You can add labels, and press it to add 1. The result will appear, P00, P01, P02.
3. When simulating with Proteus, you do not need to connect the MCU crystal oscillator. You only need to double-click the MCU with the left mouse button, and modify the frequency circled in red in the pop-up dialog box. In addition, you do not need to connect the reset circuit. Proteus provides an ideal simulation environment, so these MCU system essentials can be ignored.
4. Use the Decompose function to identify pin parameters. Someone once asked: Which side of the electrolytic capacitor symbol in Proteus is "+" and which side is "-"? Sometimes I can't remember the positive and negative poles. Please follow me to solve this kind of problem! Now we place an electrolytic capacitor on the design drawing, and then right-click on this component. The capacitor turns red, select the menu "Library", and select "Decompose". At this time, the electrolytic capacitor is equivalent to being disassembled. We just need to double-click one of the component pins, and then in the property window that appears, it will appear whether the pin is positive (+) or negative (-)! Similarly! We can expand this function to identify diodes, transistors, matrix LED dot matrix and the appearance of hidden pins of components!
5. Hide the content of the component
Method: Select "Templage" ----> "Set Design Defaults". In the "Hidden Objects" in the lower left corner of the "Edit Design Defaults" window that pops up, uncheck the box to the right of "Show hidden text?" and you're done!
6. Smart control of color changes during simulation
(1) Method: Select "System" ----> "Set Animation Options". In the "Animated Circuits Configuration" window that pops up, in the "Animation Options" in the lower right corner, check the box to the right of "Show Logic State of Pins?" (It is checked by default)
Function: During the simulation, a small square of different colors will appear next to each pin. Red indicates a high level, blue indicates a low level, gray indicates an uncertain level, and ** indicates a level conflict (level short circuit, such as a pin of the microcontroller outputs a high level, but this pin is artificially grounded)
(2) Method: Select "System" ----> "Set Animation Options". In the "Animated Circuits Configuration" window that pops up, in the "Animation Options" in the lower right corner, check the box to the right of "Show Wire Voltage by Colour?" (not checked by default)
Function: During the simulation process, each connection line will appear in a different color, red indicates a high level, and blue indicates a low level.
(3) Method: Select "System" ----> "Set Animation Options". In the "Animated Circuits Configuration" window that pops up, in the "Animation Options" in the lower right corner, check the box to the right of "Show Wire Current with Arrows?" (Not checked by default)
Function: During the simulation, each connection line uses an arrow to indicate the direction of the current.
7. How to make LED light up during simulation Many people have encountered such a problem during simulation: the selected light-emitting diode is called LED, but it does not light up no matter how it is run, but the level display is normal. This is because the LED library component does not light up during simulation. If you want it to light up during simulation, you must use LED with color attributes, such as LED-RED, LED-YLLOW, LED-BLUE and LED-GREEN (red, yellow, blue and green). Similarly, some switches and relays have the same problem. You can understand it by analogy.
8. To simulate the specified HEX file address, there is no need to connect the power supply and ground. When drawing the simulation circuit, the power supply pin and ground pin of the integrated circuit are hidden. By default, they are connected to +5V power supply and ground, and there is no need to connect the power supply and ground. When simulating the single-chip microcomputer, the crystal oscillator and reset circuit do not need to be connected. You only need to specify the address of the HEX file and set the crystal oscillator frequency. [page]
9. Remove the Show hidden text so that the content is no longer displayed. This item below each component has a hidden attribute. In the menu template, there is an option called Design Default, which contains a Show hidden text? If you remove it, the content will no longer be displayed.
10. You can customize the shortcut keys in System-Set Keyboard Image, which is very user-friendly.
11. Proteus adds C files. Proteus can only add ASM files, but not C files. So you can only compile C into HEX using Keil or other software and then load it into the microcontroller, that is, DEBUG->>START->> in the window DISASSEMBLY, you can see the ASM program corresponding to C.
12. Quickly implement the joint debugging of proteus and keil at one time. Assume that Keil and Proteus are installed in the "D:Keil" and "D:Proteus" folders respectively. (1) Copy the VDM51.dll file in the folder to the "D:KeilC51BIN" directory and the "D:Proteus MODELS" directory. (2) Use Notepad to open the D:KeilTOOLS.INI file, and add a new line under TDRV8=BINUL2LPC9.DLL ("NXP LPC95x ULINK Driver"): TDRV9=BINVDM51.DLL ("Proteus VSM Monitor-51 Driver"), where the "9" in "TDRV5" is actually to avoid duplication with the above label. (Steps 1 and 2 only need to be set up for the first use.)
13. Proteus simply implements a two-color tube. Two LEDs share one interface to form a three-port two-color LED. It is super simple.
14. Proteus can replace components without disconnecting the wires or drawing a bus. It only needs to add the same label to two or more endpoints that need to be connected.
15. Use shortcut keys Ctrl+z to undo; Ctrl+y to reverse undo; X to change the pointer shape of the connecting line Ctrl+draw line: you can draw a curve, draw a line first, and press ctrl at the corner to draw a broken line.
16. The pins of components do not need to correspond, which makes it easier to use. ISIS only provides schematic diagrams, just like when you make your own schematic diagrams. They are generally based on convenience and do not need to correspond like packages.
17. Tips for using the oscilloscope in Proteus
The CH1 and CH2 buttons on the lower left corner can select DC or AC. The CH1 and CH2 buttons on the upper right corner are used to switch between the two channels. The second button on the upper right corner has three functions:
(1) Neither of the two green dots is on: The upper button switches between CH1 and CH2 display.
(2) Dual green dot: Display two channels simultaneously. (Use YPOS1 and YPOS2 to adjust the upper and lower positions of the waveform.)
(3) XY green dot: CH1-CH2 display, mainly for viewing the differential value.
18. Batch numbering of ports saves a lot of time. This technique can be used to batch number ports such as input and output in Proteus. It can save a lot of time.
(1) Select all ports in the list
(2) Then press A, and in the pop-up dialog box, enter net=DB# in the string column. The "DB" part can also be any prefix string you want. The count column is the starting number, and the increment column is the number increment.
(3) After clicking OK, you will find that the selected ports are automatically numbered.
19. User function is used to adjust the drawing size. When placing components in ISIS, if the components exceed the blue border, you can find System-Set Sheet Size in the menu bar. A dialog box will appear, including A4-A0 and User parts. If you want to set the drawing size yourself, you can select User and then enter the length and width values.
20. Quickly convert schematics into PCB diagrams in Protues
(1) First, draw your circuit diagram in ISIS, then click Tools/Netlist Compiler in ISIS, the Netlist Compiler dialog box pops up, click OK, and save your SDF file.
(2) Open Ares and load the netlist file. Left-click the mouse and place all the components. After they are placed, if you want to route manually, I won’t explain this. If you want to route automatically, use tools/auto router. Of course, if you want to do it faster, press alt+a, and the netlist file will be automatically generated and automatically switched to Ares.
Previous article:Technical characteristics and application system of single chip microcomputer
Next article:Understanding MCU-MCU Minimum System
- Popular Resources
- Popular amplifiers
- Learn ARM development(16)
- Learn ARM development(17)
- Learn ARM development(18)
- Embedded system debugging simulation tool
- A small question that has been bothering me recently has finally been solved~~
- Learn ARM development (1)
- Learn ARM development (2)
- Learn ARM development (4)
- Learn ARM development (6)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- LED chemical incompatibility test to see which chemicals LEDs can be used with
- Application of ARM9 hardware coprocessor on WinCE embedded motherboard
- What are the key points for selecting rotor flowmeter?
- LM317 high power charger circuit
- A brief analysis of Embest's application and development of embedded medical devices
- Single-phase RC protection circuit
- stm32 PVD programmable voltage monitor
- Introduction and measurement of edge trigger and level trigger of 51 single chip microcomputer
- Improved design of Linux system software shell protection technology
- What to do if the ABB robot protection device stops
- Detailed explanation of intelligent car body perception system
- How to solve the problem that the servo drive is not enabled
- Why does the servo drive not power on?
- What point should I connect to when the servo is turned on?
- How to turn on the internal enable of Panasonic servo drive?
- What is the rigidity setting of Panasonic servo drive?
- How to change the inertia ratio of Panasonic servo drive
- What is the inertia ratio of the servo motor?
- Is it better for the motor to have a large or small moment of inertia?
- What is the difference between low inertia and high inertia of servo motors?
- [Sipeed LicheeRV 86 Panel Review] 9- Flashing LED
- Watch the video to win a JD card | Highlights of Micron's keynote at Computex Taipei 2022
- Are there any step-down chips with lower quiescent current?
- Smallest BOM for Bluetooth Low Energy using STM32WB wireless MCU
- 0~500V DC voltage acquisition, is the circuit diagram in the post feasible?
- [2022 Digi-Key Innovation Design Competition] Distributed Temperature and Humidity Collection System - Schematic Diagram of the Collection End
- LED flashing light control system program
- It is reported that Apple mistakenly used US dollars to settle accounts with Chinese developers, and the developers' income increased by 7 times
- Digital frequency meter
- LSM6DSO iNEMO inertial module PCB package and code