Cov txheej txheem:

Ua Lub Tsev Tswj Xyuas Ntse Tsev ntawm STONE HMI Disp: 23 Cov Kauj Ruam
Ua Lub Tsev Tswj Xyuas Ntse Tsev ntawm STONE HMI Disp: 23 Cov Kauj Ruam

Video: Ua Lub Tsev Tswj Xyuas Ntse Tsev ntawm STONE HMI Disp: 23 Cov Kauj Ruam

Video: Ua Lub Tsev Tswj Xyuas Ntse Tsev ntawm STONE HMI Disp: 23 Cov Kauj Ruam
Video: tuav wb lub neej kom ruaj khov - Mang Vang ft. Christina Xyooj [Official Audio] 2021-22 2024, Kaum ib hlis
Anonim
Ua Lub Tsev Tswj Xyuas Ntse Tsev ntawm STONE HMI Disp
Ua Lub Tsev Tswj Xyuas Ntse Tsev ntawm STONE HMI Disp

Kev qhia ua haujlwm

Cov lus qhia hauv qab no qhia koj yuav siv lub STONE STVC050WT-01 kov zaub module ua kom yooj yim tswj cov cuab yeej siv hauv tsev.

Kauj Ruam 1: STONE STVC050WT - 01 TFT LCD Zaub Module

STONE STVC050WT - 01 TFT LCD Zaub Module
STONE STVC050WT - 01 TFT LCD Zaub Module

STONE STVC050WT - 01 qhov kev txhawb nqa kov zaub module yog 5 ntiv tes, 480 * 272 kev daws teeb meem ntawm tus qauv tau muab tso ua ke thiab kov lub vijtsam tsav tsheb xav tau cov chips, cov tsim tawm xav tau tsuas yog hauv STONE, tus nom VGUS tsim software cuam tshuam nrog UI interface tsim thiab tsim rub tawm cov ntaub ntawv mus rau STONE display module, thiab tom qab ntawd dhau ntawm qhov chaw nres nkoj txuas (RS232 / RS485 / TTL) sib raug nrog nws, koj tuaj yeem ua qhov nyuaj tsim UI. Cov txheej txheem yog raws li hauv qab no:

Kauj Ruam 2: Cov Duab Hauv Qab No Qhia Qee Qhov Tsis Zoo ntawm STONE STVC050WT-01 Zaub Module:

Cov Duab Hauv Qab No Qhia Qee Qhov Tsis Zoo ntawm STONE STVC050WT-01 Zaub Module
Cov Duab Hauv Qab No Qhia Qee Qhov Tsis Zoo ntawm STONE STVC050WT-01 Zaub Module

STONE STVC050WT-01 :

Cov qauv ntsuas no tsuas yog ib qho ntawm ntau hauv kab ntawm cov khoom no. Muaj ntau ntau lwm cov qauv duab muaj nyob hauv kev teeb tsa sib txawv. www.stoneitech.com

Kauj Ruam 3: STONE Display Module Development Peb Kauj Ruam

1. Tsim UI nrog STONE TOOL software thiab rub tawm cov ntawv tsim tawm mus rau cov qauv duab.

2. MCU sib tham nrog STONE display module los ntawm cov chaw nres nkoj.

3. MCU ua lwm yam haujlwm raws li cov ntaub ntawv tau txais hauv qib 2.

Kauj Ruam 4: UI Interface Tsim:

UI Interface Tsim
UI Interface Tsim

Hnub no peb tau ua cov khoom siv hauv tsev yooj yim tswj. Los ntawm Photoshop, Kuv tsim cov interface yooj yim hauv qab no:

Kauj Ruam 5: Muaj nuj nqi:

Muaj nuj nqi
Muaj nuj nqi

thaum khawm lub teeb nyem, nplooj ntawv dhia mus rau 2, qhia qhov hloov pauv ntawm peb lub teeb. Thaum lub khawm qhib/tua lub teeb nyem, qhov chaw nres nkoj txuas ntawm lub vijtsam module teeb meem qhov hloov pauv teeb liab raws tu qauv. MCU sab nraud tuaj yeem xa cov ntaub ntawv ncaj qha mus rau lub vijtsam ntsuas los ntawm chaw nres nkoj txuas. Cia lub vijtsam tso saib lub teeb hloov lub xeev ncaj qha.

Kauj Ruam 6: Txoj Haujlwm Tshiab Nrog Lub Pob Zeb Zaub :

Ntawm STONE lub vev xaib, peb tuaj yeem rub tawm qhov hloov tshiab kawg ntawm STONE TOOLS 2019 software, los ntawm qhov uas peb tuaj yeem tsim UI:

www.stoneitech.com/support/download/software

Kauj Ruam 7: STONE TOOL Yog GUI Tsim Software

STONE TOOL Yog GUI Tsim Software
STONE TOOL Yog GUI Tsim Software

STONE TOOL yog GUI tsim software uas tsis xav tau kev teeb tsa. Tom qab rub tawm, nws tuaj yeem qhib ncaj qha thiab khiav los ntawm decompression. Nws yuav tsum raug sau tseg tias cov software no yuav tsum tau ua kom zoo ib yam ntawm Windows8 thiab Windows10 systems

Kauj Ruam 8: Nyem rau ntawm "Duab" Cov Npe thiab Rho Tawm 0.jpg

Right-click lub
Right-click lub

Txij li thaum kuv tab tom siv STVC050WT-01 nrog daws teeb meem 480*272 thiab lub neej ntawd Flash qhov loj me ntawm 128Mbyte (nthuav dav rau 1024MByte), Kuv tau xaiv 128Mbyte.

Teem txoj haujlwm npe thiab txoj hauv kev cia, thiab nyem "OK" kom ua tiav. Txoj cai-nias rau kab "Duab" thiab rho tawm 0.jpg:

Kauj Ruam 9: Ntxiv UI Duab hauv Pob Zeb Tuam:

Ntxiv UI Duab hauv STONE TOOLS
Ntxiv UI Duab hauv STONE TOOLS
Ntxiv UI Duab hauv STONE TOOLS
Ntxiv UI Duab hauv STONE TOOLS
Ntxiv UI Duab hauv STONE TOOLS
Ntxiv UI Duab hauv STONE TOOLS

Txoj cai-nias rau kab "duab" thiab ntxiv ob UI ICONS peb tau npaj rau txoj haujlwm:

Kauj Ruam 10: Ntxiv Lo Lus Tshuag hauv STONE TOOLS

Ntxiv Lo Lus Tshuag hauv STONE TOOLS
Ntxiv Lo Lus Tshuag hauv STONE TOOLS

Txoj cai nas nias "Font file", xaiv qhov tsim nyog Font ntxiv rau txoj haujlwm.

Ntawm no kuv xaiv ASCII 24 los ntawm 48.

Kauj Ruam 11: Ntxiv Khawm

Ntxiv khawm
Ntxiv khawm

Peb yuav tsum teeb tsa lub luag haujlwm ntawm "Lub Teeb" hauv thawj UI ntawm STONE TOOL software:

thaum peb nyem lub pob "Teeb", peb yuav dhia mus rau nplooj ntawv thib ob.

Yuav ua li cas?

Nyem rau "Button" icon los kos thaj tsam ntawm Khawm:

Kauj Ruam 12: Khawm Cov Khoom Muaj Npe Hauv Cov Khoom Bar ntawm sab xis ntawm STONE TOOL Software

Khawm Cov Khoom Muaj Npe Hauv Cov Khoom Bar ntawm Txoj Cai ntawm STONE TOOL Software
Khawm Cov Khoom Muaj Npe Hauv Cov Khoom Bar ntawm Txoj Cai ntawm STONE TOOL Software

Thaj chaw daj sawv cev rau thaj tsam khawm uas tus neeg siv tau kos. Cov khoom khawm tau teev tseg hauv cov khoom bar ntawm sab xis ntawm STONE TOOL software:

Tsuas yog teeb tsa "nplooj ntawv hloov pauv" rau 1 txhawm rau hloov mus rau nplooj ntawv thib ob thaum lub pob nyem.

Kauj Ruam 13: "Tsim Cov Ntaub Ntawv Kho Mob" hauv "Tool" thiab Tom qab ntawd "Virtual Serial Port Screen"

Duab
Duab

Kauj Ruam 14: Tom qab ntawd Peb Mus Ua Ntej thiab Hloov Xub nyob rau Sab Leeg Sab Pem Hauv Ntej ntawm Nplooj 2 mus rau Khawm:

Tom qab ntawd Peb Mus Ua Ntej thiab Hloov Xub nyob rau Sab Qaum Teb Sab laug ntawm Nplooj Ntawv 2 mus rau Khawm
Tom qab ntawd Peb Mus Ua Ntej thiab Hloov Xub nyob rau Sab Qaum Teb Sab laug ntawm Nplooj Ntawv 2 mus rau Khawm

Thaum tus neeg siv nias lub pob no, nws rov mus rau thawj nplooj ntawv.

Kauj Ruam 15: Ntxiv Cov Ntawv Qhia :

Ntxiv Text Display :
Ntxiv Text Display :
Ntxiv Text Display :
Ntxiv Text Display :

Siv cov ntawv nyeem sib txawv tswj, ncig qhov chaw dawb tom qab "light1":

Kauj Ruam 16: Tom qab ntawd Nyem rau Cov Ntawv Tsis Txaus Nyiam Ntxiv, thiab Cov Khoom Sib Txuas yuav tshwm ntawm sab xis ntawm Pob Zeb TOOL Software, Feem ntau hloov pauv cov hauv qab no:

Tom qab ntawd Nyem rau Cov Ntawv Tsis Txaus Nyiam Ntxiv, thiab Cov Khoom Sib Txuas yuav tshwm ntawm sab xis ntawm STONE TOOL Software, Feem ntau hloov pauv cov hauv qab no
Tom qab ntawd Nyem rau Cov Ntawv Tsis Txaus Nyiam Ntxiv, thiab Cov Khoom Sib Txuas yuav tshwm ntawm sab xis ntawm STONE TOOL Software, Feem ntau hloov pauv cov hauv qab no

Ntawm lawv, "Hloov pauv nco ntxiv" hais txog lub cim xeeb chaw nyob uas cov ntsiab lus tso tawm tau khaws cia. Ib qhov chaw nyob tuaj yeem khaws ob bytes. Peb lub ntsiab lus tso tawm tsis raug yog "OFF", uas xav tau peb bytes ntawm qhov chaw nco. Qhov no txhais tau tias peb khaws "OFF" hauv chaw nyob 0020 thiab 0021.

Kauj Ruam 17: Khawm Nrog Tus Nqi Rov Los:

Khawm Nrog Tus Nqi Rov Los
Khawm Nrog Tus Nqi Rov Los

Kev tswj hwm peb siv saum toj no yog "Khawm". Qhov kev tswj hwm "Khawm" no tsis xa rov qab tus nqi, uas txhais tau tias thaum tus neeg siv nias lub pob, qhov chaw nres nkoj ntawm cov qauv duab tsis xa cov ntaub ntawv mus rau MCU.

Yog tias tus neeg siv nias lub pob thiab xav kom lub vijtsam rov qab xa cov ntaub ntawv mus rau MCU, peb tuaj yeem siv "rov qab nias qhov tseem ceeb-tus nqi" tswj:

Kauj Ruam 18: Cov Khoom Bar tau teeb tsa raws li hauv qab no:

Cov Khoom Bar tau teeb tsa raws li hauv qab no
Cov Khoom Bar tau teeb tsa raws li hauv qab no

Kauj Ruam 19: Rub tawm UI Tsim Cov Ntaub Ntawv rau Zaub Module :

Rub tawm UI Tsim Cov Ntaub Ntawv rau Zaub Module :
Rub tawm UI Tsim Cov Ntaub Ntawv rau Zaub Module :

1. Txuas lub USB flash drive rau hauv lub computer

2. Nyem rau Download rau u-disk khawm ntawm STONE TOOL box3. Rub tawm lub USB flash disk

4. Ntxig lub USB disk mus rau hauv USB interface ntawm cov zaub module thiab tos kom ua tiav ntawm kev txhim kho. Thaum qhov kev hloov kho tiav, yuav muaj lub suab sai

5. xeem

Kauj Ruam 20: Kev Sib Txuas Lus Port

Ib Qhov Chaw Sib Txuas Lus Sib Txuas
Ib Qhov Chaw Sib Txuas Lus Sib Txuas

Qhov tseem ceeb-tus nqi rov qab

Tom qab rub tawm qhov program mus rau lub teeb pom kev, qhib nws, txuas lub khoos phis tawj los ntawm qhov chaw nres nkoj txuas ntawm USB-TTL, nias lub pob nyem ntawm Light1, thiab xa rov qab cov ntaub ntawv chaw nres nkoj: a55a 06 83 00 26 01 00 A8

Kauj Ruam 21: Nias Lub Khawm kom Tua Lub Teeb

Nias lub khawm kom Tua Lub Teeb
Nias lub khawm kom Tua Lub Teeb

Cov ntaub ntawv xa rov qab:

A5 5A 06 83 00 26 01 00 A9

A5 5A: thav duab header06: kev qhia byte ntev, 83 00 26 01 00 A9 tag nrho 6 bytes (tsis suav cov ntaub ntawv thav duab taub hau)

83: nyeem qhia kev nco sib txawv

00 26: chaw nyob sib txawv cia

01: cov ntaub ntawv lo lus ntev, 00 A9 : 1-lo lus ntev (2 Byte) 00 A9: cov neeg siv cov ntaub ntawv cov ntsiab lus, nyob ntawm cov yuam sij teeb tsa.

Kauj Ruam 22: Sau Cov Ntaub Ntawv Sau Npe

Cov lus qhia no sau 55 aa los hais lus 0x0020 hauv thaj chaw khaws cov ntaub ntawv:

0xA5 0x5A 0x05 0x82 0x00 0x20 0x55 0xaa

Txij li thaum peb tau teeb tsa Light1 cov ntawv sau cia chaw nyob rau 0x0020, sau cov ntaub ntawv rau qhov chaw nyob no siv lub chaw nres nkoj txuas yog sib npaug hloov cov ntsiab lus ntawm Light1 cov ntawv sau lub thawv.

Kauj Ruam 23: Nyeem Cov Ntaub Ntawv Sau Npe

Qhov chaw nres nkoj txuas xa cov lus txib hauv qab no mus rau cov qauv zaub:

0xA5 0x5A 0x03 0x83 0x00 0x20 Sawv cev tus nqi ntawm kev nyeem 0x0020, thiab hauv txoj haujlwm hloov pauv, sawv cev rau lub xeev hloov ntawm kev nyeem teeb.

Pom zoo: