During the 51 experiment, 1602 could not display characters

Updated on technology 2024-04-20
15 answers
  1. Anonymous users2024-02-08

    I don't see the rw (read-write selective) configuration in your Write Data and Write Command functions, try adding lcd rw=0

  2. Anonymous users2024-02-07

    First of all, I will tell you that 1602 LCD, 16 refers to 16 numbers or letters per line, and 02 refers to 2 lines of display, which is his name; It can't show Chinese characters, it can display Chinese characters is 12864, according to the naming rules of 1602, you should know what 12864 is like, right? I'm not going to be wordy, you want to realize the snake on the LCD, first of all, tell you to use 1602 and don't say no, it's okay, that snake can only pass through two lines at most, obviously not what we want. Therefore, I suggest that you use 12864, with 12864 and the minimum system of single-chip microcomputer, and 12864 to drive the rest are not needed, and then start programming and implementing.

  3. Anonymous users2024-02-06

    uchar code table="zhang";

    This should be an array of definitions converted into LCD characters, and everything I've seen is defined like this:

    uchar code table=;

    uchar code table1=;

    I feel like your array definition is a little strange.,It seems to be a defined string.,I did a while ago1602LCD keyboard display.,It is recommended to change the way the array is defined.,Then check the error.,If it doesn't work.,You can try to start with 2 letters first.,The program is written short.,Check step by step,I will definitely be able to find out,I wish you success!

  4. Anonymous users2024-02-05

    There is a cursor flashing to indicate that the display is normal, you think, the cursor should flash in hail, the display is no problem with initialization, the transmitted data is no problem, and the display is no problem. Because its sparkle is command-controlled.

    Now you can check the virtual accompaniment based on the flashing cursor to see if it is a contrast or brightness issue. Check the hardware first, if not, measure the interface voltage of the two boards, and compare and find.

  5. Anonymous users2024-02-04

    If the microcontroller used is the same, please check the hardware circuit, most likely the contrast of the LCD is too low, adjust the contrast potentiometer.

  6. Anonymous users2024-02-03

    Hehe、、、 after reading this program, you should be looking at Guo Tianxiang's single-chip microcomputer learning materials, and see that there is no clear 0, but your program has a command to clear 0 on the screen (write com(0x01)).

    If the program is correct, you try to adjust the fine tuning resistor on the top of the experimental board to see, this should be the contrast problem of your LCD.

  7. Anonymous users2024-02-02

    Try to increase the delay a bit, some liquid crystal response speed is slow, your command or data is sent fast, it will be confused, the characters are incomplete or wrong.

  8. Anonymous users2024-02-01

    The delay time is too short, you can try to change the delay() bracket to 1000.

  9. Anonymous users2024-01-31

    The character generation memory (cgrom) inside the 1602 LCD module has stored 160 different dot matrix character graphics, these characters are: Arabic numerals, the case of English letters, commonly used symbols, and Japanese kana, etc., each character has a fixed **, such as the capital English letter "a" ** is 01000001b (41h), when the module displays the dot matrix character graphics in the address 41h, we can see the letter "a".

  10. Anonymous users2024-01-30

    Can you attach the lcd write() program to show me?

  11. Anonymous users2024-01-29

    The donkey's head is not in the horse's mouth, and the picture is a digital tube, and there is no latch, and the latch is defined in the program.

    Eventually, the display function becomes a liquid crystal display function again.

    Be sure to figure out the hardware principle before talking about the program.

  12. Anonymous users2024-01-28

    The potentiometer can only adjust the contrast. Don't think that if you get the program right, you can succeed if you get the pins right. You must know that theory and reality are fundamentally different things.

    In the past, I used Guo Tianxiang's program to enter the single-chip microcomputer as it was, but I still made mistakes, and finally I found out the mistakes of Guo Tianxiang's program. It's hard for me to solve your problems on the computer, and you have to go through the process and the hardware step by step to succeed and make progress.

    If it's convenient, you can upload the source **c program (if you absolutely believe that the program is okay, then you don't need it).

  13. Anonymous users2024-01-27

    The voltage of the v0 pin is not adjusted, and the voltage divider of an adjustable resistor of about 10k is adjusted as the input until the display is clear! That's it!

    If there is a foot in the air, there is basically no partial pressure, and the words displayed may not be recognizable. So after adjusting it for a long time, I feel that it has no effect. There is also the value of the resistance is related to the display effect, I don't know why, but the actual experiment is like this, don't choose too small adjustable resistance, more than 10k is appropriate.

  14. Anonymous users2024-01-26

    Probably a driver issue.

  15. Anonymous users2024-01-25

    Wouldn't it be nice to ground R s or R W?

    Is your LCD in serial mode or parallel mode?

    If the serial port is E connected to the MCU, R W is connected to the ground, R S is connected to the MCU, DO-D3 is empty, and D4-D7 is connected to the MCU

    If it is parallel, all data cables are used.

    You may be empty, the liquid crystal does not have an enabling signal, and it does not work.

Related questions
25 answers2024-04-20

My feeling is that I am very free, I can do whatever I want, because you know that you are dreaming, for example, I dream that someone is chasing me, I am tired of running, and I can't beat people, in the dream I will choose to go to the roof of a high-rise building and jump down, and then it will be dark, but there will be a feeling of weightlessness, I will not wake up, and then redo the next dream, anyway, when I have this kind of dream, I enjoy it a lot. ‍‍

13 answers2024-04-20

with a wiping cloth; Lay down horizontally; Drop dilute iodine around the coverslip and wipe off excess staining solution; And use a dropper to drop a drop of water on the slide**. >>>More

18 answers2024-04-20

1。Limewater.

Because carbon dioxide reacts with lime water to form a white precipitate, the solution changes from clear to turbid. >>>More

21 answers2024-04-20

Doors and windows should be opened to maintain ventilation throughout the treatment process. In the treatment process, the free formaldehyde in the wood-based panel will volatilize with the evaporation of the water of the agent, and the water will evaporate the most within 1 hour after the product is painted, so the indoor formaldehyde concentration will increase in the process of treatment, so the treatment should be carried out in a state of ventilation to ensure the physical safety of the treatment personnel.

25 answers2024-04-20

In fact, to take the DAF test, you don't have to be able to understand every listening sentence. Just like taking English IELTS and TOEFL, not everyone can understand everything, it mainly depends on your German foundation and whether you have that sense of language. Of course, as far as the listening part is concerned, at least 80-90% of them must be able to understand, and if you read, you can at least understand the overall meaning of the article. >>>More