-
The serial port of 51 machine is below the low level, the high level is below 5V, the serial port of the PC is low level -12V, the high level is +12V, and the serial port communication between the 51 machine and the PC machine should add the level conversion IC
The communication protocol is the same.
-
What exactly is a microcontroller? It's a computer, but it's just miniature, although the sparrow is small, it has all the organs: it also uses modules similar to the functions of the computer, such as CPU, memory, parallel bus, and storage devices with the same function as the hard disk, the difference is that the performance of these parts is much weaker than our home computer, but the price is also low, generally no more than 10 yuan.
It is enough to use it to do some control appliances and other not very complicated work. It can be seen in the automatic drum washing machine, smoke hood VCD and other household appliances we use now..It is mainly used as the core component of the control part.
It is a kind of first-class real-time control computer, which is on-site control, which requires strong anti-interference ability and low cost, which is also the main difference from offline computers (such as home PCs).
-
1. The composition is different.
A single-chip microcomputer is a microcomputer that integrates the necessary components into a VLSI chip, while a PC, that is, a home computer, is a machine composed of individual hardware devices.
2. The storage space is different.
Due to the design and manufacturing technology of single-chip microcomputers, it is impossible to design too much memory space on a limited chip, so the capacity of ROM and RAM is smaller than that of PC.
3. Different uses.
The use of single-chip microcomputer is suitable for reducing the hardware cost of the process, and the small size, suitable for the design of small and simple operation control system. PCs are expensive and suitable for large and complex computing control systems.
-
First, the concept is different:
1. Single-chip microcomputer:
A microcontroller is an integrated circuit.
The chip is a first-class processor with data processing capabilities using VLSI technology.
CPU, random access memory.
RAM, read-only memory ROM, a variety of I-O ports and interrupt systems, timers, counters and other functions are integrated into a small but complete microcomputer system on a silicon wafer.
2. PC:
A PC is a multi-purpose computer of a size,** and performance that is suitable for personal use. Desktops and laptops collapsed.
to small laptops and tablets.
and ultrabooks, etc., are all personal computers.
PC). Second, the role is different:
1. Single-chip microcomputer:
From the internal hardware to the software, there is a complete set of bitwise operating systems, called bit processors, that process objects not words or bytes but bits. It can not only process a bit of some special function registers on the chip, such as transmission, set, clearing, testing, etc., but also perform bit logic operations, which is very complete and easy to use.
2. PC:
Enables PCs to connect to each other over the network. Ethernet.
IEEE is a milestone in the Internet of Computers, where personal computers can be connected via switches or hubs.
Make connections to each other. In the network construction of major institutions and enterprises, the LAN is a very important part of the group search. And the LAN itself has long since expanded into a global Internet.
-
Differences: 1. The single-chip microcomputer has stronger specificity, better adaptability to the environment than the computer, and the relative circuit is also simple, which can be used in control occasions with low requirements.
2. In terms of system structure, the single-chip microcomputer uses Harvard or Super Harvard structure. Von Neumann structure for computers. The program space and data space of the microcontroller are separated, while the computer shares a memory unit.
3. A single-chip microcomputer is a microprocessor that integrates a variety of interface chips into a chip, which is called a single-chip circuit. The purpose of the single-chip microcomputer is to make a single chip achieve more functions, more convenient application, smaller size, and no need to expand or use less peripheral circuits as much as possible. Ideal for controlling appliances or equipment that work independently.
4. Differences in storage structure:
Computers are generally 32-bit or 64-bit, using a general-purpose ** processor CPU with massive computing power, using von Neumann structure, and data and programs are stored in the same storage space. The RISC instruction set is generally used. And there are several kinds of single-chip microcomputer, ** The computing power of the processor is generally not as good as the microcomputer, using the Harvard structure, and the storage space is divided into two parts: program memory and data memory.
The instruction set has both CISC and RISC.
Ignoring the influence of temperature and other factors, the method of measuring voltage by series resistance can be directly adopted. >>>More
Just learn 51 first, the absolute entry-level, you can choose Guo Tianxiang's for the development board, it's been many years, the information is very complete, and then you can look at 32 or something.
Hello: I wrote the program:
#include >>>More
If you really want to learn, you don't need to buy a development board. Find a minimal system board, then learn something, buy components and build small circuits by yourself. Run the electronic market by yourself, build the circuit by yourself, in order to know the problem, in order to learn something, buy a development board, according to the circuit on the manual, and then put the program into it, and then the program basically understands, this is not called learning... >>>More
How is your light-emitting diode connected, if there is a power supply stringed to the light-emitting diode, the low level will be on, if it is the output port of the single-chip microcomputer, it will not be on.