Solutions to the Embedded Group of the 13th Blue Bridge Cup in the first half of 2022

Table of contents

foreword

1. Objective questions

2. Programming questions

 2.1 The functions required by the topic are as follows:

 2.2 Precautions:

3. Summary of the competition


foreword

        The embedded group of the 13th Blue Bridge Cup Competition in the first half of 2022 has been over for a while, and recently I want to summarize the questions and my own answers.

        The development board I used is the old version of the STM32f103 series development board CT117E (it is recommended to use a new development board to learn, because the competition organizing committee will gradually eliminate the old development board), the library used is the standard library , and the programming software is keil5 MDK version .

1. Objective questions

        You don’t need to spend too much thought on the objective questions of the competition. About a week before the competition, just go to the real questions of previous years’ competitions.

I uploaded the previous objective questions and programming questions to Baidu Netdisk, if necessary, you can download them directly:

Link: https://pan.baidu.com/s/1P7HkaLIjwY1IUQ3ASr4s2g 
Extraction code: cfp1

In the first half of 2022, the 13th Blue Bridge Cup embedded group competition questions:

Link: https://pan.baidu.com/s/1JDJ53Xgj0iU3861Xb55sLw 
Extraction code: dw11

2. Programming questions

        When programming, use the routines provided by the Saidian resource package and modify them on the basis of them.

        Seeing the hardware block diagram, you should be able to feel that it is similar to the previous year's topic inspection content, and there is no major innovation. This competition mainly inspected: LCD display, LED indicator light, key input, serial port communication and PWM signal output.

        The focus is on serial communication and PWM signal output. If the standard library can be used to quickly design these two modules before the competition, then the design of each module of the entire program can be quickly completed during the competition.

 2.1 The functions required by the topic are as follows:

        In general: set and modify a 3-digit password through the serial port, and then press the keys on the development board to enter the password and confirm it; when the password is correct or incorrect, the PWM output, LED light and LCD display will be displayed separately. present in different states.

2.2 Precautions:

1. The topic has the following requirements for performance: (in fact, there is no need to pay too much attention, basically there will be no major problems)

2. There are strict requirements for LCD display, which need to be realized according to its requirements;

3. When implementing the serial port function, pay attention to your end sign, otherwise there may be errors when testing your work in the competition (I feel that my work may not meet the test requirements here).

3. Summary of the competition

        I also made some preparations in the early stage of this competition, studied each module carefully, and practiced several sets of real questions from previous years; I answered the objective questions of the competition well, and all the functions of the programming questions were realized; But the results of the competition were not very good. Maybe I was too focused during the competition, and the mobile phone that turned on the Tencent conference invigilator behind me was out of power and turned off. After reconnecting to the conference, a lot of points should be deducted; there is also a serial port. Communications may not meet the requirements of the test. I hope that I can do more meticulously in the future, don't make some mistakes that shouldn't be made (such as turning off the mobile phone), and strive to do better in the future.

The resource package and source program files of this competition have been uploaded to Baidu Netdisk, if necessary, please download them yourself:

Link: https://pan.baidu.com/s/1Qxo6eyxxLi6vaxf7QXrX3Q 
Extraction code: ewsk

If you have any questions, welcome to private message.

Hope this article can help you.

If you have any errors, questions or infringements, please leave a message to contact the author. 

Bang bang cha! title

 

Guess you like

Origin blog.csdn.net/qq_51399582/article/details/126335899