Microcontroller beginner's guide (2) Ten thousand reasons to fall in love with microcontrollers

Publisher:未来架构师Latest update time:2016-05-23 Source: eefocusKeywords:MCU Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere
By now, I believe everyone has a basic concept of MCU, but why do we need to learn MCU? We need to find ten thousand reasons to fall in love with MCU.

The application of single chip microcomputer in practice

Single-chip microcomputers are widely used in life. Various home appliances, such as washing machines, refrigerators, rice cookers, electronic scales, etc., often claim that their products are high-tech, fully automatic, microcomputer-controlled smart products... For those who have never been exposed to devices such as single-chip microcomputers, it feels really hard to imagine high-tech. But when you learn single-chip microcomputers, your thoughts will be completely different. You may just smile lightly, and then secretly think, what single-chip microcomputer do they use? How to write the program? Or make a similar one for fun someday? Of course, I do not deny that single-chip microcomputers are high-tech, and I do not intend to offend home appliance manufacturers here, please understand o(╯□╰)o.

Many digital products, such as mobile phones, SLR cameras, cameras, some MP3 players, and even computer hard disks, often use single-chip microcomputers, which greatly enriches our spare time.

 

 

Various roadside billboards always emit dazzling light, especially at night, and many of those billboards are controlled by single-chip microcomputers.

Microcontrollers are widely used in the field of medical equipment, such as medical ventilators, various analyzers, monitors, ultrasonic diagnostic equipment, bed call systems, etc. These microcontrollers work hard day and night to help doctors create miracles of saving lives and healing the wounded time and time again.

Many parts of cars and even airplanes also use many single-chip microcomputers to perform various difficult tasks. Single-chip microcomputers escort our travel.

 

 

The application of single-chip microcomputer in industry is also quite extensive. The assembly of various products on the assembly line cannot be separated from the control of single-chip microcomputer. Various data collection, intelligent control, alarm systems, etc., many of them are based on single-chip microcomputer.

The application of single chip microcomputer around us

We know a lot about the applications of microcontrollers, but it seems that they have no direct connection with our lives. However, this is not the case. Let me give you some examples.

When I was young, like many people, I loved toy cars. I saw remote control cars for sale in the mall and wanted one very much, but my family was not well off at the time, so I didn't buy one in the end. I later thought about making a remote control car myself, but I felt it was too difficult and never made it. Later, when I went to college, I came into contact with microcontrollers and found that microcontrollers were so powerful. It was also because of my interest that I easily made a remote control car in a few weeks.

In the dormitory, people often forget to bring their keys, or they go out for something that is inconvenient to bring their keys, such as going to play basketball. Then several people come back together, staring at each other, none of them took the key, and the door could not be opened, so they had to ask for help from the building manager. So I installed an electronic password lock on the dormitory door. There are buttons and indicator lights outside the door, and a single-chip microcomputer and a motor inside the door. The motor can open the door through a thin wire. You may worry about security issues, but in fact, there is no need to worry at all. Our password lock will only start the motor to open the door when the single-chip microcomputer works normally and the password is entered correctly. The password can be modified at will. If you want, you can enter a password of hundreds of digits. Of course, there is no need for this. If you enter the wrong password three times in a row, the red light will turn on and lock it, and you are prohibited from trying to enter the password again. It will take a few minutes to unlock it. So it is not realistic to try out the password. If the single-chip microcomputer is unfortunately out of power or the password lock is broken, don't worry. Its working principle determines that in that case, you just can't enter the password to open the door, and it is impossible for the door to be opened by the motor by itself. So the security is beyond doubt.

 

 

The remote control password door lock I made

If you get up early in the morning, you often can't get up. Referring to the solutions on the Internet, I designed an alarm clock that can simulate the process of the morning sun rising and the room gradually getting brighter. Half an hour before the alarm, the lighting will slowly light up. Then because of the light, people will slowly wake up. If the scheduled time comes and the person hasn't gotten up yet and presses the switch to confirm that he has gotten up, the alarm will start to ring. And the switch can be set far away from the bed, so that the alarm can only be turned off when you get up, so as not to miss the time to get up and fall asleep again.

There are many similar small productions. For example, someone made a "confession artifact" heart-shaped dot matrix, which is a must-have gift for the girl you like. There are also various very beautiful clocks, digital photo frames, electronic candles, light cubes, etc. There are also foreign experts who use single-chip mechanisms to make various interesting gadgets, and even simple e-book readers made with single-chip microcomputers. Readers who like model airplanes and robots can also use single-chip microcomputers to make these things. Later, some preliminary explanations will be given on the electromechanical control of single-chip microcomputers. At the end, several project examples will be introduced, and interested readers can also try to make them.

Microcontrollers are as ubiquitous as cockroaches, and have a huge impact on our lives...

================================================== =====

Keywords:MCU Reference address:Microcontroller beginner's guide (2) Ten thousand reasons to fall in love with microcontrollers

Previous article:Microcontrollers for Beginners (1) The Past and Present of Microcontrollers
Next article:Microcontroller beginner's guide (3) Encountering 51 microcontroller

Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号