What software is the PIC microcontroller applied to?

Updated on technology 2024-04-09
13 answers
  1. Anonymous users2024-02-07

    In addition, if the MCU you choose is 8-bit, you need to install 8-bit C Compiler, if it is 16-bit, you need to install 16-bit C Compiler, and 32-bit C Compiler needs to be installed.

  2. Anonymous users2024-02-06

    MPLab IDE is an integrated development environment from Microchip that can perform HiTech C

  3. Anonymous users2024-02-05

    Development host platform: Windows XP

    Development Environment: MPLAB IDE

    Compiler: picc

  4. Anonymous users2024-02-04

    Learning PIC is not as good as C8051, it is recommended that you learn C8051, which has more information, high integration, fast start, and rich routines.

  5. Anonymous users2024-02-03

    1. The bus structure is different.

    The bus structure of MCS-51 is von Neumann type, and the computer takes instructions and data in the same storage space, and the two cannot be carried out at the same time; The bus structure of the PIC is a Harvard structure, and the instruction and data space are completely separated, one for instructions and the other for data, which improves the data throughput rate because the program and data can be accessed at the same time.

    Because of the Harvard dual-bus structure used in the PIC series microcontrollers, one thing that is different from common microcontrollers is that the program and data buses can be of different widths. The data buses are all 8 bits, but the number of bits on the instruction bus is different.

    2. The structure of the assembly line is different.

    MCS-51 adopts a single-instruction pipeline structure for finger picking and execution, that is, taking one instruction and then taking the next instruction after execution; The PIC adopts a dual-instruction pipeline structure, and when one instruction is executed, the next instruction is allowed to be taken out at the same time, so that a single-cycle instruction is realized.

    3. Register group.

    All registers of the PIC, including the IO port, timer and program counter, are in the form of RAM structure, and they only need one instruction cycle to complete access and operation; The MCS-51 takes two or more cycles to change the contents of the registers.

  6. Anonymous users2024-02-02

    (1) Bus structure: The bus structure of MCS-51 microcontroller is von Neumann type, and the computer takes instructions and data in the same storage space, and the two cannot be carried out at the same time; The bus structure of the PIC microcontroller is a Harvard structure, and the instruction and data space are completely separated, one for instructions and one for data, because the program and data can be accessed at the same time, so the data throughput rate is improved. Because of the Harvard dual-bus structure used in the PIC microcontroller, it is different from common microcontrollers

    The program and data buses can be of different widths. The data buses are all 8 bits, but the number of bits on the instruction bus is different.

    2) Pipeline structure: MCS-51 single-chip microcomputer adopts a single-instruction pipeline structure for finger picking and execution, that is, taking one instruction and then taking down the next instruction after execution; The PIC adopts a dual-instruction pipeline structure, and when one instruction is executed, the next instruction is allowed to be taken out at the same time, so that a single-cycle instruction is realized.

    3) Register group: all registers of PIC microcontroller, including IO port, timer and program counter, etc., are in the form of RAM structure, and they only need one instruction cycle to complete access and operation; The MCS-51 microcontroller takes two or more cycles to change the contents of the register.

  7. Anonymous users2024-02-01

    Hello, I used to learn 51 and now I am doing a project with a pic microcontroller. Personally, I understand, it's not like what I said upstairs, maybe he learned 51 from the last century, and now almost no one writes 51 programs in Hui. The most essential difference between 51 and PIC is that 51 can achieve many functions just by controlling the pin level, but PIC needs to configure some application registers.

    PIC microcontroller is used more in industry because it is more stable. 51 single-chip microcomputer is suitable for beginners to learn, industrial applications are not very many, but it is very basic, many single-chip microcomputer programming ideas are changed from 51.

    The speed of which single-chip microcomputer executes mainly depends on the frequency of his crystal oscillator, 51 The commonly used crystal oscillator is or 12m, and the internal crystal oscillator of the PIC single-chip microcomputer is.

  8. Anonymous users2024-01-31

    C development doesn't make any difference, it's just that there are more registers! The compilation is more of a headache! 51 is a complex instruction set, which is a headache! It is recommended to use C development, which is relatively simple!

  9. Anonymous users2024-01-30

    Hello: I understand that many manufacturers now use 51 cores to make their own microcontrollers, these manufacturers have optimized the conventional 51 microcontroller individual products and pic's microcontroller anti-dry flex ability is not high, in addition to the pic's microcontroller is easy to decrypt, those alternative 51 core microcomputer decryption is not easy such as 15F204, and finally use that kind of single-chip microcomputer to sentence your product needs.

  10. Anonymous users2024-01-29

    On the assembly instructions, 51 has more than 100 instructions, and the eight-bit single-chip microcomputer of PIC has only 35 instructions. The PIC does not have direct assembly instructions for multiplication and division, and if you write a multiplication or division program using sinks, you need to add (or subtract by cycle) in a loop.

    The instruction period of PIC is shorter than that of 51, under the same crystal oscillator, the instruction cycle of PIC is 4 clock cycles, 51 is 12, and most of the instructions of PIC are single-cycle instructions, an instruction cycle executes an instruction, and 51 generally executes an instruction in 2 to 4 instruction cycles, so in the case of the same crystal oscillator, in addition to performing multiplication and division, PIC is faster than 51.

  11. Anonymous users2024-01-28

    Features: strong anti-interference, stable, expensive.

  12. Anonymous users2024-01-27

    Here the words are used to explain the program capacity. A single instruction (2*) is used to represent a word. Bytes (3*) are usually used to represent memory (4*) capacity.

    A byte has 8 bits, each of which consists of 1 or 0. The PIC16F84A microcontroller command consists of 14 bits. When converting 1k words to bits, it is:

    1 x 1,024 x 14 = 14,336 bits. The reconversion to bytes is: 14,336 (8 x 1,024) =.

    When calculating the capacity of memory, we specify that 1g byte = 1,024m byte, 1m byte = 1,024k byte, 1k byte = 1,024 bytes. They are not multiples of 1000 because they are calculated in binary.

    1* The physical structure of the computer, including the organizational structure, capacity, CPU, memory, and interconnection between input and output devices. It is often referred to specifically to the organizational structure of the CPU, including its registers, flags, buses, arithmetic logic components, instruction decoding and execution mechanisms, and timing and control components.

    2* A linguistic construct that indicates an operation and identifies its operand, if any.

    3* is a binary string that is manipulated (arithmeticed) as a unit, usually shorter than a word on a computer.

    4* All addressable storage space in the processor and other internal memory used to execute instructions.

    When calculating the capacity of memory, we specify that 1g byte = 1,024m byte, 1m byte = 1,024k byte, 1k byte = 1,024 bytes. They are not multiples of 1000 because they are calculated in binary.

    With the PIC microcontroller, it is possible to make the circuit very small.

    Because the PIC microcomputer can make the computing part, memory, input and output in one chip. Therefore, she works very efficiently, and the functions are freely defined, and she can flexibly adapt to different control requirements without having to change different ICs. In this way, it is possible to make the circuit very small.

  13. Anonymous users2024-01-26

    1: The first question mark: Yes; The second question mark: not necessarily;

    2: Some C30 have multiple types of versions, and you may not be referring to the same type when you say 30c and 36.

    3: The uncracked compiler cannot be compiled when it expires. If you want to use it, you need to reinstall it (it seems that it will be recorded in the system, so you should reinstall the operating system).

    4: Definitely unreliable. I've had compilation experience, and the compiled ones that are cracked will have problems logically.

    However, this does not affect the design of ordinary student beginners. If you are designing in the industrial and aerospace fields, your leader will not let you use the cracked version or the unregistered version. So nowadays many authorities prefer to use assembly to compile programs.

    PICC has a C compiler that supports PIC10 12 16 18 24 32 series microcontrollers. It also supports the C compiler of the DSPIC30 33 series DSC chips.

Related questions
19 answers2024-04-09

First of all, it is recommended that you use a serial port. >>>More

13 answers2024-04-09

Overview of microcontrollers.

1. What is a single-chip microcomputer A computer that can work should be composed of several parts: CPU (for operation and control), RAM (data storage), ROM (program storage), input and output devices (such as: serial port, parallel output port, etc.). >>>More

21 answers2024-04-09

It's very similar, and the district is different.

The integration of the instruction set's self and transistors, baicpu is now tens of millions of integrated zhi chips, single-chip microcomputer dao is home appliances, automobiles, some automatic and semi-automatic electrical applications, how many instructions can be there? The 'instruction set' of different types of programs is not the same, and the algorithms for processing ** and data calculation are different, so it is difficult to implement, and the most important thing is that the integration is so high! >>>More

9 answers2024-04-09

Single-chip microcomputer is a kind of integrated circuit chip, which is a small and perfect microcomputer system composed of a small and perfect microcomputer system composed of a silicon wafer composed of ultra-large-scale integrated circuit technology, which integrates the best processor CPU RAM, read-only memory ROM, a variety of IO ports and interrupt systems, timers and other functions (may also include display drive circuits, pulse width modulation circuits, analog multiplexers, AD converters and other circuits) into a silicon wafer, which is widely used in the field of industrial control. From the 80s of the last century, from the 4-bit and 8-bit single-chip microcomputers at that time, to the current 32-bit 300m high-speed single-chip microcomputer.

3 answers2024-04-09

1. The microcontroller is a typical embedded microcontroller (microcontrollerunit), which is composed of combinators, controllers, memory, input and output devices, etc., which is equivalent to a micro computer. >>>More