LCD-akara ngosi

LCD wiki MRB3514 3.5inch 16bit Parallel Port RTP na CTP Module

LCD-wiki-MRB3514-3-ngwaahịa

Nkọwa ngwaahịa

Ngwaahịa a bụ 3.5-inch TFT LCD ngosi modul nke na-akwado ịgbanwee n'etiti ihuenyo mmetụ mmetụ na ihuenyo mmetụ capacitive. Ọ nwere mkpebi 480 × 320, na-akwado ngosipụta agba 16BIT RGB 65K, yana onye ọkwọ ụgbọ ala IC bụ ILI9488, nke na-eji nkwukọrịta ọdụ ụgbọ mmiri 16-bit yiri ya. The modul na-agụnye LCD ngosi, iguzogide ihuenyo mmetụ ma ọ bụ capacitance ihuenyo mmetụ na PCB backplane. Enwere ike itinye ya na oghere TFT LCD nke bọọdụ mmepe usoro STM32 ma ọ bụ jiri ya na ikpo okwu C51.

Njirimara ngwaahịa

  • Ihuenyo agba 3.5-inch, na-akwado 16BIT RGB 65K agba ngosi, na-egosipụta ọmarịcha agba
  • 320×480 mkpebi maka doro anya ngosi
  • Na-akwado mgbanwe mgbanwe ụgbọ ala data 16-bit, ọsọ mbufe ngwa ngwa
  • Na-akwado ALIENTEK STM32 Mini, Elite, WarShip, Explorer, na Apollo bọdụ mmepe iji nkwụnye ọkụ.
  • Nkwado ngbanwe n'etiti ihuenyo mmetụ mmetụ na-eguzogide na ihuenyo mmetụ capacitive
  • Na-enye ọgaranya sampMmemme maka nyiwe STM32 na C51
  • Usoro usoro ọkwa agha, ọrụ kwụsiri ike ogologo oge
  • Nye nkwado teknụzụ ọkwọ ụgbọ ala n'okpuru

Ngwa ngwaahịa

LCD-wiki-MRB3514-3 (1)LCD-wiki-MRB3514-3 (2)

Nkọwa interface

IHE:

  1. Ngwaike nke modul na-akwado ịgbanwee n'etiti ihuenyo mmetụ mmetụ na ihuenyo mmetụ capacitive:
    • Jiri ihuenyo mmetụ aka na-eguzogide: na-ere ihe ndị ahụ n'ime igbe ahịrị akara nke RTOUCH, ọ dịghịkwa mkpa ịgbanye ihe ndị ahụ na igbe ahịrị akara nke CTOUCH;
    • Jiri ihuenyo mmetụ aka capacitive: na-ere ihe ndị ahụ n'ime igbe ahịrị nwere ntụpọ nke CTOUCH, ọ dịghịkwa mkpa ịgbanye ihe ndị ahụ na igbe ahịrị akara nke RTOUCH; LCD-wiki-MRB3514-3 (3)
  2. Enwere ike itinye modul a ozugbo n'ime oghere TFTLCD nke bọọdụ mmepe atom n'oge, ọ nweghị wiwi akwụkwọ ntuziaka achọrọ.
  3. Ngwaike nke modul a na-akwado naanị 16 bit mode

Ihe ndetu dị mkpa:

  1. Nọmba ntụtụ ndị a 1 ~ 34 bụ nọmba pin nke Module pin nwere PCB backplane nke ụlọ ọrụ anyị. Ọ bụrụ na ịzụrụ ihuenyo efu, biko rụtụ aka na nkowa pin nke nkọwapụta ihuenyo efu, rụtụ aka na wiring dị ka ụdị mgbama kama ịbụ Waya ozugbo dịka ọnụọgụ ntụtụ modul ndị a si dị. Maka example: CS bụ 1 pin na modul anyị. Ọ nwere ike ịbụ pin x na ihuenyo efu dị iche iche.
  2. Banyere VCC ọkọnọ voltage: Ọ bụrụ na ịzụrụ modul na PCB backplane, VCC / VDD ike ọkọnọ nwere ike jikọọ na 5V ma ọ bụ 3.3V (modul nwere integrated ultra ala dropout 5V ka 3V sekit), ma ọ bụrụ na ịzụta a iferi ihuenyo LCD, cheta na jikọọ 3.3 naanị XNUMX. V.
  3. Banyere ọkụ azụ voltage: The modul na PCB backplane nwere integrated triode backlight akara sekit, nke naanị mkpa itinye elu larịị nke BL pin ma ọ bụ PWM ife ọkụ na-enwu azụ. Ọ bụrụ na ị na-azụta ihuenyo efu, a na-ejikọta LEDAx na 3.0V-3.3V na LEDKx gbadoro ụkwụ.LCD-wiki-MRB3514-3 (5) LCD-wiki-MRB3514-3 (6)

Nhazi ngwaike

The LCD modul hardware sekit nwere akụkụ isii: ihe ngosi LCD ngosi circuit Control, a ike akara sekit, a Impedance itule mmezi sekit, a capacitive ihuenyo mmetụ akara sekit, a iguzogide ihuenyo mmetụ akara circuit na a backlight akara circuit. Igwe njikwa ihe ngosi LCD maka ịchịkwa ntụtụ nke LCD, gụnyere akara njikwa na atụdo mbufe data.
sekit njikwa ike maka ịkwado ọkọnọ voltage na ịhọrọ mpụta ọkọnọ voltage.
A na-eji sekit na-emezi nguzozi nke impedance iji dozie mgbochi n'etiti pin MCU na pin LCD.
A na-eji sekit njikwa ihuenyo mmetụ aka iji chịkwaa nweta nkwụsịtụ ihuenyo mmetụ, data sampling, AD ntụgharị, data nnyefe, wdg
A na-eji sekit njikwa ihuenyo mmetụ aka iji jikwaa nweta nkwụsịtụ ihuenyo mmetụ, data sampling, AD ntụgharị, data nnyefe, wdg.
A na-eji sekit njikwa ọkụ azụ iji chịkwaa nchapụta nke ìhè azụ.

Ụkpụrụ ọrụ

Okwu mmalite nke ITI9488 njikwa

Onye njikwa ITI488 na-akwado mkpebi kachasị nke 320*480 ma nwee GRAM 345600-byte. Ọ na-akwado ụgbọ ala data ọdụ ụgbọ mmiri 8-bit, 9-bit, 16-bit, 18-bit na 24-bit. Ọ na-akwado 3-waya na 4-waya SPI ọdụ ụgbọ mmiri. Ebe ọ bụ na mkpebi ahụ akwadoro dị ntakịrị na ọnụ ọgụgụ nke data a na-ebufe dị ukwuu, a na-anabata nnyefe ọdụ ụgbọ mmiri yiri ya, na nnyefe ngwa ngwa. ITI9488 na-akwado 65K, 262K na 16.7M RGB ngosi agba, agba ngosi bara ụba nke ukwuu, ebe ọ na-akwado ngosi ntụgharị na mpịakọta mpịakọta na vidiyo, na-egosipụta n'ụzọ dịgasị iche iche.
Onye njikwa ITI9488 na-eji 16bit (RGB565) iji chịkwaa ngosipụta pikselụ, yabụ ọ nwere ike igosipụta agba ruru 65K kwa pixel. A na-eme ntọala adreesị pikselụ n'usoro nke ahịrị na kọlụm, na ntụzịaka na-abawanye na mbelata na-ekpebi site na ọnọdụ nyocha. A na-eme usoro ngosi ITI9488 site na ịtọ adreesị wee tọọ uru agba.

Okwu mmalite nke nkwurịta okwu ọdụ ụgbọ mmiri

Ogologo oge ederede nzikọrịta ọdụ ụgbọ mmiri dị ka egosiri n'okpuru:LCD-wiki-MRB3514-3 (7)E gosipụtara oge nke usoro ọgụgụ nzikọrịta ozi ọdụ ụgbọ mmiri na foto dị n'okpuru:LCD-wiki-MRB3514-3 (8)CSX bụ mgbawa họrọ mgbawa maka inye na gbanyụọ nkwukọrịta ọdụ ụgbọ mmiri, dị ala na-arụ ọrụ
RESX bụ mgbaama nrụpụta mpụga, dị ala
D/CX bụ data ma ọ bụ akara nhọrọ iwu, 1-dee data ma ọ bụ paramita iwu, 0-dee iwu.
WRX bụ akara njikwa data dee
RDX bụ akara njikwa data ọgụgụ
D[X:0] bụ ntakịrị data ọdụ ụgbọ mmiri, nke nwere ụdị anọ: 8-bit, 9-bit, 16-bit, na 18-bit.
Mgbe ị na-arụ ọrụ ide, na ndabere nke nrụpụta, buru ụzọ tọọ data ma ọ bụ akara nhọrọ iwu, wee dọpụta mgbawa họrọ akara ala, wee tinye ọdịnaya a ga-ede n'aka onye ọbịa, wee dọpụta akara njikwa data dị ala. . Mgbe a dọtara elu, a na-ede data na LCD njikwa IC na nsọtụ ịrị elu nke akara akara akara. N'ikpeazụ, mgbawa họrọ mgbawa na-adọta elu na arụ ọrụ ide data agwụla.
Mgbe ị na-abanye ọrụ agụ, na ndabere nke nrụpụta, buru ụzọ dọpụta mgbawa họrọ akara ala, wee dọpụta data ma ọ bụ iwu họrọ akara ngosi dị elu, wee dọpụta akara njikwa data ọgụgụ dị ala, wee gụọ data sitere na njikwa LCD IC. . Na mgbe ahụ, a na-adọta akara njikwa data ọgụgụ dị elu, a na-agụkwa data ahụ na nsọtụ ịrị elu nke akara njikwa data ọgụgụ. N'ikpeazụ, mgbawa họrọ mgbawa na-adọta elu, na-arụ ọrụ na-agụ data na-agwụ agwụ.

Ntuziaka maka ojiji

Ntuziaka STM32

Ntuziaka wiwi:
Hụ nkọwa interface maka ọrụ ntụtụ.
Mara:

  1. Enwere ike itinye modul a ozugbo n'ime oghere TFTLCD nke bọọdụ mmepe atom n'oge, ọ nweghị wiwi akwụkwọ ntuziaka achọrọ.
  2. Ihe nkwụnye nkwụnye ime n'ime nke MCU kwekọrọ na-ezo aka na ntụtụ MCU jikọtara ozugbo na oghere TFTLCD n'ime bọọdụ mmepe, naanị maka ntụnye aka.

LCD-wiki-MRB3514-3 (9) LCD-wiki-MRB3514-3 (10) LCD-wiki-MRB3514-3 (11) LCD-wiki-MRB3514-3 (12) LCD-wiki-MRB3514-3 (13) LCD-wiki-MRB3514-3 (14) LCD-wiki-MRB3514-3 (15) LCD-wiki-MRB3514-3 (16) LCD-wiki-MRB3514-3 (17) LCD-wiki-MRB3514-3 (18) LCD-wiki-MRB3514-3 (19) LCD-wiki-MRB3514-3 (20) LCD-wiki-MRB3514-3 (21) LCD-wiki-MRB3514-3 (22) LCD-wiki-MRB3514-3 (23) LCD-wiki-MRB3514-3 (24) LCD-wiki-MRB3514-3 (25) LCD-wiki-MRB3514-3 (26) LCD-wiki-MRB3514-3 (27)

Nzọụkwụ arụ ọrụ:

  • A. Jikọọ LCD modul (dị ka egosiri na Foto 1) na STM32 MCU dị ka ntụziaka wiring n'elu, na ike na;
  • B. Họrọ mmemme ule C51 a ga-anwale, dịka egosiri n'okpuru:
    (Biko rụtụ aka na akwụkwọ mmemme nnwale maka nkọwa mmemme ule.)LCD-wiki-MRB3514-3 (28)
  • C. Mepee ọrụ mmemme ule ahọpụtara, chịkọta ma budata; Enwere ike ịhụ nkọwa zuru ezu nke mkpokọta na nbudata mmemme ule STM32 n'ime akwụkwọ ndị a:
    http://www.lcdwiki.com/res/PublicFile/STM32_Keil_Use_Illustration_EN.pdf
  • D. Ọ bụrụ na LCD modul na-egosiputa odide na ndịna-emeputa na-ejikarị, ihe omume na-agba ọsọ nke ọma;
Ntuziaka C51

Ntuziaka wiwi:
Hụ nkọwa interface maka ọrụ ntụtụ.
Mara:

  1. Ebe ọ bụ na ntinye na ọkwa mmepụta nke GPIO nke STC12C5A60S2 microcontroller bụ 5V, capacitive touch IC enweghị ike ịrụ ọrụ nke ọma (naanị 1.8 ~ 3.3V nwere ike ịnakwere). Ọ bụrụ na ịchọrọ iji ọrụ mmetụ aka capacitive, ịkwesịrị ijikọ na modul ntụgharị larịị;
  2. Ebe ọ bụ na STC89C52RC microcontroller enweghị ọrụ mmepụta ihe na-adọta, ọ dị mkpa ijikọ ntụtụ njikwa azụ azụ na ọkụ 3.3V ka amụnye ya nke ọma.
  3. Ebe ọ bụ na STC89C52RC microcontroller's Flash ike dị obere (ihe na-erughị 25KB), mmemme nwere ọrụ mmetụ enweghị ike ibudata ya, ya mere ihuenyo mmetụ anaghị achọ wiring.LCD-wiki-MRB3514-3 (29) LCD-wiki-MRB3514-3 (30) LCD-wiki-MRB3514-3 (31) LCD-wiki-MRB3514-3 (32) LCD-wiki-MRB3514-3 (33)

Nzọụkwụ arụ ọrụ:

  1. A. Jikọọ LCD modul (dị ka e gosiri na Foto 1) na C51 MCU dị ka n'elu wiring ntuziaka, na ike na;
  2. B. Họrọ mmemme ule C51 a ga-anwale, dịka egosiri n'okpuru:
    (Nkọwa mmemme nwale biko rụtụ aka na akwụkwọ nkọwa mmemme ule dị na ngwugwu ule)LCD-wiki-MRB3514-3 (34)
  3. C. Mepee mmemme ule ahọpụtara, chịkọta ma budata;
    Enwere ike ịchọta nkọwa zuru ezu nke mkpokọta na nbudata mmemme ule C51 n'ime akwụkwọ ndị a:
    http://www.lcdwiki.com/res/PublicFile/C51_Keil%26stc-isp_Use_Illustration_EN.pdf
  4. D. Ọ bụrụ na LCD modul na-egosiputa odide na ndịna-emeputa na-ejikarị, ihe omume na-agba ọsọ nke ọma;

Nkọwa ngwanrọ

Usoro nhazi koodu
  • A. C51 na STM32 nkọwa ụkpụrụ ụlọ koodu E gosipụtara n'okpuru:LCD-wiki-MRB3514-3 (35)
    • A na-etinye koodu ngosi API ngosi maka oge ịgba ọsọ mmemme na koodu ule;
    • LCD mmalite na njikọ bin yikọrọ n'ọdụ ụgbọ mmiri dee data arụmọrụ na-gụnyere na LCD koodu;
    • Isi ihe osise, ahịrị, eserese, yana ọrụ ndị metụtara China na Bekee gụnyere na koodu GUI;
    • Isi ọrụ na-arụ ọrụ ngwa ngwa na-agba ọsọ;
    • Koodu ikpo okwu dịgasị iche site na ikpo okwu;
    • A na-eji koodu IIC site na capacitive touch IC GT911, gụnyere mmalite IIC, ide data na ịgụ akwụkwọ, wdg;
    • Koodu mmetụ gụnyere akụkụ abụọ: koodu mmetụ mmetụ mmetụ na koodu mmetụ aka capacitance (gt911);
    • Koodu metụtara nhazi igodo gụnyere na koodu igodo (ikpo okwu C51 enweghị koodu nhazi bọtịnụ);
    • A na-etinye koodu ahụ metụtara ọrụ nhazi nhazi na koodu nchịkwa (ikpo okwu C51 enweghị koodu nhazi nhazi);
Nkọwa nkọwa GPIO
  • A. STM32 ule mmemme nkọwa nkọwa nkọwa GPIO
    A na-etinye nkọwa GPIO nke ihuenyo LCD nke mmemme ule STM32 na lcd.h file, nke a kọwara n'ụzọ abụọ:
    • Mmemme ule microcontroller STM32F103RCT6 na-eji ọnọdụ analọgụ IO (ọ naghị akwado ụgbọ ala FSMC)
  • Mmemme ule STM32 MCU ndị ọzọ na-eji ọnọdụ ụgbọ ala FSMC STM32F103RCT6 MCU IO analog ule mmemme LCD ihuenyo GPIO nkọwa dị ka egosiri n'okpuru: LCD-wiki-MRB3514-3 (36)
    • FSMC ule mmemme LCD ihuenyo GPIO ka akọwara dị ka egosiri n'okpuru (were STM32F103ZET6 microcontroller FSMC ule mmemme dị ka example): LCD-wiki-MRB3514-3 (37)
    • Koodu mmetụ ihuenyo mmetụ STM32 nwere akụkụ abụọ: koodu ihuenyo mmetụ ike na koodu ihuenyo mmetụ capacitance.
    • A na-etinye nkọwa GPIO ihuenyo mmetụ mgbochi na rtp.h file dị ka egosiri n'okpuru (were STM32F103ZET6 microcontroller IO analog test program dị ka ex.ample): LCD-wiki-MRB3514-3 (38)Ihuenyo mmetụ ike nke metụtara nkọwa GPIO nwere akụkụ abụọ: nkọwa GPIO IIC na nkwụsị ihuenyo wee tọgharịa nkọwa GPIO.
    • Edebere nkọwapụta IIC GPIO na ctpic.h file dị ka egosiri n'okpuru (were STM32F103RCT6 microcontroller FSMC ule mmemme dị ka ex.ample): LCD-wiki-MRB3514-3 (39)
    • A na-etinye nkwụsịtụ ihuenyo mmetụ aka na nkọwa nrụpụta GPIO na GT911.h, dị ka egosiri na foto a (were STM32F103ZET6 microcontroller FSMC ule mmemme dị ka ihe mbụ.ample): LCD-wiki-MRB3514-3 (40)
  • B. C51 ule mmemme nkọwa nkọwa nkọwa GPIO
    Mmemme ule C51 LCD ihuenyo GPIO ka etinyere nkọwa na lcd.h file, dị ka egosiri n'okpuru (na-ewere STC12C5A60S2 microcontroller program dị ka ex.ample):LCD-wiki-MRB3514-3 (41)Parallel pin definition kwesịrị ịhọrọ dum set nke GPIO ọdụ ụgbọ mmiri dị iche iche, dị ka P0, P2, wdg, nke mere na mgbe na-ebufe data, ọrụ bụ adaba.Other atụdo nwere ike kọwaa dị ka ọ bụla free GPIO.
    Koodu metụtara ihuenyo mmetụ C51platform nwere akụkụ abụọ: koodu ihuenyo mmetụ ike na koodu ihuenyo mmetụ capacitance.
    • A na-etinye nkọwa GPIO ihuenyo mmetụ mgbochi na rtp.h file dị ka egosiri n'okpuru (Iweta mmemme ule microcontroller STC12C5A60S2 dị ka example):LCD-wiki-MRB3514-3 (42)Ihuenyo mmetụ ike nke metụtara nkọwa GPIO nwere akụkụ abụọ: nkọwa GPIO IIC na nkwụsị ihuenyo wee tọgharịa nkọwa GPIO.
    • A na-etinye nkọwa IIC GPIO na gtiic.h file dị ka egosiri n'okpuru (were STC12C5A60S2 microcontroller program dị ka example): LCD-wiki-MRB3514-3 (43)
    • A na-etinye nkwụsịtụ nke ihuenyo na nkọwa nrụpụta GPIO na GT911.h, dị ka egosiri na foto a (were STC12C5A60S2 microcontroller program dị ka ex.ample): LCD-wiki-MRB3514-3 (44)Enwere ike gbanwee nkọwa GPIO nke ihuenyo mmetụ ma nwee ike ịkọwa dịka GPIO ọ bụla ọzọ efu.
Ndekota koodu nzikọrịta ozi ọdụ ụgbọ mmiri
  • Mmemme ule A. STM32 na mmejuputa koodu nkwurịta okwu ọdụ ụgbọ mmiri
    A na-etinye koodu nkwurịta okwu ọdụ ụgbọ mmiri STM32 na LCD.c file, nke a na-eme n'ụzọ abụọ:
    • Mmemme ule microcontroller STM32F103RCT6 na-eji ọnọdụ analọgụ IO (ọ naghị akwado ụgbọ ala FSMC)
    • Mmemme ule STM32 MCU ndị ọzọ na-eji ọnọdụ ụgbọ ala FSMC
      A na-emejuputa mmemme ule simulation IO dị ka egosiri n'okpuru: LCD-wiki-MRB3514-3 (45)A na-emejuputa mmemme ule FSMC dị ka egosiri n'okpuru:LCD-wiki-MRB3514-3 (46) Ma iwu 8- na 16-bit na-ede na 8- na 16-bit data na-ede ma na-agụ na-emejuputa atumatu.
  • B. C51 ule mmemme yiri ọdụ ụgbọ mmiri koodu mmejuputa iwu
    • A na-emejuputa koodu dị mkpa na LCD.c file dị ka egosiri n'okpuru:LCD-wiki-MRB3514-3 (47)Ejiri iwu 8-bit na 16-bit yana 8-bit na 16-bit data dee na gụọ.
4. ntuziaka nhazi ihuenyo mmetụ
  • A. STM32 ule mmemme ntuziaka mmezi ihuenyo mmetụ
    Mmemme mmezi ihuenyo mmetụ STM32 na-amata na-akpaghị aka ma achọrọ mmezi ma ọ bụ jiri aka na-abanye nzigharị site na ịpị bọtịnụ.
    Agụnyere ya na ihe nlele ihuenyo mmetụ aka. A na-echekwa akara nzizi na parampat ngbanwe na flash AT24C02. Ọ bụrụ na ọ dị mkpa, gụọ site na flash. Usoro nhazi usoro dị ka egosiri n'okpuru: LCD-wiki-MRB3514-3 (48)
  • B. C51 ule mmemme ntụzịaka mmezi ihuenyo mmetụ
    Nhazi ihuenyo mmetụ C51 kwesịrị ime ihe nlele Touch_Adjust (naanị na mmemme ule STC12C5A60S2), dị ka egosiri n'okpuru: LCD-wiki-MRB3514-3 (49)Ka emechara mmetụ mmetụ ahụ, ị ​​ga-echekwaba paramita mmezi nke egosiri na ihuenyo na touch.c file, dị ka egosiri n'okpuru: LCD-wiki-MRB3514-3 (50)

Akụrụngwa nkịtị

Nke a set nke ule examples chọrọ ngosi nke Chinese na bekee, akara na foto, ya mere a na-eji ngwanrọ modulo.
Enwere ụdị sọftụwia modulo abụọ: 
Image2LCd na PCtoLCD2002. Nke a bụ naanị ntọala ngwanrọ modulo maka mmemme nnwale.
Ntọala ngwanrọ PCtoLCD2002 modulo bụ ndị a:

  • Ọkpụkpọ matriks ntụpọ họrọ koodu gbara ọchịchịrị na ọnọdụ modulo họrọ ọnọdụ na-aga n'ihu
  • Were ihe nlereanya ka ịhọrọ ntụziaka (ọnọdụ dị elu nke mbụ)
  • Sistemụ nọmba mmepụta na-ahọrọ ọnụọgụ hexadecimal
  • Ụdị nhọrọ nhazi ahaziri iche usoro C51

Usoro ntọala akọwapụtara bụ nke a:
http://www.lcdwiki.com/Chinese_and_English_display_modulo_settings
E gosipụtara ntọala ngwanrọ Image2Lcd n'okpuru:LCD-wiki-MRB3514-3 (51) Akụrụngwa Image2Lcd kwesịrị ka edobe ya ka ọ bụrụ kehoraizin, aka ekpe gaa n'aka nri, elu ruo ala, yana ọnọdụ dị ala na ọnọdụ nyocha ihu.

Akwụkwọ / akụrụngwa

LCD wiki MRB3514 3.5inch 16bit Parallel Port RTP na CTP Module [pdf] Akwụkwọ ntuziaka onye ọrụ
MRB3514 3.5inch 16bit Parallel Port RTP na CTP Module, MRB3514, 3.5inch 16bit Parallel Port RTP na CTP Module, Parallel Port RTP na CTP Module, RTP na CTP Module.

Ntụaka

Hapụ ikwu

Agaghị ebipụta adreesị ozi-e gị. Akara mpaghara achọrọ akara *