Why choose AVR microcontroller to learn microcontroller

With the rapid development of electronic technology, MCU is widely used in military, industry, household appliances, intelligent toys, portable intelligent instruments and other fields, which greatly improves the function, precision and quality of products, and has the advantages of simple circuit, low failure rate, high reliability and low cost. ATMEL combines 51 core with its […]

Read More

How to detect whether the MCU works normally

Single chip microcomputer refers to a complete computer system integrated on a chip, which penetrates into all aspects of our life. This paper mainly introduces the method of detecting whether a single chip microcomputer works normally. First of all, we should confirm whether the power supply voltage is normal. Use a voltmeter to measure the […]

Read More

Four reasons of SCM crash caused by serial port

The possible causes of serial port leading to MCU crash are as follows: 1. The quality of USB to serial cable is not good, or the driver is not good, or the device does not work normally on win7 64 bit computer. 2. If you use the pl-2303hx series USB to serial cable, after the […]

Read More

MSComm control to realize serial communication between MCU and PC

In this paper, MSComm control is used to realize the serial communication between MCU and PC. the emphasis is on the design of software. Using VC + + 6.0 software development platform and MFC programming method, a friendly man-machine interface is established. The PC sends the signal to the single chip microcomputer, and the data […]

Read More

Interface design between SPI and linear CCD based on AT89S51

1) Introduction Charge coupled device (CCD) is a kind of image sensor which converts optical signal into electrical signal. It is widely used in industrial and agricultural production and daily life. SPI (serial peripheral interface) is a serial peripheral interface standard, which can realize high-speed data transmission and reception. Using SPI and linear CCD interface […]

Read More

Design of remote control between MCU and PC based on RS485 bus

introduction A certain type of air defense command system is a modular and nodal network system with microcomputer as the core. The whole system is composed of six basic workstations, which constitute a relatively complete air defense operational information command system. It is mainly used for the rapid collection, processing and transmission of air target […]

Read More

C language code writing skills of single chip microcomputer

Next, I’d like to share with you some of the C language code writing skills and my own experience that I saw on the Internet; 1. If you can, use fewer library functions to facilitate the porting between different MCU and compiler 2. Select the appropriate algorithm and data structure Should be familiar with the […]

Read More

Pin function description of MCS-51

MCS-51 is a standard 40 pin dual in-line IC chip. Please refer to figure for pin arrangement    P0.0-p0.7: P0 mouth had 8-bit bidirectional mouth line. P1.0-p1.7: 8-bit bidirectional port line of P1 port. P2.0-p2.7: P2 port 8-bit bidirectional port line. P3.0-p3.7: P3 port 8-bit bidirectional port line. Ale: address latch control signal. When the […]

Read More

Software and hardware design of tea576x single chip digital radio system based on MCS-51 Single Chip Microcomputer

introduction Tea576x series single chip digital radio is widely used in digital audio, portable CD, VCD, DVD, mobile phone and other digital consumer electronic systems. However, the tuning principle of the digital radio chip is different from that of the traditional superheterodyne radio. For example, the fixed intermediate frequency of the traditional superheterodyne radio is […]

Read More