Single-chip microcomputer is something that many people want to learn, but it is difficult to learn single-chip microcomputer without the necessary conditions. I suggest that you need to prepare the following conditions to learn single-chip microcomputer:
1. You need a computer, preferably 586 or above, P2, P3 and P4 are better.
2. You need a programmer to write the compiled program into the ROM of the microcontroller, and insert the written chip into the test board for testing. Professional ones cost more than 1,000 yuan, medium ones cost 400 to 800 yuan, low-end ones cost about 150 yuan, and some miscellaneous ones sold online cost about 80 to 100 yuan.
4. You need a hardware microcontroller test board as the peripheral circuit part of the microcontroller test. Commercial ones generally cost 200 to 500 yuan, and complex ones are even more expensive.
5. You need several microcontroller chips for testing, such as the widely used 89C51, 89S51, 89S52, etc. The general market retail price ranges from 7 to 9 yuan. If you buy 2 pieces, it will be about 20 yuan.
Our school has prepared all the above for you, please feel free to study, and let's talk about the relevant content of learning.
1. Teaching objectives:
1. Understand the MCU development process
2. Learn to make and develop MCU systems
2. Teaching focus: MCU system production process
3. Teaching aids: a set of single chip microcomputer system kit (parts) experimental system
4. Teaching method: Task-based teaching
5. Teaching steps
1. Determine the task
of developing a single-chip microcomputer minimum system
2. Task analysis:
The system has the following functions:
(1) It has a 4-digit LED digital tube display function.
(2) Eight-way light-emitting diodes display various running lights.
(3) It can complete various sound-generating experiments such as playing music and alarms.
(4) Reset function
3. Knowledge preparation
(1) The external structure of the single-chip microcomputer (pin function)
(2) The display principle of light-emitting diodes and digital tubes
(3) Relevant knowledge of other peripheral devices, such as transistors, buzzers, voice/music discs, resistors, and crystal oscillators.
(4) Single-chip microcomputer working conditions
(5) Instruction code
(6) Delay program
(7) Program coding
(8) How to use the KEIL C51 development platform.
(9) Software simulation and hardware simulation
(10) Debugging method of single-chip microcomputer system
4. Preparation of tools and materials
(1) Programmer using AE integrated system
(2) Single-chip microcomputer minimum system kit
(3) Electric soldering iron, multimeter, multi-purpose board, etc.
(4) Computer and Keil software [page]
5. Production process
(1) Clean up the production kit
(2) Design the schematic diagram according to the task function
(3) Convert the schematic diagram into a circuit diagram and draw it on the multi-purpose board
(4) Solder components and check the circuit
(5) Program design
(6) Software simulation
(7) Use the programmer to input the program into the single-chip microcomputer
(8) Power on and view the results
(9) Self-evaluation of the product
(10) Comprehensive comments from the teacher
By the way, let me introduce the working conditions of the microcontroller. AT89S51 is suitable for all 51 series
For the microcontroller to work properly, the following working conditions must be met:
1. Power supply VCC +5V 40 pin
2. Ground GND 20 pin
3. Reset circuit: The RES pin must maintain a high level for no less than 24 oscillation cycles, and the microcontroller remains in the reset state (clock cycle = 12 × oscillation cycle, oscillation cycle = 1/f).
4. Clock circuit: The microcontroller works under a unified clock, so a clock circuit is necessary.
5. Memory control circuit: EA terminal on pin 31. When the EA input terminal is input at a high level, the CPU can access the 4KB address range of the on-chip program memory. If the PC value exceeds the 4KB range, it will automatically turn to access the off-chip program memory. When the EA input is low, only the off-chip program memory can be accessed, regardless of whether there is a program memory on the chip. Based on this, we generally let the EA terminal be connected to a high level when designing.
6. The microcontroller must have a corresponding program inside.
In summary, the microcontroller must have at least the following circuits:
Previous article:51 single chip microcomputer instruction system and test
Next article:Design of small remote control turntable system
- Popular Resources
- Popular amplifiers
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- Register for the live broadcast to win [bracelet, camera, umbrella, mobile phone holder] Rohde & Schwarz USB 3.2 conformance test
- Newbie question, please help! I just learned analog electronics and built a simple circuit using Multisim
- 【Zero Knowledge ESP8266】Tutorial: Mobile APP Control RGB LED
- The application of CAN bus data in automobile digital technology is the starting point
- TI AM335 Embedded Hardware Design Reference Guide OK335xD
- Infineon Position2Go Development Kit Review @2. Official Tools
- Application of ISP chips in edge computing
- [Atria AT32WB415 Review] 2. Firmware burning (taking AT-Link burning as an example)
- MOS tube anti-reverse connection
- Why do DSPs with large on-chip RAM have high efficiency?