Yesterday we learned the basic operation buttons, and today we learn about digital works, and if I feel that blog update too fast, it does not matter, we can look back on my blog to the period of time in class to take advantage of community tuition, if I blog where there is a bad place to write, we do not think too much, tell me a comment, I promptly corrected, we will study together thing.
Our words Reformed turn, be more difficult due to the digital peripherals on the microcontroller 51, we on this blog, mainly about the principle of digital control.
We open the SCM schematic.
From the schematic information we can get is as follows:
- LED common cathode, because they have a common GND
- Single LED, is of a similar composition, i.e., eight small lamp a, b, c, d, e, f, g, dp, we want to let the digital display, may be composed of a digital "light" bright enough this is the digital tube segment selector.
- There are four digital microcontroller 51, then we should be how to make the digital display numbers, it does display numbers, which we then look at the schematic, the schematic, there are four pins are connected to the three tubes, transistors the characteristics of the hardware you should have learned a lesson, here the role of the equivalent of a switch, which controls four switches four digital tube, the opening, the closing, if the switch is turned on the first digital tube, how do you spot the first of eight small LED lights are not bright, the other too, we want the first digital LED display overall premise is that the master switch must be open, which was a selected digital tube.
Digital control principle is very important, it is difficult to know if lit! ! ! ! To seriously understand Oh
Finally, if I wrote the article really helped us a little favor, please do not hesitate to point a praise, if you want to learn together with my progress, you can focus on me, I QQ: 2992789432.