Cov txheej txheem:

Txiv kab ntxwv PI HowTo: Teeb Nws Kom Siv Nrog 5 "HDMI TFT LCD Zaub: 8 Cov Kauj Ruam (nrog Duab)
Txiv kab ntxwv PI HowTo: Teeb Nws Kom Siv Nrog 5 "HDMI TFT LCD Zaub: 8 Cov Kauj Ruam (nrog Duab)

Video: Txiv kab ntxwv PI HowTo: Teeb Nws Kom Siv Nrog 5 "HDMI TFT LCD Zaub: 8 Cov Kauj Ruam (nrog Duab)

Video: Txiv kab ntxwv PI HowTo: Teeb Nws Kom Siv Nrog 5
Video: Веб-разработка на Python! Встраивание графического графика на веб-сайт 2024, Kaum ib hlis
Anonim
Txiv kab ntxwv PI HowTo: Teeb Nws Kom Siv Nrog 5
Txiv kab ntxwv PI HowTo: Teeb Nws Kom Siv Nrog 5
Txiv kab ntxwv PI HowTo: Teeb Nws Kom Siv Nrog 5
Txiv kab ntxwv PI HowTo: Teeb Nws Kom Siv Nrog 5
Txiv kab ntxwv PI HowTo: Teeb Nws Kom Siv Nrog 5
Txiv kab ntxwv PI HowTo: Teeb Nws Kom Siv Nrog 5
Txiv kab ntxwv PI HowTo: Teeb Nws Kom Siv Nrog 5
Txiv kab ntxwv PI HowTo: Teeb Nws Kom Siv Nrog 5
Txiv kab ntxwv PI HowTo: Teeb Nws Kom Siv Nrog 5
Txiv kab ntxwv PI HowTo: Teeb Nws Kom Siv Nrog 5
Txiv kab ntxwv PI HowTo: Teeb Nws Kom Siv Nrog 5
Txiv kab ntxwv PI HowTo: Teeb Nws Kom Siv Nrog 5

Yog tias koj tau ceev faj txaus kom xaj HDMI TFT LCD Zaub ua ke nrog Koj Cov Txiv Kab ntxwv PI, Tej zaum koj yuav poob siab los ntawm qhov nyuaj hauv kev sim yuam nws kom ua haujlwm. Thaum lwm tus tuaj yeem txawm tias tsis nco ib qho teeb meem. Qhov tseem ceeb yog tias muaj tsawg kawg yog ob (tej zaum yuav ntau dua) ntau hom sib txawv ntawm cov zaub hauv khw. Lawv zoo ib yam rau ib leeg thiab ib tus tuaj yeem tsis muaj qhov sib txawv.

Nov yog ob qho: Ib qho rau sab laug ntawm daim duab yog "zoo". Nws txoj kev teeb tsa tau yooj yim thiab ncaj. Tus mus rau sab xis yog qhov "phem". Nws teeb tau nyuaj dua.

Yuav luag tsis muaj qhov sib txawv ntawm qhov zoo thiab qhov "phem", tsis suav nrog tej zaum qhov phem tau kos npe ua "Rev3.0" (kho dua 1) thiab qhov zoo tau kos npe ua "Rev2" (kho dua 2) lossis "v2 ".

YUAV TSUM:

  1. Txiv kab ntxwv PI nrog Linux bootable SD card. (Txiv kab ntxwv PI Lub Chaw Haujlwm muaj cov lus qhia yuav ua li cas: https://www.orangepi.org/Docs/SDcardinstallation.html thiab nrog lub hwj chim tsim nyog.
  2. Desktop Comuter (Windows khiav)
  3. HDMI kab
  4. USB rau mini-usb cable
  5. Ua haujlwm luam ntawm fexc.exe cov khoom siv.

Nws zoo yog tias koj li Linux duab khaws nws cov ntaub ntawv teeb tsa (script.bin) ntawm FAT muab faib ntawm Koj daim npav flash. Yog tias tsis yog - Koj yuav yog nrhiav txoj hauv kev yuav ua li cas scavenge nws los ntawm ext2 Linux faib rau koj lub Windows desktop txhua tus los ntawm koj tus kheej.

Kauj Ruam 1: Txiav txim siab Tus Qauv

Txiav txim siab Tus Qauv
Txiav txim siab Tus Qauv
Txiav txim siab Tus Qauv
Txiav txim siab Tus Qauv

Thaum Koj cov zaub tau los txog, ua ntej tshaj plaws txheeb xyuas cov ntawv sau ntawm nws sab nraub qaum.

  • Yog tias koj tuaj yeem pom muaj "Rev3.0" ua raws {REV 3} ntu hauv cov theem hauv qab no.
  • Yog tias muaj "Rev 2" cim, tom qab ntawd ua raws {REV 2} ntu.

Tom qab Koj tau txiav txim siab tus qauv ntawm Koj li TFT zaub Koj tuaj yeem txuas ntxiv nrog kev teeb tsa koj li txiv kab ntxwv PI raws lub khoos phis tawj.

Kauj ruam 2: Txuas koj li OPI

Txuas koj li OPI
Txuas koj li OPI
Txuas koj li OPI
Txuas koj li OPI

Txuas lub txiv kab ntxwv PI lub rooj tsavxwm nrog cov zaub los ntawm HDMI cable. Txuas ib qho ntawm Koj Cov Txiv Kab Ntxwv PI's USB chaw nres nkoj mus rau USB chaw nres nkoj ntawm Koj cov zaub los ntawm USB-rau-mini-USB cable.

Tej zaum nws tsis yog lub tswv yim zoo los sim tso cov zaub rau hauv GPIO chaw nres nkoj. Lub geometry ntawm txiv kab ntxwv PI sib txawv los ntawm ib qho ntawm Raspberry PI thiab cov lus pom zoo rau tom kawg yuav tsis haum rau thawj zaug. Hauv qhov xwm txheej tsis zoo Koj kuj tseem tuaj yeem tsoo qee qhov lossis ua lwm yam tsis zoo yog tias sim ua. Hauv txhua qhov xwm txheej-tsis nco qab siv qhov zoo U-shaped HDMI-to-HDMI adapter, uas nrog koj cov zaub, cov duab geometries ntawm Orange PI board thiab ntawm Display tsuas yog tsis tso cai.

Kauj ruam 3: Hloov BIN rau FEX

Konvertiere FIN in PEB
Konvertiere FIN in PEB
Konvertiere FIN in PEB
Konvertiere FIN in PEB

Coj Koj Cov Txiv Kab Ntxwv PI Linux bootable flash card thiab ntsaws rau hauv koj lub Windows desktop PC siv qee qhov txuas kom raug. Tom qab ntawd nrhiav "script.bin" cov ntaub ntawv ntawm daim npav flash thiab luam nws mus rau qhov chaw zoo ntawm Koj lub desktop PC lub hard disk. Piv txwv li mus rau c: / quav / nplaub tshev.

Luam cov qauv ua haujlwm ntawm fexc.exe cov khoom siv ua ke nrog fex2bin.bat thiab bin2fex.bat cov ntaub ntawv rau tib daim nplaub tshev, qhov uas koj tau tso cov ntawv.bin. (Xa mus rau kuv cov lus qhia yav dhau los txhawm rau nrhiav txoj hauv kev kom tau txais lub npe phem fexc.exe)

Decrypt tsab ntawv.bin rau daim ntawv (script.fex) los ntawm kev khiav bin2fex.bat cov ntaub ntawv hais kom ua.

Yog tias koj tab tom siv Koj PI txiv kab ntxwv rau ib lub sij hawm twb tau lawm, nws txhais tau tias Koj tau teeb tsa lub khoos phis tawj kom raug thiab lub cim xeeb nco. Yog li Koj tuaj yeem txuas ncaj qha mus rau theem 5. Yog tias koj tab tom siv Orange PI thawj zaug - siv sijhawm los teeb tsa kom raug thiab muaj kev nyab xeeb rau lub khoos phis tawj thiab lub cim xeeb.

Kauj ruam 4: Npaj Safe Script.fex

Txheeb xyuas [phiaj], [dvfs_table] thiab [dram_para] ntu ntawm (ntawv) script.fex file. Nco ntsoov tias qhov muaj txiaj ntsig zoo tiag tiag cuam tshuam rau kev ua haujlwm ntawm Koj Cov Txiv Kab ntxwv PI. Txo qhov tseem ceeb yog xav tau. Zoo (tab sis me ntsis qeeb) qhov pib yog teeb tsa

[dvfs_table] max_freq = 1008000000 min_freq = 60000000 lv_count = 5 lv1_freq = 1056000000 lv1_volt = 1500 lv2_freq = 1008000000 lv2_volt = 1400 lv3_freq = 912000000 lv3_v04000 lv3_v4000 = 1300 lv3_v4000 = 1300 lv3_v4000 = 1300 lv3 = 1300 lv4 = 1300 lv4 = 1300 lw4 = l04000 lw = 130000 lv3

Thiab teeb

ua_clk = 624

hauv [dram_para] ntu. Hauv kuv qhov kev qhia yav dhau los cov txheej txheem tau piav qhia ntxaws.

Kauj Ruam 5: Kho Cov Zaub Parameters

{rau REV 2} Yog tias koj muaj tus qauv "zoo" ntawm cov zaub, Koj tuaj yeem luam/paste (owerwrite) nws [disp_init] thiab [hdmi_para] ntu ntawm no:

[disp_init]

disp_init_enable = 1 disp_mode = 0 screen0_output_type = 3 screen0_output_mode = 5 screen1_output_type = 3 screen1_output_mode = 5 fb0_width = 800 fb0_height = 480 fb1_width = 800 fb1_height = 480 [hdmi_para] hdmi_ = = 480 "hdmi_cts_compatibility = 1

Txhua qhov qhab nia rau Jimmy Belanger - [SOLVED] Orange PI PC H3 Winner, suav nrog igorpecovnik jessie desktop

Tsis tas li nco ntsoov tias pll_video qhov ntsuas hauv ntu [moos] tau teeb tsa rau 292:

[moos]

np_video = 292

{rau REV 3}

Yog tias koj muaj tus qauv "tsis zoo" ntawm cov zaub, Koj tuaj yeem luam/paste (owerwrite) nws [disp_init] thiab [hdmi_para] ntu ntawm no:

[disp_init]

disp_init_enable = 1 disp_mode = 0 screen0_output_type = 3 screen0_output_mode = 2 screen1_output_type = 3 screen1_output_mode = 2 fb0_width = 720 fb0_height = 480 fb0_scaler_mode_enable = 1 fb0_pixel_sequence = 2 fb0_format = 4 fb0_framebuffer_num = 2 fb1_width = 720 fb1_height = 480 fb1_scaler_mode_enable = 1 fb1_pixel_sequence = 2 fb1_format = 4 fb0_framebuffer_num = 2

[hdmi_para]

hdmi_used = 1 hdmi_x = 720 hdmi_y = 480 hdmi_power = "vcc-hdmi-18" hdmi_cts_compatibility = 1

Koj kuj tseem yuav tsum teeb tsa pll_video qhov ntsuas hauv ntu [moos] mus rau 321:

[moos]

np_video = 321

Kauj Ruam 6: Hloov FEX rau BIN

Konvertiere FEX in PEB
Konvertiere FEX in PEB

Peb tau ua tiav nrog script.fex, yog li txuag nws rau koj lub hard disk thiab tawm ntawm cov ntawv kho software.

Siv fex2bin.bat ntim cov ntawv rov qab mus rau hom ntawv binary. Nco ntsoov tias script.bin feem ntau muaj "nyeem nkaus xwb" tus cwj pwm thiab fexc cov cuab yeej siv tsis tuaj yeem sau nws tau.

Kauj Ruam 7: OPI Npaj

OPI Npaj
OPI Npaj
OPI Npaj
OPI Npaj

Txuas lub hwj chim 5v los qhib lub txiv kab ntxwv PI. Thiab tam sim no Koj tuaj yeem pom cov duab txias ntawm Koj Lub Zaub LCD.

Kauj ruam 8: NCO TSEG

  1. Vim Li Cas Kuv Hu Rev2 li "zoo" thiab Rev3 li "tsis zoo"?

    • Rev 2 muaj ntau lub vis dis aus dav dua pll moos ntes ntau. Piv txwv li Rev 2 woks zoo nrog tsab ntawv.bin tau npaj rau Rev3, tab sis Rev 3 yuav qhia tsuas yog lub vijtsam dawb thaum siv nrog script.bin rau Rev2. Thiab yog tias koj pib sib txawv pll_video parameter Koj tseem yuav pom qhov txawv.
    • Nrog Rev2 Koj tuaj yeem yooj yim tau txais tag nrho 800x480 daws teeb meem, thaum nrog Rev 3 Koj yuav tau txais tsuas yog 720x480
    • Rev2 muaj qhov zoo mounting qhov, thaum Rev3 nyuaj rau nruab kho tshuab.
  2. Cov teeb tsa muaj cov laj thawj yooj yim heev tom qab ntawd. Qhov tseeb, Windows txiav txim siab Rev3 zaub (los ntawm EDID) ua "66 Hz" ib qho. Thiab qhov kev daws teeb meem ntsug ntawm cov zaub yog 480 kab. Tsuas muaj ob txoj kab 480 kab hauv OPI teeb tsa: hom 0: 480 kab sib tshuam, thiab hom 2: 480 kab tsis cuam tshuam. Yog li ib tus yuav tsum tau teeb tsa ib qho ntawm lawv thiab kho tus qauv. Yog tias pll_video = 292 sib xws rau 60 Hz, ces 292*66/80 = 320 yuav ze txaus. Txawm li cas los nws dhau los tsuas yog tom qab Koj twb pom pom qhov raug lawm. Txhua tus muaj zog nrog lub siab rov qab…
  3. "Orange PI", "Windows", "Linux", "Sunxi-Tools", "Allwinner", thiab lwm yam … yog cov cim lag luam ntawm lawv tus tswv.

Pom zoo: