Design of led display interface circuit for single-chip computerThere are many ways to design the single-chip LED display interface circuit. The following are the common points:
** 1. Parallel port display **
1. ** Resource Usage **
- This method would take up a lot of port resources of the single-chip computer. However, using chips like the 8279 could achieve dynamic display, so it was relatively easy to write programs. However, it was not recommended for designs where the parallel port of the single-chip needed to connect to many devices, because it would exhaust the parallel port resources.
2. ** Principle example **
- For example, in some designs, if the C2051 single-chip computer was used, the cheap and easily available 74LS164 and 74LS138 could be used as expansion chips. The 74LS164 is an 8-bit serial-in and serial-out shift register. It can decode the serial data output from the C2051 serial communication port and output it on its parallel port line to drive the LED digital tube. The 74LS138 was a 3 - 8 decode that would decode the address signal from the single-chip processor and drive the corresponding LED. Due to the low current drive capability of the 74LS138, the final driver 2SA1015 was sometimes used as the address driver. The segments of the four LED were connected together, and their public end was gated by 74LS138 to achieve a dynamic scanning display mode.
** 2. The serial port is displayed **
1. ** Resource utilization advantage **
- When the number of parallel I/O ports of the single-chip computer is limited and needs to be used for other more important purposes, you can consider using the serial port display. For example, the serial communication port of the 80C51 was a powerful and easy to use communication port that could be used for display driver circuits. With two serial communication port lines and two ordinary I/O ports, a 4-bit LED display circuit could be designed; with two I/O port lines, an 8-bit LED display circuit could be easily realized.
2. ** Program Writing Characteristics **
- When using the serial port for LED communication, the programming was quite simple. The user only needed to send the data to be displayed directly to the serial port sending buffer and wait for the serial interrupt.
** 3. Digital Tubes **
1. ** Principle of display **
- The LED digital display was a display device that used a combination of LED light emitting devices to display characters. Usually, eight LED light emitting devices were used, of which seven were used to display characters and one was used to display the decimal point. It was called a 7-segment (also known as an 8-segment) LED digital display. In order to display the characters, the LED display had to be provided with a display segment code (or glyph code). The corresponding relationship between the code positions of each segment was related to the seven segments that formed the "8" character and the decimal point.
2. ** Connection Method **
- The LED digital display had a common positive pole connection method.
** 4. Other considerations **
1. ** Current limiting resistance **
- The resistance in the circuit played a role in limiting the current, which was used to reduce the current flowing through the LED to prevent damage to the LED lamp. Take the red chip LED as an example, its working voltage range is 1.6V to 2.4V. If the power supply voltage is 5V, the appropriate series resistance should be calculated according to Ohm's law. For example, the voltage across the resistance is the power supply voltage minus the LED voltage drop (5 - 1.8 = 3.2V), and then the resistance value is calculated according to the expected current value (Assuming that the current through the LED is 3.2mA, the resistance value is 3.2V/3.2mA = 1k Omega).
2. ** Pull-up Resistors (if involved)**
- The choice of the pull up resistance needed to balance power consumption, driving ability, and circuit speed. In order to reduce power consumption and chip sink current, the resistance value should be as large as possible; in order to ensure sufficient drive current, the resistance value should be as small as possible; in high-speed circuits, too large a pull up resistance may cause the signal edge to become smooth. Usually, the value of the pull up resistance is selected between 1k Omega and 10k Omega.
3. ** Filter-filter (if involved)**
- There were two types of filter condensers: high frequency and low frequency. The high-frequency filter usually uses a 0.1 microF filter, which is used to short-circuit high-frequency noise and protect the circuit from interference. The low-frequency filter usually uses a 100 microF aluminum filter, which is used to filter out low-frequency ripples and stabilize the power supply. These are usually installed next to the power interface or high-power components, such as USB interface or stepping motor.
<a href="/?from=ask_words" style="color:red" target="_blank">Read more exciting novels for free</a>
Who are the four male leads of Everlasting Lovesickness?The four main male characters in " Everlasting Lovesickness " were respectively, Cang Hu, Tushan Jing, Xiangliu, and Chishui Fenglong. Canghu was Xiaoyao's cousin. He had a rough life. His parents died and he was targeted since he was young. In order to unify the vast wilderness, he was addicted to power. Although he was infatuated with Xiaoyao, he valued the country too much and eventually parted ways with Xiaoyao. Tushan Jing was saved by Xiaoyao. He was gentle like jade, and he knew how to repay kindness. He was the first person that Xiaoyao had fallen for. Although there was a misunderstanding between them, they eventually lived a happy life in the mountains. Xiang Liu was a general. He was the most infatuated. Because of their different standpoints, he could only protect Xiaoyao silently. He even planted love gu in Xiaoyao. In the end, in order to make Xiaoyao happy, he chose to bear the pain alone and died on the battlefield. Redwater Fenglong was a capable general of Dang Hu and also a life-and-death friend of Tushan Jing. He was engaged to Xiaoyao by accident. He devoted himself to his career, and in the end, he died under Xiangliu Arrow to save Dang Hu.
Had he not watched enough of Long Lovesickness 2? Hurry up and read the original work of " Everlasting Lovesickness 2: A Vow of Love "!
Zhang Wanyi's latest news in 2024In 2024, Zhang Wanyi had many new developments. The "Beautiful Peace" that he participated in had its premiere on October 10th. The peak ratings and popularity were good. In the play, he partnered with Ren Min as Luo Shenyuan. He had many wonderful scenes with Luo Yining, who was played by Ren Min. The plot included elements such as house fights and the mystery of life experience. The relationship between the two of them gradually developed from a sibling relationship to a relationship beyond ordinary siblings.
In addition, there was also information about many of his works in the summer of 2024. "Everlasting Lovesickness 2" was released on July 8th. He played the role of, continuing the story of the first season and showing the changes in the character's heart. There was also "The Story of the Willow Boat"(also known as "Begonia Laughing at the Spring Breeze "), which was scheduled to be aired in August. He would play Cui Xingzhou and partner with Wang Churan, telling the story of the amnesiac female bandit chief and the black-bellied King of Huaiyang.
In terms of image and attitude, the contrast between his performance at Fashion Week and the new drama caused a heated discussion. At Fashion Week, his aura was fashionable, but in the new drama, he completely transformed into a character image. This change made the netizens have different opinions. Some were surprised, some understood and praised his acting skills, and some were worried that the audience would not be able to adapt to the change. However, overall, it reflected his attempt and challenge of different styles.
Had he not watched enough of Long Lovesickness 2? Hurry up and read the original work of "Everlasting Lovesickness 2: A Vow of Love"!
Xi'an kindergarten graduation ceremony planningThe following is an example of a graduation ceremony for a kindergarten in Xi'an:
##1. Event Themed
"Happy childhood, happy growth" and other topics that could reflect the growth of children and positive emotions.
##2. Activity Target
All the children, parents, and teachers in the first class.
##3. Activity Target
1. ** For young children **
- Challenge yourself bravely during the activity, cultivate self-confidence, responsibility, and perseverance, and obtain learning methods.
- Through these activities, they would feel nostalgic for kindergarten life and yearn for primary school life, and experience the sense of accomplishment and happiness of graduation.
2. ** Teachers **
- They would form the planning and organizing ideas for the graduation ceremony and organize the work in an orderly manner with clear responsibilities.
- To implement the concept of "activities are courses" in the activities.
##IV. Anticipated Effect of the Event
1. Children can actively display themselves in activities, showing their understanding and positive feelings for graduation.
2. Teachers were able to successfully organize activities to achieve both educational and memorable purposes.
##5. Activity
1. ** Plan Development (February 18-March 22)**
- ** February 18th-February 23rd **: Based on the kindergarten's training goals, reference to previous graduation ceremony plans, and based on the children's experience, determine the core values, goals, and tone of the activity.
- ** February 25th-March 8th **: Have a discussion with the park leaders, activity leaders, and teachers of the large classes to clarify the ideas and goals of each stage of the activity. Each class declared their own program, and after the review of the grade group, the program was determined and the first draft was formulated.
- ** March 11th-March 15th **: The park leaders and activity leaders will review the graduation ceremony plan.
- March 22nd: Finalize the graduation ceremony plan.
2. ** Organization and implementation (March 25-June 17)**
- ** Program Rehearsal **: Each class rehearses the program to be displayed. The program must reflect the educational achievements of the past three years or the improvement of the children's ability. For example, there can be programs that reflect the joy of kindergarten life, programs that yearn for primary school, and programs that express gratitude and farewell.
- ** Information preparation **
- Each class carefully filled in the graduation handbook, divided it into three copies and tied them with red ribbons, and prepared three representatives of the children to go on stage to receive the handbook during the performance.
- Choose a small host, parent representative, child representative, teacher representative, and prepare a speech.
- Arrange for photography and video recording personnel.
- He was going to set up the venue, prepare the sound system, the corresponding props for the program, the background and music for "Growing Up".
- He issued an invitation letter to the parents and informed them of the activity process.
3. ** An example of the process on the day of graduation ceremony (Assuming 9:00 - 10:00)**
- ** Opening (9:00 - 9:10)**
- Amid the beautiful music, the host made his entrance and announced the start of the graduation ceremony.
- ** Speech (9:10 - 9:25)**
- The principal expressed his ardent expectations and blessings to the children.
- The representative of the parents spoke to express their gratitude to the kindergarten and their wishes for the children's future.
- The children's representative spoke, expressing gratitude for the kindergarten time and their yearning for the future.
- ** Performance (9:25 - 9:45)**
- The children carried out carefully prepared performances. For example, the talent show segment could include guzheng solo, painting drama, family performance, ancient poetry skewers, dance, solo, gesture dance, etc. There could also be collective programs that reflected kindergarten life, yearning for primary school, gratitude and farewell, etc., such as lively sports games, baby's ability, I'm a junior doctor of science, etc.
- ** Review and outlook (9:45 - 9:55)**
- Play the growth video and look back at the children's three years of learning and life in kindergarten.
- ** graduation ceremony (9:55 - 10:00)**
- The principal would issue graduation certificates to the children, marking their official graduation. The children could hug the teacher and express their reluctance.
<a href="/?from=ask_words" style="color:red" target="_blank">Read more exciting novels for free</a>
Bai Xiaoqi's novelThere was a character named Bai Xiao Qi in the following novels:
- In a romance novel, there was a character called Bai Xiaoqi. There were plots such as her sister spending her mother's life-saving money.
- In a fantasy novel, Bai Xiao Qi heard someone shouting behind her. She turned around and saw a tall and handsome young man. His eyes were deep and bright, and there was a faint smile on his face. The blood on his feet was still wet, as if he had just been through a fight. Bai Xiao Qi and this youth had an interaction with the iron chain.
- In one story, there was a saying," What the hell is this Little Seven doing? Could it be that he has taken a fancy to this girl?" In such a scenario, Little Seven would interact with other characters regarding martial arts competitions.
<a href="/?from=ask_words" style="color:red" target="_blank">Read more exciting novels for free</a>
How to get people who follow the streamer into the group?Streamer can use the following methods to let people who follow him into the group:
1. The host went to the host center, live stream management, and fan group management. At the top right corner, he chose "Create a Group chats" to create a Group chats and start the live stream. Then, he chose "Three clicks" in the live stream room and "Setting-Fan Group Management" to open the application. This way, the fans could join the group smoothly.
2. In the live broadcast room, after the fans joined the fan club, they could click on the group in the upper right corner of the fan club panel and click on the Group chats function to apply to join the group.
3. The host could share the group password and add fans directly to invite fans into the group.
4. Before the broadcast, the host could inform the fans of the broadcast time in the fan group and remind the fans to enter the live broadcast room a few minutes before the broadcast.
5. By placing the fan group on the main page, fans could directly apply to join the fan group number on the main page.
<a href="/?from=ask_words" style="color:red" target="_blank">Read more exciting novels for free</a>
Can the child cough and have phlegm after catching a cold to heal himself? What medicine to take?Infants with cold, cough, phlegm, but no fever, mostly belong to upper respiratory tract infection, which has a certain self-limiting nature. Under normal circumstances, mild patients can heal themselves in about 1 week, but if the symptoms are serious or complicated with other diseases, they need to seek medical treatment in time. The specific recovery time needs to be judged according to the severity of the disease and the treatment effect.
If the symptoms are mild, the general condition is good, and no special treatment is usually needed. Parents are advised to help the baby drink more warm water to promote phlegm thinning and help discharge.
If the symptoms are severe or persist for a long time, medication may be needed. If the color of the expectoration is abnormal, accompanied by pus or blood streaks (Normal phlegm should be clear or white mucus. This abnormality may indicate a secondary infection, especially a bacteria infection.) At this time, antibiotics are usually needed, together with expectorant drugs to help clear the inflammation and phlegm in the airways. If cough is accompanied by chest pain or difficulty in breathing, it may indicate more serious respiratory problems, such as rheumatism, pneumonias, etc., you must seek medical attention as soon as possible and may need medication. Coughing for more than two weeks indicated that the repair of the respiratory tract was not completed. At this time, cough medicine could help alleviate the symptoms and prevent the development of chronic cough. Coughing frequently at night affected sleep. Taking cough or phlegm medicine at the right time could effectively relieve the symptoms and allow the body to recover better.
The commonly used medicines were as follows:
- Anti-phlegm drugs: ambroxol (such as ambroxol oral solution or tablets) is one of the common anti-phlegm drugs. It can effectively dilute phlegm and make it easier to cough out, thereby reducing the feeling of obstruction in the respiratory tract. It is especially effective for patients with excessive phlegm in the morning and sticky throat discomfort.
- Cough medicine: If it is a frequent cough, especially at night, the type of cough will not stop.(For example, Compound Codeine Phosphates oral solution) can usually effectively suppress the cough center and reduce the frequency of irritating dry cough. However, it should be noted that cough medicine can only be used for a short period of time and should not be relied on for a long time. Dextromethorphan is a common cough medicine that can suppress the cough center and reduce the number of coughs. Pholcodine is also a cough medicine. Its effect is stronger than that of dextromethorphan and is suitable for stubborn cough. Compound licorice tablet was a Chinese patent medicine that had the effect of dispelling phlegm and relieving cough. It contained licorice, platycorum, and other ingredients to relieve throat discomfort. Loquat cream was a traditional Chinese medicine preparation that had the effect of nourishing the lungs and relieving cough. It was especially suitable for dry coughs without phlegm. The choice of medicine had to be decided according to the specific symptoms.
<a href="/?from=ask_words" style="color:red" target="_blank">Read more exciting novels for free</a>
Does my genius girlfriend have an Atobu novel?" My Genius Girlfriend " was a novel written by an anonymous Italian writer, Elena Ferrante. There were four novels in total: " My Genius Girlfriend "," The Story of a New Name "," The Left and the Left ", and " The Missing Child." I didn't find anything related to Atobe, so I'm not sure if there's such a novel.
<a href="/?from=ask_words" style="color:red" target="_blank">Read more exciting novels for free</a>
Blue Storage BasketThe reference material mentioned the kindergarten toy corner storage basket (it did not mention whether the color was blue or not). It was a rectangular plastic basket, and the price was between 2.58 - 30.19. There was also a crocheting diagram of the blue storage basket, but there was no special explanation for the kindergarten blue storage basket. In addition, there was information about storage baskets of various materials and uses, but it was not directly related to the kindergarten blue storage basket. Therefore, there was less information about the blue storage basket in the kindergarten.
<a href="/?from=ask_words" style="color:red" target="_blank">Read more exciting novels for free</a>