Cov txheej txheem:
- Kauj Ruam 1: Yuav Tsum Kho Vajtse
- Kauj Ruam 2: Sib dhos Cov Khoos Phis Tawj
- Kauj Ruam 3: Nruab PiGPIO
- Kauj Ruam 4: Tau Txais Qhov Code
- Kauj Ruam 5: Tsim Daim Ntawv Thov
- Kauj ruam 6: Tua tawm Daim Ntawv Thov
Video: Raspberry Pi Christmas Ntoo: 6 Cov Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:29
Koj puas tau xav kom muaj kev tswj hwm koj lub teeb Christmas? Cov ntawv qhia no yuav qhia tawm cov kauj ruam tseeb rau kev ua tsob ntoo Christmas siv los ntawm Raspberry Pi, ANAVI Lub teeb pHAT thiab pheej yig 12V RGB LED sawb. Qhov no yog qhov tseeb tsis yog qhov kev daws teeb meem pheej yig tshaj rau kev kho kom zoo nkauj rau hnub so tab sis nws yog kev lom zem thiab muaj txiaj ntsig zoo los xyaum koj cov txuj ci txuj ci.
Kauj Ruam 1: Yuav Tsum Kho Vajtse
Txhawm rau tsim Raspberry Pi Christmas tsob ntoo koj yuav xav tau:
- Ntoo Christmas
- Raspberry Pi (txhua tus qauv lossis version ntawm Raspberry Pi nrog 40 tus pin header)
- ANAVI Lub teeb pHAT
- 12V RGB LED sawb
- USB fais fab mov
- 12V fais fab mov nrog DC nkaus 5.5x2.1mm
- MicroSD daim npav nrog Raspbian
Koj tuaj yeem siv ib qho 12V RGB LED sawb. Xaiv qhov ntev ntawm txoj hlua sib thooj rau qhov loj ntawm koj tsob ntoo Christmas. Cov 12V RGB LED strips yog cov khoom muag. Lawv pheej yig heev thiab yooj yim mus nrhiav. Hauv daim vis dis aus no kuv tab tom siv 1 meter ntev sawb nrog 30 LEDs hauv nws.
Kauj Ruam 2: Sib dhos Cov Khoos Phis Tawj
Sib sau kho vajtse nrog koj txhais tes liab qab. Txuas lub RGB LED sawb rau ANAVI Lub teeb pHAT siv tus ntsia hlau tsav thiab khau raj Raspberry Pi raws li qhia hauv video.
ANAVI Lub teeb pHAT yog qhov qhib khoom kho vajtse Raspberry Pi ntxiv rau ntawm pawg thawj coj tshwj xeeb tsim los tswj cov xim tus nqi qis 12V RGB LED sawb ntawm peb MOSFETs. Siv nws yog qhov yooj yim heev los tsim txoj haujlwm hauv ob peb feeb xwb.
Kauj Ruam 3: Nruab PiGPIO
Ntawm koj tus Raspberry Pi qhib lub davhlau ya nyob twg thiab teeb tsa qhov hloov tshiab kawg ntawm piGPIO thiab Git los ntawm kev ntaus cov lus txib hauv qab no:
sudo apt-tau hloov tshiab
sudo apt -tau nruab -y pigpio git
Kauj Ruam 4: Tau Txais Qhov Code
Daim ntawv thov demo rau kev tswj hwm 12V RGB LED sawb yog pub dawb thiab qhib qhov chaw. Nws muaj nyob ntawm GitHub. Ua raws li cov lus txib hauv qab no hauv lub davhlau ya nyob twg kom tau txais qhov chaws:
git clone
Kauj Ruam 5: Tsim Daim Ntawv Thov
Ua raws li cov lus txib hauv qab no hauv lub davhlau ya nyob twg los tsim daim ntawv thov demo:
cd anavi-piv txwv/anavi-light-phat/light-demo
ua
Daim ntawv thov demo tau sau ua hom lus C programming. Nws tsim software uas txhais cov mem tes-dav tes taws los piav xim ntawm RGB LED sawb los ntawm peb MOSFETs ntawm ANAVI Lub teeb pHAT.
Ntawm txhua qhov thib ob qhov kev zov me nyuam teeb tsa tus lej tsis raug hauv thaj tsam ntawm 0 txog 255 ntawm txhua ntawm peb lub ntsiab xim. Kev sib xyaw ua ke ua ntau dua 16 lab xim! Txawm hais tias xim tau txiav txim siab tsis xwm yeem, lub hauv paus chaws tau sau rau hauv txoj hauv kev kom muaj txoj hauv kev uas ib ntawm peb lub ntsiab xim yog ci dua li lwm qhov.
Kauj ruam 6: Tua tawm Daim Ntawv Thov
Ua cov lus txib hauv qab no kom pib daim ntawv thov:
sudo pigpiod
./demo
Daim ntawv thov demo sau lub voj tsis muaj qhov kawg. Txhawm rau txiav nws tus neeg siv yuav tsum nias ib txhij ntawm nws cov keyboard Ctrl thiab C. Qhov ntawd yog nws! Txaus siab rau cov hnub caiv thiab zoo siab nyiag nkas!
Pom zoo:
Lub Vev Xaib-Tsob Ntoo Christmas Tsob Ntoo (Ib Tus Neeg Tuaj Yeem Tau Nws): 19 Cov Kauj Ruam (nrog Duab)
Lub Vev Xaib-Tsob Ntoo Christmas Tsob Ntoo (Ib Tus Neeg Tuaj Yeem Tau Nws): Koj xav paub lub vev xaib tswj hwm tsob ntoo Christmas zoo li cas? Nov yog daim vis dis aus qhia tawm kuv qhov project ntawm kuv tsob ntoo Christmas. Tam sim no cov kwj tawm tau xaus los txog tam sim no, tab sis kuv tau ua yeeb yaj kiab, ntes dab tsi tau tshwm sim: Xyoo no, nyob nruab nrab ntawm Lub Ob Hlis
LED Circuit Board Christmas Christmas Ntoo Ornament: 15 Kauj Ruam (nrog Duab)
LED Circuit Board Christmas Christmas Ornament: Hnub Christmas no, Kuv txiav txim siab ua Christmas cov khoom siv los muab rau kuv cov phooj ywg thiab tsev neeg. Kuv tau kawm KiCad xyoo no, yog li kuv txiav txim siab ua cov khoom qub tawm ntawm cov rooj sib tham. Kuv tau ua txog 20-25 ntawm cov khoom qub no. Kev kho kom zoo nkauj yog lub voj voog
C51 4 Cov Khoom Siv Hluav Taws Xob - Ntoo Ntoo: 15 Cov Kauj Ruam (nrog Duab)
C51 4 Ntsuas Hluav Taws Xob Hluav Taws Xob - Ntoo Ntoo: Muaj qee lub sijhawm nyob rau lub asthiv no yog li mus tom ntej thiab sib sau ua ke no AU $ 2.40 4 -Khoom DIY Electronic Digital Clock uas kuv tau yuav los ntawm AliExpress ib pliag dhau los
Yuav Ua Li Cas Siv Qhov Tsob Ntoo Tsob Ntoo Los Ua Ke Los Ua Ib Tug Ntoo Zoo Nkauj thiab Muaj Zog Ntoo: 10 Kauj Ruam
Yuav Siv Li Cas Ib Ntus Ntoo Los Ua Ke Los Ua Ib Tug Ntoo Zoo Nkauj thiab Muaj Zog: Lub npe ntawm caj npab neeg hlau yog WoodenArm. Nws zoo nkaus li ntxim hlub heev! Yog tias koj xav paub ntau ntxiv txog WoodenArm, thov xa mus rau www.lewansoul.com Tam sim no peb tuaj yeem qhia txog WoodenArm, cia peb txav mus
Muab Kauv Ntoo Christmas Ntoo: 4 Kauj Ruam (nrog Duab)
Spiral Led Christmas Tree: Nyob zoo cov phooj ywg Hauv qhov tsis txaus ntseeg no peb tab tom yuav ua cov kauv coj Christmas ntoo