Cov txheej txheem:
- Khoom siv
- Kauj Ruam 1: Npaj Koj Cov Khoom Siv Hluav Taws Xob
- Kauj Ruam 2: Hloov Kho Cov Zaub Box
- Kauj Ruam 3: Nruab Cov Khoom Siv Hluav Taws Xob
- Kauj Ruam 4: Khoos Phis Tawj & Teeb Tus Raspberry Pi
- Kauj Ruam 5: Siv Koj Cov Neeg Sau Npe
Video: YouTube Cov Neeg Sau Npe Suav Siv E-Paper Display thiab Raspberry Pi Zero W: 5 Cov Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:24
Hauv Cov Lus Qhia no, Kuv yuav qhia koj yuav tsim koj tus kheej li cas hauv Youtube Cov Neeg Sau Npe Counter siv e-ntawv tso saib, thiab Raspberry Pi Zero W txhawm rau nug YouTube API thiab hloov kho cov zaub. Cov ntawv E-ntawv yog qhov zoo rau hom haujlwm no vim tias lawv muaj kev nyeem tau zoo, txawm tias nyob hauv lub hnub ci ci, thiab tuaj yeem pom los ntawm yuav luag txhua lub kaum ntse ntse, zoo li ntawv.
Cov zaub yuav tsum tau hloov kho yam tsawg kawg ib zaug hauv ib hnub los tiv thaiv kev hlawv hauv cov zaub, tab sis kuv tau teeb tsa kuv li hloov tshiab txhua peb teev.
Lub txee no siv lub zog me me li cov zaub tsuas yog siv thaum nws hloov kho, lub sijhawm tas nws yog qhov tseem ceeb. Raspberry Pi Zero W khiav tsis tu ncua nyob tom qab ntawm tus ncej thiab siv ib puag ncig 0.6W thaum tsis ua haujlwm.
Khoom siv
Txhua yam koj xav tau rau txoj haujlwm no yog Raspberry Pi Zero W, daim npav SD thiab Waveshare E-Ink Display, nco ntsoov tias koj xaj cov zaub uas suav nrog lub kaus mom zaub rau Raspberry Pi. Koj tseem yuav xav tau lub thav duab lossis lub thawv duab ntxoov ntxoo los tsim cov zaub rau hauv.
- Raspberry Pi Zero W - Yuav Ntawm No
- Micro SD Card - Yuav Ntawm No
- Waveshare 7.5 "HD E -Paper Display (B) Nrog Lub Hwj Huam Tswj - Yuav Ntawm No
- 6x8 "Duab Duab Duab Ncej - Yuav Ntawm No (Qhov no tsis yog tib lub thav duab, tab sis ze tshaj plaws kuv tuaj yeem pom ntawm Amazon)
- Keyboard, Mouse & Monitor Rau Teeb (lossis Txuas Los Ntawm SSH)
Kauj Ruam 1: Npaj Koj Cov Khoom Siv Hluav Taws Xob
Pib tawm los ntawm kev siv koj lub taub hau txuas rau koj li Raspberry Pi Zero W yog tias lawv tseem tsis tau teeb tsa thaum koj tau txais nws, thiab txuas lub rhaub dej kub yog tias nws tuaj nrog ib qho.
Cov zaub kuv tau siv yog Waveshare 7.5 HD 3 Xim E-Paper (Qauv B). Lawv kuj tau ua ob xim thiab lwm qhov peb xim hloov nrog daj hloov xim liab, tab sis liab ua haujlwm zoo dua rau khawm YouTube ua si. Cov zaub yog nyias tiag tiag, zoo meej rau kev teeb tsa hauv daim duab tsis tas yuav hloov kho lub vaj huam sib luag tom qab.
Hauv lub npov, koj yuav tau txais SPI cov khoom tswj, uas tau tsim los ua lub kaus mom, npaj kom tau ntsaws ncaj qha mus rau Pi's GPIO pins, yog li koj tsis tas yuav ua qhov txuas ntxiv lawm.
Plug cov zaub kab xev rau hauv cov khoom sib txuas los ntawm kev nqa lub tab dub, thawb cov hlua kab rau hauv qhov txuas thiab tom qab ntawd thawb lub tab dub kom rov xauv nws rau hauv qhov chaw.
Koj daim npav SD tuaj yeem txuas rau koj Pi yog tias nws tau thauj khoom ua ntej nrog Raspberry Pi OS, lwm qhov khaws cia nws ib sab kom txog thaum koj tau rub lub software.
Thaum kawg, ntsaws lub kaus mom rau Pi.
Tam sim no koj tau npaj los sim koj cov zaub. Qhov chaw zoo pib yog nrog Waveshare 7.5 E-Paper Wiki, lawv tau txais qee cov lus qhia zoo kom pib thiab qee qhov piv txwv piv txwv ib yam.
Yog tias koj tsis xav ua si ib puag ncig nrog cov piv txwv, peb yuav saib qhov program thiab teeb tsa hauv cov theem tom ntej.
Kauj Ruam 2: Hloov Kho Cov Zaub Box
Tom ntej no koj yuav tsum tsim cov zaub rau hauv koj lub thav duab lossis lub thawv duab ntxoov ntxoo.
Kuv tau txais daim duab 6x8 nti los ntawm lub khw muag khoom hauv zos rau ob peb daus las.
Tshem lub vaj huam sib luag rov qab kom tau mus rau lub thav duab thav duab dawb.
Tej zaum koj yuav xav tau txiav lub vaj huam sib luag no me ntsis kom haum rau thaj tsam ntawm koj daim ntawv e-ntawv. Ntsuas thaj chaw tso saib thiab tom qab ntawd siv tus pas ntsuas thiab rab riam ntse los kos thiab txiav nws tawm kom raug qhov loj me.
Koj kuj tseem tuaj yeem hloov kho cov qauv teeb tsa thiab cov khoom me me kom haum rau hauv koj lub vaj huam sib luag dawb yog tias koj tsis xav txiav nws.
Tom ntej no, khij tawm ib lub qhov rau kab hlua txuas kom dhau los ntawm lub vaj huam sib luag tom qab thiab siv riam riam lossis cov cuab yeej siv los txiav nws tawm. Kuv siv lub tshuab txiav laser los txiav cov duab plaub uas nyob ib sab thiab ua qee qhov kom nce lub Raspberry Pi mus rau qhov sawv ntsug.
Kauj Ruam 3: Nruab Cov Khoom Siv Hluav Taws Xob
Tev tawm cov yeeb yaj kiab tiv thaiv thiab tom qab ntawd muab cov kua nplaum tso rau ntawm lub thav duab dawb, ua kom ntseeg tau tias nws yog ib nrab thiab ncaj. Kuv tsuas yog siv me me ntawm cov kua nplaum kub ntawm lub ces kaum los tuav nws hauv qhov chaw. Nws yuav maj mam clamped los ntawm nraub qaum ib yam, yog li koj tsis xav tau ntau cov kua nplaum.
Rov ua dua cov txheej txheej, maj mam rub daim kab xev hla lub vaj huam sib luag rov qab ua ntej koj kaw nws.
Txuas cov hlua txuas rau hauv qhov txuas thiab tom qab ntawd muab cov nplaum txuas rau hauv qhov chaw txhawm rau tiv thaiv kom tsis txhob rub lossis muaj zog raug muab tso rau ntawm kab, uas tuaj yeem rhuav nws.
Thaum kawg, nce lub Raspberry Pi thiab lub kaus mom mus rau qhov sawv ntawm tus ncej. Nws yog qhov zoo tshaj los siv qee cov yas lossis tooj dag sawv ntsug rau qhov no. Koj tuaj yeem siv cov kua nplaum kub los ua kua nplaum rau sab nraum qab ntawm Pi rau sawv ntsug yog tias koj tsis muaj qhov sawv ntsug.
Qhov ntawd yog nws, koj cov zaub yog tam sim no npaj rau programmed.
Kauj Ruam 4: Khoos Phis Tawj & Teeb Tus Raspberry Pi
Lub cajmeem ntawm cov zaub yog ncaj ncaj rau pem hauv ntej tab sis tuaj yeem yog txheej txheem ntev los ua haujlwm dhau los.
Koj yuav tsum:
- Npaj Raspberry Pi OS kev teeb tsa
- Nruab cov tsev qiv ntawv thiab hloov tshiab
- Tau koj tus lej YouTube API thiab Channel ID
- Hloov kho Python tsab ntawv thiab khaws nws rau koj Pi
- Xeem khiav tsab ntawv
- Automate khiav tsab ntawv nrog crontab
Kuv yuav tsis mus rau qib ib qib zuj zus qhia hauv Cov Lus Qhia no, raws li kuv twb tau sau tawm cov lus qhia ntxaws thiab cov txheej txheem ntawm kuv blog nrog rub tawm rau Python cov ntawv sau - Youtube Subscriber Counter
Python tsab ntawv tseem ceeb xa cov tsev qiv ntawv thiab cov haujlwm uas xav tau, tom qab ntawv nug YouTube API, hloov kho tus lej kom suav nrog tus lej thiab tom qab ntawd hloov kho cov duab kom pom qhov txiaj ntsig tshiab kawg. Nws kuj tseem hloov kho thaj chaw me me nyob rau hauv qab txoj cai ces koj tuaj yeem qhia tau yooj yim yog tias Pi tsis tau hloov kho cov zaub ib ntus vim qhov ua yuam kev.
Thaum koj sau tsab ntawv, cov zaub yuav pib txheej txheem rov ua dua tom qab ob peb feeb. Nws yuav siv sijhawm ib ncig 30-40 vib nas this rau kev ua kom tiav tshiab. Lub sijhawm no, cov zaub yuav xub flicker dub thiab dawb thiab tom qab ntawd ploj mus, tom qab ntawd nws yuav tsim cov xim dub thiab dawb ntawm cov zaub thiab thaum kawg sau liab los ntawm kev hloov qee qhov chaw dub. Qhov flickering yog qhov ib txwm muaj thiab ua tiav los ntawm tus maub los los hloov cov khoom tso tawm thiab tiv thaiv kev hlawv hauv.
Kauj Ruam 5: Siv Koj Cov Neeg Sau Npe
Thaum koj tau txais koj tsab ntawv khiav thiab ua haujlwm siv crontab, koj lub txee npaj tau siv. Tsuas yog ntsaws nws rau hauv USB fais fab mov thiab muab tso rau ntawm koj lub rooj lossis txee.
Kuv xav tsim qhov tshwj xeeb YouTube Cov Neeg Siv Khoom Siv Counter siv Raspberry Pi Zero W, tab sis koj kuj tseem tuaj yeem siv ESP32 los siv lub zog txawm tias tsawg dua los ntawm kev tso tus tswj kom pw ntawm qhov hloov tshiab rau cov zaub, qee yam uas nyuaj rau ua ntawm Raspberry Pi.
Ua raws li kuv li YouTube channel rau ntau Raspberry Pi thiab Arduino cov haujlwm, thiab pab txhawb nqa lub txee!
Qhia rau kuv paub koj xav li cas hauv kab lus thiab qhia rau kuv paub yog tias koj sim tsim koj tus kheej!
Pom zoo:
Npau Suav Npau Suav rau Tus Neeg Tshwj Xeeb hauv Koj Lub Neej: 11 Kauj Ruam (nrog Duab)
Npau Suav Npau Suav rau Tus Neeg Tshwj Xeeb hauv Koj Lub Neej: Lub thawv me me no qhia tus lej rau hnub uas kuv tus hlub thiab kuv tau ua peb lub neej nyob ua ke. Tau kawg, rau koj hnub yuav yog ib yam dab tsi, nws tuaj yeem qhia hnub txij li koj sib yuav, txij li hnub koj thiab koj tus txij nkawm tau ntsib, hnub koj tau tsiv
SMD Soldering Practice Kit, lossis Kuv Yuav Kawm Li Cas Kom Tsis Txhob Txhawj Xeeb Thiab Nyiam Cov Khoom Siv Suav Suav Pheej Yig: 6 Kauj Ruam
SMD Soldering Practice Kit, lossis Kuv Yuav Ua Li Cas Kuv Thiaj Li Tsis Rhuav Txaus Siab Thiab Nyiam Cov Khoom Siv Suav Pheej Yig: Qhov no tsis yog Qhia Qhia txog kev siv tshuaj txhuam. Nov yog Cov Lus Qhia txog yuav tsim cov khoom siv Suav pheej yig li cas. Cov lus hais yog tias koj tau txais yam koj them rau, thiab ntawm no yog qhov koj tau txais: Cov ntaub ntawv tsis zoo. Cov lus nug tsis zoo. Tsis muaj kev txhawb nqa Yog li vim li cas thiaj yuav
Ntse Ntaus Pob Ntaus Pob Ua Si Nrog Cov Qub Suav Suav Hoops Siv Evive- Arduino Embedded Platform: 13 Cov Kauj Ruam
Ntse Ntaus Pob Ntaus Pob Ntaus Pob Ua Si Nrog Cov Ntsiab Lus Suav Hoops Siv Evive- Arduino Embedded Platform: Ntawm txhua qhov kev ua si tawm muaj, qhov lom zem tshaj plaws yog kev ua si arcades. Yog li, peb xav tias vim li cas ho tsis ua peb tus kheej hauv tsev! Thiab ntawm no peb yog, qhov lom zem tshaj plaws DIY game koj tau puas tau ua si txog tam sim no - DIY Arcade Basketball Game! Tsis yog tsuas yog
Arduino Neeg Hlau Nrog Kev Nyob, Kev Qhia thiab Qib Kev Sib Hloov (Sab Hnub Poob, Sab Hnub Poob, Sab Qaum Teb, Sab Qab Teb) Tswj los ntawm Lub Suab Siv Bluetooth Module thiab Kev Siv Tus Neeg Siv Hluav Taws Xob: 6 Kauj Ruam
Arduino Neeg Hlau Nrog Kev Nyob, Kev Qhia thiab Qib Kev Sib Hloov (Sab Hnub Poob, Sab Hnub Poob, Sab Qaum Teb, Sab Qab Teb) Tswj los ntawm Lub Suab Siv Bluetooth Module thiab Kev Siv Tus Neeg Siv Hluav Taws Xob: Cov lus qhia no piav qhia yuav ua li cas thiaj tsim tau Arduino Robot uas tuaj yeem txav mus raws qhov xav tau (Forward, Backward) , Sab laug, Txoj Cai, Sab Hnub Poob, Sab Hnub Poob, Sab Qaum Teb, Sab Qab Teb) xav tau Kev nrug deb hauv Centimeters siv lub suab hais kom ua. Neeg hlau kuj tseem tuaj yeem txav tau tus kheej
YouTube Tus Neeg Sau Npe Suav Nrog ESP8266 IoT: 5 Cov Kauj Ruam (nrog Duab)
YouTube Tus Neeg Sau Npe Suav Nrog ESP8266 IoT: Ntawm no kuv coj tuaj rau koj kuv thawj qhov Internet ntawm Yam (IoT) qhov haujlwm. Kuv yog tus youtuber tshiab thiab nws suab zoo rau kuv kom tuaj yeem ua rau kuv cov neeg siv suav suav suav nrog hauv kuv lub rooj lossis phab ntsa. Vim li ntawd kuv thiaj ua qhov haujlwm tsis txaus ntseeg no yooj yim thiab muaj txiaj ntsig zoo rau koj