Cov txheej txheem:

HClock (Holographic Illusion Clock): 7 Kauj Ruam
HClock (Holographic Illusion Clock): 7 Kauj Ruam

Video: HClock (Holographic Illusion Clock): 7 Kauj Ruam

Video: HClock (Holographic Illusion Clock): 7 Kauj Ruam
Video: #dubai #hologram #hologramanimation #shorts #holographic 2024, Hlis ntuj nqeg
Anonim
HClock (Holographic Illusion Clock)
HClock (Holographic Illusion Clock)
HClock (Holographic Illusion Clock)
HClock (Holographic Illusion Clock)

Nov yog kuv lub tswv yim holoclock. Cov Lus Qhia no yuav qhia koj yuav ua li cas thiaj ua tau lub moos txheem (nrog 3 qhov sib txawv) zoo li nws tau ntab hauv nruab nrab!

Khoom siv

Koj yuav xav tau cov ntaub ntawv uas ua raws:

1 x raspberry pi 2 lossis siab dua

1 x WIFI USB adapter (yog siv rpi hauv qab 3)

1 x microSD daim npav

1 x Elecrow 5 nti resistive kov zaub thiab HDMI adapter (los nrog lub vijtsam). Pom ntawm no.

1 x Computer Mouse wired lossis wireless (USB tau tshaj)

1 x Computer Keyboard wired lossis wireless (USB tau tshaj)

1 x 3 nti los ntawm 4 3/4 nti plexy iav

1 x 3 nti los ntawm 4 3/4 nti iav

Hardboard

Kauj Ruam 1: Txiav Koj Cov Hardboard:

Koj yuav tsum tau siv lub saw los txiav 5 daim hardboard (lossis Masonite). Qhov ntev yog raws li hauv qab no:

1 x 4 3/4 nti los ntawm 8 nti (sau hauv qab)

2 x 3 nti los ntawm 8 nti (sau rau sab laug thiab sab xis)

1 x 3 nti los ntawm 4 3/4 nti (sau rov qab)

1 x 4 3/4 "x 1" (sau rau saum)

Kauj Ruam 2: Npaj MicroSD Card:

Npaj MicroSD Card
Npaj MicroSD Card
Npaj MicroSD Card
Npaj MicroSD Card
Npaj MicroSD Card
Npaj MicroSD Card
Npaj MicroSD Card
Npaj MicroSD Card

Ntxig daim npav MicroSD rau hauv lub laptop.

Mus ntawm no thiab rub tawm "Raspberry Pi Imager" rau koj lub operating system.

Thaum rub tawm tiav qhib cov ntawv.

Ua raws cov lus qhia yuav teeb nws li cas.

Thaum teeb tsa tiav, qhib lub cim xeeb (yog tias ua haujlwm Windows 10 nyem yog hauv lub qhov rai qhib), hauv lub qhov rai xav tau nyem lub pob "Xaiv OS". Los ntawm cov ntawv qhia zaub mov tom ntej nyem qhov "Raspbian" (Saum) xaiv. Nyem rau "Xaiv SD Card" khawm. Nyem lub npe ntawm koj daim npav. Nyem "Sau". Tos kom cov duab ua tiav.

Kauj Ruam 3: Pib Pi Nrog Screen:

Ntxig daim npav MicroSD rau hauv Raspberry pi.

Ntxig Mouse, Keyboard, thiab WIFI adapters rau hauv USB chaw nres nkoj ntawm pi.

Muab cov pins tso rau ntawm qhov screen ntawm tus pin rau ntawm pi. (Daim duab hauv cov lus qhia uas los nrog lub vijtsam)

Cov chaw nres nkoj HDMI yuav kab. Txuas lub HDMI adapter rau hauv lub vijtsam.

Txuas lub Raspberry pi rau hauv phab ntsa siv tus qauv USB rau micro USB Cable thiab AC adapter.

Tos kom tus pi khau raj rau lub desktop.

Ua raws li Cov Lus Qhia Teeb. Nco ntsoov txuas mus rau WIFI.

Tom qab teeb tsa Screen ploj mus txav mus rau theem tom ntej.

Kauj Ruam 4: Txhim Kho Qhov Loj Screen:

Txhim Kho Qhov Loj Screen
Txhim Kho Qhov Loj Screen

Kaw tus pi los ntawm txhaj raspberry (nyob rau sab saum toj sab tes laug), nyem kaw thiab nyem kaw hauv cov ntawv qhia zaub mov popup.

Tshem daim npav MicroSD los ntawm tus pi, thiab tso nws rov qab rau hauv koj lub khoos phis tawj qub (ib qho uas koj siv nws nrog). Nrhiav SD daim npav hauv cov ntawv qhia zaub mov thiab nqes mus txog thaum koj pom cov ntawv hu ua config.txt

Nkag mus rau hauv qab ntawm cov ntawv thiab ntxiv cov kab no

# --- ntxiv los ntawm elecrow-pitft-teeb tsa --- hdmi_force_hotplug = 1

max_usb_current = 1

hdmi_drive = 1

hdmi_cov = 2

hdmi_mode = 1

hdmi_mode = 87

hdmi_cvt 800 480 60 6 0 0 0 dtoverlay = ads7846, cs = 1, penirq = 25, penirq_pull = 2, ceev = 50000, keep_vref_on = 0, swapxy = 0, pmax = 255, xohms = 150, xmin = 200, xmax = 3900, ymin = 200, ymax = 3900

display_rotate = 0

# --- kawg elecrow-pitft-teeb tsa ---

Txuag thiab ntxig daim npav rov qab rau hauv pi thiab khau raj dua.

Kauj ruam 5: Tau thiab Khiav Cov Ntaub Ntawv:

Ntawm koj tus pi nias ctrl + alt + t kom qhib lub davhlau ya nyob twg.

Hauv lub davhlau ya nyob twg hom hauv cov lus txib no:

cd./Desktop

(Nkag mus)

git clone

Ntawm lub desktop koj yuav tsum tam sim no pom HClock nplaub tshev.

Qhib daim ntawv tais ceev tseg.

nyem rau ntawm "digital-7.ttf" cov ntaub ntawv thiab nias ctrl + X

mus rau daim nplaub tshev hu ua "pi"

nyem saib -> qhia zais

ua daim nplaub tshev tshiab thiab npe nws.fonts

qhib lub.fonts nplaub tshev thiab nias ctrl + v

Rov qab mus rau lub desktop thiab qhib HClock nplaub tshev.

qhib lub clocktypes (V2.1.0)

ob npaug nias rau koj lub moos uas koj nyiam.

Nyob rau hauv lub qhov rai popup nias khiav.

Kauj Ruam 6: Nres Pw Hom:

Qhib davhlau ya nyob twg dua los ntawm nias ctrl + alt + t.

ntaus hauv 'sudo nano /etc/lightdm/lightdm.conf'

(Nkag mus)

saum toj no ntxiv 2 kab no.

# tsis txhob tsaug zog qhov screen

xserver -command = X -s 0 dpms

ctrl + X kom tawm mus nyem nkag mus ces y ces nkag dua.

kaw davhlau ya nyob twg

Kauj Ruam 7: Tsim Case:

Tau txais rab phom nplaum kub thiab qee cov kua nplaum kub.

Txuas daim thim rov qab rau lub hauv paus hauv qab.

Txuas sab xis mus rau sab xis ntawm hauv qab thiab hauv paus.

Ua tib yam rau sab laug.

tshem tawm txhua yam USB los ntawm pi.

Ntxig pi rau sab qhib ntawm hauv qab ntawm rooj plaub

Siv ib qho me me ntxiv ntawm hardboard los tuav lub vijtsam hauv.

Ntxiv sab saum toj rau saum.

lo lub plexy rau saum rau daim saum.

qhib lub vijtsam thiab thauj lub moos.

muab daim iav tso rau tom qab.

hloov daim iav lub kaum sab xis kom pom nws ntawm lub iav plexy (thaum saib mus rau lub vijtsam)

muab daim iav tso rau saum qhov chaw.

nrhiav daim ntawv dub thiab muab tso rau ntawm qhov screen kom thaiv nws tawm.

Tam sim no koj ua tiav.

Pom zoo: