Cov txheej txheem:

Linux Powered USB TableClock: 10 Kauj Ruam
Linux Powered USB TableClock: 10 Kauj Ruam

Video: Linux Powered USB TableClock: 10 Kauj Ruam

Video: Linux Powered USB TableClock: 10 Kauj Ruam
Video: Wait what ๐Ÿ˜ฑ Flipper Zero ๐Ÿฌ 2024, Kaum ib hlis
Anonim
Linux Powered USB TableClock
Linux Powered USB TableClock
Linux Powered USB TableClock
Linux Powered USB TableClock
Linux Powered USB TableClock
Linux Powered USB TableClock

Linux Lub Hwj Chim USB Lub Rooj Sijhawm yog Raspbian Lite Linux siv lub rooj moos. Nws tau tsim los siv tshwj xeeb los ntawm cov hmuv hmo ntuj zoo li kuv uas xav pom lub sijhawm sai tab sis nws ci dhau LCD los tshuaj xyuas lub sijhawm ntawm lub xov tooj ntawm tes. Nws zoo li txias ntawm kuv teeb

Khoom siv

Raspberry Pi Zero W

Waveshare 3.5 nti Zaub

Micro-USB Cable

SD-Daim npav

Kauj ruam 1: Format SD Card thiab hlawv nws nrog Raspbian Lite Duab

Format SD Card thiab hlawv nws nrog Raspbian Lite Duab
Format SD Card thiab hlawv nws nrog Raspbian Lite Duab
Format SD Card thiab hlawv nws nrog Raspbian Lite Duab
Format SD Card thiab hlawv nws nrog Raspbian Lite Duab

Format SD Card kom peb tuaj yeem nruab Raspbian tshiab hauv nws

Koj tuaj yeem rub tau Raspbian Lite Duab los ntawm no -https://www.raspberrypi.org/downloads/raspbian/

Koj tseem tuaj yeem siv Raspberry Pi Imager-

Los Yog Siv Sijhawm Ua Ntej Khoos Phis Tawj OS-https://drive.google.com/file/d/1Hni6upFwmDCsuu1zF0F9jQucdxk_WYeU/view? Usp = sharing

Yog tias siv Pre-Configured Clock OS ces txuas ncaj qha rau txhua qhov khoom thiab lub moos yuav ua haujlwm

Kauj ruam 2: Txuas rau Wifi-Headless

Txuas rau Wifi-Headless
Txuas rau Wifi-Headless
Txuas rau Wifi-Headless
Txuas rau Wifi-Headless

1. Download cov ntaub ntawv teeb tsa los ntawm qhov txuas hauv qab no

Txuas-https://github.com/Cyrixninja/Raspberry-pi-Headless

2. Kho nws siv notepad ++ lossis vscode thiab ntxiv koj tus password wifi thiab npe

3. Power ntawm raspberry pi siv Micro-USB cable

4. Raspberry pi yuav txuas nrog wifi

Kauj Ruam 3: SSH Rau Hauv Raspberry Pi

SSH Rau Hauv Raspberry Pi
SSH Rau Hauv Raspberry Pi

1. qhib koj cov lus txib tam sim hauv Windows lossis davhlau ya nyob twg hauv Linux

2. hom "ssh pi@Your_pi_ip"

Kauj Ruam 4: Nkag Mus Raws Cov Lus txib

Nkag mus raws cov lus txib
Nkag mus raws cov lus txib
Nkag mus raws cov lus txib
Nkag mus raws cov lus txib
Nkag mus raws cov lus txib
Nkag mus raws cov lus txib

sudo apt-tau hloov tshiab

sudo apt-tau nruab git

sudo apt-tau nruab ruby puv

Kauj Ruam 5: Txhim Kho Cov Tsav Tsheb

Nruab Cov Tsav Tsheb
Nruab Cov Tsav Tsheb
Nruab Cov Tsav Tsheb
Nruab Cov Tsav Tsheb

Sau cov lus txib nram qab no-

git clone

cd LCD-qhia

chmod +x LCD35-qhia

./LCD35- qhia 180

Tom qab txhua yam dhau los ntawm ssh yuav raug txiav tawm thiab raspberry pi yuav rov pib dua

Kauj Ruam 6: Rub tawm Txoj Cai

Nkag mus rau cov lus txib hauv qab no

git clone

ruby ~/term-clock/term-clock.rb --download-conf

ruby ~/term-clock/term-clock.rb --download-characters

Kauj Ruam 7: Kho lub OS kom ua Code ntawm Startup

Configure OS kom Khiav Code ntawm Startup
Configure OS kom Khiav Code ntawm Startup
Configure OS kom Khiav Code ntawm Startup
Configure OS kom Khiav Code ntawm Startup
Configure OS kom Khiav Code ntawm Startup
Configure OS kom Khiav Code ntawm Startup

Sau cov lus txib hauv qab no hauv raspberry pi-

1.sudo raspi-teeb tsa

Tom qab ntawv teeb lub khau raj rau autologin rau console

2.sudo nano /etc /profile

Tom qab ntawd ntxiv kab-"sudo ruby ~/term-clock/term-clock.rb" thiab txuag nws

Kauj Ruam 8: Kho Kho Kom Ruaj Khov Screen

Kho qhov Screen Resolution
Kho qhov Screen Resolution
Kho qhov Screen Resolution
Kho qhov Screen Resolution
Kho qhov Screen Resolution
Kho qhov Screen Resolution

sudo raspi-teeb tsa

Tom qab ntawd teeb tsa kev daws teeb meem li 800x600 thiab txuag nws

Kauj Ruam 9: Lub Sijhawm Kho

Sijhawm Kho
Sijhawm Kho
Sijhawm Kho
Sijhawm Kho
Sijhawm Kho
Sijhawm Kho

Lub sijhawm pib ntawm lub moos no yog 0-GMT

Koj tuaj yeem hloov nws raws li koj qhov chaw nyob

Tom qab ssh nyem rau ntawm lub davhlau ya nyob twg thiab nias Ctrl+C.

tom qab hom "raspi-config" thiab ua raws cov duab kom teem sijhawm

tom qab koj tau teeb tsa lub sijhawm tiav thiab txuag cov chaw

Kauj ruam 10: Txuas lub Zaub thiab Lub Hwj Chim Nws Siv Micro-USB Cable

Txuas lub Zaub thiab Lub Hwj Chim Nws Siv Micro-USB Cable
Txuas lub Zaub thiab Lub Hwj Chim Nws Siv Micro-USB Cable
Txuas lub Zaub thiab Lub Hwj Chim Nws Siv Micro-USB Cable
Txuas lub Zaub thiab Lub Hwj Chim Nws Siv Micro-USB Cable
Txuas lub Zaub thiab Lub Hwj Chim Nws Siv Micro-USB Cable
Txuas lub Zaub thiab Lub Hwj Chim Nws Siv Micro-USB Cable
Txuas lub Zaub thiab Lub Hwj Chim Nws Siv Micro-USB Cable
Txuas lub Zaub thiab Lub Hwj Chim Nws Siv Micro-USB Cable

txuas cov zaub rau raspberry pi xoom thiab siv nws siv micro-USB cable siv koj lub PC lossis laptop

Pom zoo: