First, when you have an idea, write a functional block diagram like this so that you can understand what you want to do.
Without doing the chemistry part, we can have a preliminary understanding of the specific usage of the microcontroller.
However, since we have just started learning, we will implement each function one by one, and then implement this function in an overlapping manner. Do not delete the program that implements the function every week.
The first function is the breathing light. I watched the LED light video in the microcontroller by myself on the weekend of the first week, and posted the phenomenon of one light up every 3 seconds in the group. As of the date (3.14~3.21), experience: 40
The second function is the buzzer. In the second week, watch the buzzer video. Post in the group the phenomenon of the buzzer beeping once per second and the LED lighting up once per second. Deadline (3.21~3.28) Experience: 50
The third function is the key switch - after watching the key switch video in the third week,
1. An independent button is used as the start button, so that pressing the button will start the second function. Another independent button is used as the stop button, and pressing it will stop. The third button, when pressed, will speed up the buzzer beeping time. (Experience: 60)
2. Use the matrix keys as a numeric keyboard to light up the 8 lights in sequence. Press the number key 1 to light up every other light. Press the number 2 to light up every other two lights, and so on. Press the number key 9 to light up the lights in reverse order; press the number key 0, the number key 0, to light up all lights. (Experience: 70)
Deadline (3.28~4.11)
The fourth function is the digital tube - after watching the digital tube video in the fifth week,
Understand the difference between static and dynamic. The dynamic time will count down for 30 seconds. Experience: 50
Press the matrix button number key to enter the 6-digit password, and the digital tube will jump from displaying the time to displaying the input password. Experience: 50
Deadline (4.11~4.18)
The fifth function is to use Lcd1602,——After reading about lcd1602 and AD in the sixth week
LCD1602 display: BO0M: Countdown 30 seconds. Experience: 60
Rotate the potentiometer to change the buzzer frequency Experience: 60
Deadline (April 18 to April 25)
The sixth function is DS18B20,
Increase the temperature (you can pinch DS18B20 to increase its temperature) and speed up the countdown. Experience: 50
(If the temperature module is broken, the task will be changed to: if the 6-digit password entered by the digital tube does not match the original password, the buzzer will alarm)
Deadline (April 25 to May 3)
Week 8 - Make a real bomb, put it all together - implement a complete bomb timer, write a flowchart according to the function in the figure above (write a flowchart), which will be of great help to the logic of thinking. And realize the function.
Deadline()
Your weekly rating: https://yunxiaguang.github.io/jiang.github.io/html.html
The gameplay is updated every week. . . .
The key point, the most important thing: please don’t ask me privately. I haven’t learned the 51 single-chip microcomputer yet. If you go to Yangcun to ask other seniors, they are faster than me.
If you don't understand something about the program, you can discuss it in the group. If you have any questions about the microcontroller or the program in a private chat, I will not reply!
This is also for the sake of efficiency in answering questions. Sometimes a question may be repeated 8 times and answered tirelessly.
Don't say I'm exaggerating, this kind of situation happened several times when I was drawing AD.
Sometimes I answer a question 8 times, and you definitely can’t see the painful expression on my face.
If you don’t want the senior to give up teaching you, it’s best to look through the records in the group.
Also, don’t fall behind. Those who fall behind will understand the meaning of this sentence after two weeks.
Secondly, if you don’t have a microcontroller, it doesn’t matter. You can learn how to use multisim to build a circuit.
If you don’t want to learn, it doesn’t matter. After you get the microcontroller, just implement the above functions one by one and post them in the group.
It doesn't matter if you don't want to learn it, you can learn it in your sophomore year. It's just that I'm not very confident about participating in the electronic competition in my freshman year.
Let’s start playing. I hope that after you learn how to play, you will not do bad things and be good citizens.
Previous article:MCU timer
Next article:51 MCU Study Notes
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
- [RISC-V MCU CH32V103 Review] - 7: PWM is not simple either
- What you should know about LoRa frequency hopping spread spectrum communication principle
- The difference between pressure sensor and pressure transmitter
- GD32e231c_START development board, no response after template program is executed,
- [Flower carving hands-on] Interesting and fun music visualization series of small projects (03) --- RGB rhythmic lights
- Have you ever used a domestic DAC chip?
- Raspberry Pi 2 Model B Review - by freebsder
- Make a shy mask by yourself, shut up when you see people, and drink milk tea while wearing it
- Today at 10:30, Microchip's live broadcast with prizes is in progress...
- Current Sensing Using Nanopower Op Amps