Cov txheej txheem:
Video: Teeb Bluetooth; Android Raspberrypi Unicornhathd: 4 Cov Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:27
Qhia:
Peb yuav ua lub teeb pom kev ib puag ncig uas tswj tau qhov chaw deb. Koj tuaj yeem pom qhov tshwm sim hauv video. Kuv tsis yog tus neeg hais lus Askiv ib txwm, yog li ua siab ntev nrog kuv cov lus.
Koj yuav tsum tsis txhob ntshai ntawm lub davhlau ya nyob twg, vim peb yuav tsis siv Duab Duab rau Pi. Kuv ntseeg tias cov lus qhia no ua tau nrog tsis muaj kev paub dhau los nrog cov dav hlau, koj kuv xav tias nws yuav suav nrog qhov googling me ntsis thiab tej zaum yuav ua rau muaj kev ntxhov siab me ntsis …
Koj xav tau dab tsi:
- Raspberrypi Zero W (Yuav Raspberry pi Zero WH yog tias koj tsis xav siv lwm yam los txhuam)
- Micro SD Card (rau Raspberry pi duab. 8GB yuav tsum muaj ntau dua)
- Lub hwj chim muab rau Raspberry pi
- Unicorn lub kaus mom hd
- Android smartphone (txhua yam txij li 4.0.0 yuav tsum ua haujlwm, txawm tias kuv tsuas yog sim 7.1.1)
- Saib xyuas (tsuas yog rau kev teeb tsa thawj zaug - koj yuav txuas tus pi rau nws. Nco tseg: Koj kuj tseem yuav xav tau adapter txuas koj tus Pi mus rau Tus Saib Xyuas)
- Keyboard (tsuas yog rau kev teeb tsa thawj zaug - koj yuav txuas tus pi rau nws. Nco tseg: Koj kuj tseem yuav xav tau adapter txuas koj lub keyboard rau Pi)
- Lub khoos phis tawj nrog Android Studio (rub tawm dawb yog tias koj tseem tsis tau teeb tsa nws)
- WLAN nrog kev siv internet (tsuas yog rau thawj zaug teeb tsa pi)
(Yog tias koj xav tau kuv tuaj yeem ntxiv App rau playstore, yog li koj tuaj yeem hla ntu hauv xov tooj cua studio)
Kauj ruam 1: Raspbian
Pins:
Yog tias koj yuav Raspberry Pi Zero nrog cov pins cais: muab lawv tso rau koj Pi.
Duab:
Download Raspian Stretch Light.
Nyem nws rau koj daim npav SD. Piv txwv nrog BalenaEtcher.
Pib:
Ntxig rau Sd hauv Raspberry. Txuas tus saib thiab Keyboard rau tus pi. Txuas koj lub hwj chim. Pi yuav tsum khau raj.
Default username: "pib"
Default password: "raspberry"
Nco tseg: Lub keyboard txheej txheem pib yog Asmeskas. Koj tuaj yeem hloov qhov ntawd tom qab koj nkag mus rau koj tus pi siv raspi-teeb tsa.
Kauj ruam 2: Teeb Raspberry
Ua raws cov lus qhia ntawm README ntawm kuv GitHub Repository. Nws piav qhia txhua yam Step by Step.
Kauj ruam 3: Android Part
Koj yuav tsum muaj Pi khiav tam sim no.
Nruab Android Studio.
Clone GitHub Cov Chaw rau Android ib feem siv git (lossis tsuas yog rub tawm cov lej zipped yog tias koj tsis muaj kev paub dhau los nrog git thiab tsis xav kawm nws).
Qhib Android Studio thiab siv qhov ntawd los qhib Txoj Haujlwm. Txuas koj Android ntawm USB nrog koj lub computer.
Nyem rau ntshuam Android Studio Project uas twb muaj lawm. Xaiv lub nplaub tshev Lampe2. Yog tias nws nug koj kom ntxiv ib daim ntawv rau git: xaiv rho tawm/tsis.
Nyem rau ntawm "Run-> Run 'app'". Xaiv koj lub cuab yeej los ntawm cov cuab yeej xaiv thiab nyem "ok".
Koj yuav xav tau nruab cov khoom uas ploj lawm. Yog tias koj tau txais cov lus yuam kev liab nrog lo lus tseem ceeb xiav, nyem rau ntawm lo lus xiav thiab nws yuav tsum teeb tsa cia.
Yog tias koj muaj teeb meem, tsis txhob ua siab deb nug.
Kauj ruam 4: App
Koj yuav tsum muaj App tau teeb tsa tam sim no. Thiab koj lub hauv xov tooj ntawd yuav tsum tau ua khub nrog tus pi.
Qhib Bluetooth ntawm koj lub Smartphone.
Xaiv koj Pi los ntawm cov npe khoom siv ua ke.
Xaiv qhov hais kom ua thiab Nyem rau xa.
Qee zaum kev sib txuas muaj qee qhov teeb meem. Hauv qhov no: Tos kom txog thaum koj pom cov lus "Teeb tsis pom" thiab sim dua.
Muaj kev lom zem
Pom zoo:
Maus Tail Teeb Nrog Cov Teeb Pom Kev Zoo Siv Lub Teeb LED: 4 Cov Kauj Ruam
Maus Tail Teeb Nrog Cov Teeb Pom Kev Zoo Siv Lub Teeb LEDs: Nyob Zoo! Qhov no yog qee qhov yooj yim DIY ntawm yuav ua li cas thiaj li tsim tau qhov kev cai Programmable RGB Tail Teeb (nrog ua ke ntsais muag/ntsuas ntsuas) rau koj lub maus taus lossis tej zaum muaj ib yam dab tsi siv WS2812B (tus kheej qhov chaw nyob leds) thiab Arduinos . Muaj 4 hom teeb pom kev zoo
DIY LED Teeb - Niaj Hnub Teeb Meem Teeb Nrog Cov Chaw Taws Teeb: 8 Kauj Ruam (nrog Duab)
DIY LED Teeb - Niaj Hnub Teeb Mood Teeb Nrog Chaw Taws Teeb: Hauv kab lus no kuv yuav mus hla cov txheej txheem Kuv tau siv los tsim qhov no zoo heev pyramid zoo li tus LED Mood Teeb.Kuv siv maple rau cov qauv tseem ceeb thiab qee qhov mahogany txhav ntxiv rau lub zog. Rau lub teeb Kuv siv RGB LED teeb uas tuaj nyob hauv 16 ko taw
Rov Ua Dua Lub Teeb Qub Los Tsim Cov Teeb Pom Teeb LED: 4 Cov Kauj Ruam
Recycle Old Light Fixtures los Tsim Artistic LED Teeb Pom Kev Zoo: Nrhiav cov teeb pom kev zoo qub qub ntawm cov khw muag khoom, chaw muag tsheb, thiab lwm yam
LED Teeb Teeb Duab Cwjmem: Cov Cuab Yeej rau Teeb Teeb Doodles: 6 Kauj Ruam (nrog Duab)
LED Teeb Teeb Lub Cwjmem: Cov Cuab Yeej rau Teeb Doodles: Kuv tus poj niam Lori yog tus neeg siv tsis tu ncua thiab kuv tau ua si nrog kev yees duab ntev ntev rau ntau xyoo. Kev tshoov siab los ntawm PikaPika pab pawg teeb pom kev zoo thiab yooj yim ntawm cov koob yees duab digital peb tau siv lub teeb duab kos duab kom pom tias peb tuaj yeem ua dab tsi
Cov Roj Teeb Lemon Me, thiab Lwm Cov Qauv rau Xoom Tus Nqi Hluav Taws Xob thiab Coj Lub Teeb Tsis Muaj Roj Teeb: 18 Kauj Ruam (nrog Duab)
Cov Roj Teeb Lemon Me, thiab Lwm Cov Qauv rau Xoom Tus Nqi Hluav Taws Xob thiab Coj Lub Teeb Tsis Muaj Roj Teeb: Nyob zoo, tej zaum koj twb paub txog txiv qaub roj teeb lossis roj teeb roj teeb. Lawv tau siv ib txwm siv rau lub hom phiaj kev kawm thiab lawv siv cov tshuaj tiv thaiv hluav taws xob uas tsim hluav taws xob qis, feem ntau pom nyob rau hauv daim ntawv ntawm cov coj lossis lub teeb ci ci. Cov no