210 Example: Use of HMI screen 1: Ideas

1. What I bought here is TJC's K series screen, which cannot parse audio and video. I feel like I bought it wrong.
Therefore, the HMI screen touch screen is used here, and the user login, buttons, and picture display functions are set in it, and the audio playback is used for the 210 audio playback.
Just put the speaker of the 210 development board next to the touch screen, otherwise the picture and sound will not be together, which is strange.
2. Thinking

The first page: user login,,, enter the user name and password. Learn how to implement this with HMI; it will jump to the second page, if it is wrong, it will prompt a warning.
The second page: The first page is entered correctly, you can enter this page.
Debug entry, click OK after debugging. It mainly controls the movement of each motor and receives the 0/1 signal of the sensor. On the touch screen, you can control the movement of the motor. You can also use a light to indicate whether the signal from the sensor is received.
There is a button, which is the OK button. Press it to exit the current The page, to the third page, is the promotion page.

The third page: the promotion page: mainly displays the promotion pictures, as well as the volume of the sound and so on. This sets a button to return to the debug window.

According to the above process; the learning content is:
1. PC installation and case test;
2. User login code;
3. Warning code;
4. Debug motor code:
5. Debug sensor code;
6. Propaganda page to generate one with timer The effect of picture switching.
7. Use sliding controls to adjust the volume.
8. Switch multiple pages;
9. Comprehensive.

Guess you like

Origin blog.csdn.net/lmf666/article/details/111222327