Cov txheej txheem:

DIY Ntse Teeb Nrog Raspberry Pi Xoom: 4 Cov Kauj Ruam (nrog Duab)
DIY Ntse Teeb Nrog Raspberry Pi Xoom: 4 Cov Kauj Ruam (nrog Duab)

Video: DIY Ntse Teeb Nrog Raspberry Pi Xoom: 4 Cov Kauj Ruam (nrog Duab)

Video: DIY Ntse Teeb Nrog Raspberry Pi Xoom: 4 Cov Kauj Ruam (nrog Duab)
Video: Saib Mis paub Poj niam (hluas nkauj) tus yam ntxwv lub siab 2024, Hlis ntuj nqeg
Anonim
Image
Image

Ntse teeb tau dhau los ua neeg nyiam dua. Cov teeb zoo li no feem ntau yog LED teeb uas tuaj yeem tswj hwm WiFi lossis Bluetooth. Cov xim, saturation thiab ci ci tuaj yeem hloov pauv siv lub xov tooj smartphone. Ib yam kuv pom tau yog, feem ntau cov teeb ci ntse yog kim kim thiab nyuaj rau teeb tsa. Thaum WiFi tswj lub teeb tso siab rau kev siv internet txuas, Bluetooth teeb pom kev zoo xav tau ze ze ntawm lub cuab yeej koj xav tswj. Feem ntau qee qhov app lossis lub vev xaib yuav tsum tau qhib los tswj lub teeb ntse, uas tuaj yeem ua rau muaj teeb meem me ntsis.

Kuv lub hom phiaj yog ua kom WiFi tswj lub teeb ntse uas yuav pheej yig dua li cov teeb ci ntse, tseem muaj kev ua haujlwm puv ntoob (tswj qhov ci, ci thiab xim). Txhawm rau Ua Kom Lub Teeb pom kev zoo dua rau cov neeg siv thiab teeb tsa tau yooj yim, Kuv tau xav txog txoj hauv kev txuas thiab tswj lub teeb yam tsis tas yuav qhib lub vev xaib lossis rub tawm ib qho (ntxiv) app.

Hmoov tsis zoo, qhov kev xaiv tsuas yog ua kom lub teeb ci ntse yog tso siab rau Apple cov cuab yeej nkaus xwb txij li Apple muaj lub hauv paus 'Tsev' App uas tso cai rau cov neeg siv los tswj qee yam khoom siv ntse hauv lawv lub tsev. Txog tam sim no, Kuv tau nrhiav kev daws teeb meem kom tau txais qhov no thiab ua haujlwm ntawm Android ib yam nkaus, tab sis kuv tsis tau los txog rau ib qho kev ua haujlwm daws teeb meem. Thov txim, Android kiv cua, tej zaum lwm zaus…

Kuv lub teeb ci ntse yog ua los ntawm ob qho khoom siv, Raspberry Pi Zero W thiab Unicorn phat los ntawm Pimoroni. Cov ntsiav tshuaj zoo li 'rooj plaub' yog qhov npog 3D luam tawm thiab nthuav tawm. Raspberry Pi Zero W yuav ua raws li lub network wifi uas cov neeg siv tuaj yeem txuas nrog siv tus password. Txhua tus neeg txuas nrog lub network ntawd tuaj yeem tswj lub teeb siv 'Tsev' App. Txhawm rau ua tej yam yooj yim, txhua txoj haujlwm tau teeb tsa kom ua haujlwm ntawm Pi Zero W sai li sai tau lub zog tau muab.

Yog tias koj muaj Raspberry Pi Zero W thiab unicorn phat dag nyob ib puag ncig thiab yog tias koj yog Apple tus neeg siv, vim li cas ho tsis siv sijhawm no los ua koj tus kheej tus nqi qis, tseem muaj lub ntsej muag ntse ua haujlwm?

Qhov txawv tab sis nthuav qhov tshwj xeeb ntawm lub teeb no yog tias koj tuaj yeem nqa nws nyob txhua qhov chaw koj nyiam thiab tseem siv nws nrog koj iPhone. Vim tias nws txav tau yooj yim, nws ua rau nws zoo tagnrho raws li tus khub nqa ntawm koj txoj kev mus.

Kauj Ruam 1: Dab Tsi Xav Tau?

Dab Tsi Xav Tau?
Dab Tsi Xav Tau?

Nkag mus rau lub laptop lossis pc

Raspberry Pi Zero W.

Pimoroni's unicorn phat

Ib daim npav mirco SD (min 8GB) rau kev ua haujlwm

Ib qho micro SD rau SD daim npav adapter lossis USB nrog lub micro sd daim npav qhov

Ib qho micro USB cable txhawm rau xoom Zero W.

Nkag mus rau lub tshuab luam ntawv 3D rau rooj plaub / diffusor. Yog tias koj tsis muaj, koj tuaj yeem tiv toj qhov kev pabcuam 3D luam ntawv los luam tawm thiab xa koj cov ntawv luam 3D.

Cov ntaub ntawv luam tawm pob tshab. Txhua yam ua haujlwm tsuav yog lub teeb tuaj yeem hla mus. Kuv siv pob tshab PLA.

Ib lub raj hlau thiab qee cov laug

20x2 tus txiv neej lub taub hau rau Pi Zero

Kauj ruam 2: Ua tiav Kev Teeb

Image
Image
Teem Teeb
Teem Teeb
Teem Teeb
Teem Teeb

Hloov chaw sau txog 50 cov kauj ruam lossis ntau dua los teeb tsa txoj haujlwm no ntawm koj li Raspberry Pi xoom w, Kuv tau xaiv los tshaj tawm cov duab yooj yim xwb, uas yuav tsum tau hlawv ntawm daim npav micro SD dawb. Cov ntaub ntawv duab hauv nws lub xeev tau nrawm txog 0, 9 GB. Koj tsis tas yuav unzip cov ntaub ntawv yog tias koj ua raws cov lus qhia hauv qab no. Nov yog qhov txuas rau daim duab duab:

Cov ntaub ntawv duab

Cov duab tau hlawv ntawm daim npav SD dawb (tsawg kawg 8GB). Txhawm rau ua qhov no, ua ntej tshaj tawm daim npav micro SD siv software 'SDFormatter' (tuaj yeem rub tawm los ntawm https://www.sdcard.org/downloads/formatter_4/). Tom qab ntsaws koj daim npav micro SD hauv, xaiv cov kev xaiv thiab qhib 'Format-Size-Adjustment'. Tom qab kev teeb tsa, daim duab tuaj yeem hlawv ntawm daim npav micro sd. Kuv tus kheej nyiam siv Etcher los hlawv cov duab, vim nws yooj yim siv thiab tsis xav kom koj unzip cov duab cov duab. Etcher tuaj yeem rub tawm los ntawm no: Balena Etcher. Tom qab xaiv tsav nrog koj daim npav micro SD ntawm lwm yam, xaiv rau PiLight duab thiab nyem rau nyem. Thaum cov txheej txheem tiav, daim npav micro SD tau teeb tsa.

Tam sim no, koj qhov kev txawj ntse yuav tsum tau ua kom unicorn phat ua haujlwm. Solder tus txiv neej lub taub hau rau Raspberry pi. Sab ntev ntawm cov pins yuav tsum tau tig mus rau sab saud. Tom qab ntawd, muab tus poj niam lub taub hau tso rau ntawm tus tsiaj unicorn. Sab ntev ntawm lub taub hau yuav tsum tau tig mus rau hauv qab. Txuas lub Unicorn phat rau Raspberry. Yog tias koj xav tau qee cov lus qhia ntxiv hais txog kev siv cov laug, tsuas yog ua raws phau ntawv qhia no:

learn.pimoroni.com/tutorial/sandyj/solderi…

Nyob rau theem no, koj tuaj yeem rub tawm cov ntawv 2 PiLight.stl no thiab luam tawm nrog koj lub tshuab luam ntawv 3D siv cov ntaub ntawv luam tawm pob tshab. Kuv siv 20% infill vim qhov no txaus. Nov yog qhov txuas rau 2 cov ntaub ntawv:

https://goo.gl/1VhPct

Kauj Ruam 3: Kuaj Lub Teeb ntawm Koj Li IOS Device

Image
Image
Kuaj Lub Teeb ntawm Koj Li IOS Ntaus
Kuaj Lub Teeb ntawm Koj Li IOS Ntaus

Tam sim no tias daim npav micro SD tau teeb tsa, ntsaws daim npav micro SD hauv qhov qhib ntawm pi zero w. Fais fab raspberry nrog lub micro USB cable. Tom qab li 2 feeb, koj yuav tsum tuaj yeem pom 'PiLight' ua lub network tshiab. Sim txuas rau nws siv ib qho khoom siv Apple. Tus password tsis raug rau lub network yog 'password'. Koj yuav tsum txuas nrog ua wifi los ntawm raspberry pi, tab sis internet yuav tsum tsis muaj. Yog tias lub network 'ncaws' koj tawm, nws tsuas yog txhais tau tias koj yuav tsum tau tos ib pliag lossis ob zaug txij li lub kaw lus tseem tab tom thauj khoom.

Thaum koj tau txuas nrog thaum kawg, qhib lub 'Tsev' App lossis teeb tsa nws yog tias koj tsis muaj nws ntxiv lawm. Xwb, koj tseem tuaj yeem siv 'Hesperus', uas ua haujlwm tib yam. Tom qab ntawd, muab koj lub tsev lub npe (tej zaum 'tsev') thiab sim ntxiv cov cuab yeej. Koj yuav tsum tuaj yeem pom lub cuab yeej hu ua 'homebridge'. Coj mus rhaub rau 'homebridge' thiab tos kom nws txuas. Koj yuav raug hais kom nkag mus rau tus lej 6 tus lej. Siv tus pin no los txuas:

031-45-151

Tam sim no koj tau teeb tsa txhua yam thiab tuaj yeem txav mus ntsuas qhov pom kev.

Txhawm rau ua li ntawd, nyem rau ntawm PiLight Icon hauv Tsev app. Koj lub teeb ci yuav tsum teeb. Sim tawm txhua qhov kev xaiv los hloov qhov ci ci, xim thiab lub zog.

Kauj ruam 4: Mus Ntxiv

Tam sim no tias koj lub teeb ntse tau ua haujlwm thiab tau sim, koj tuaj yeem siv nws ib yam nkaus. Qhov yuav tsum tau ua ntej tshaj plaws yog tias koj lub xov tooj yuav tsum txuas nrog lub teeb ntse tshaj WiFi. Txhawm rau siv cov yam ntxwv no, koj yuav tsum tau txais 'Hesperus' App los ntawm App Store.

Koj tuaj yeem teeb lub teeb raws li kev ceeb toom rau lub sijhawm tshwj xeeb. Kuv siv kuv li tswb lossis theej tswb-teeb. Tab sis koj tuaj yeem ua kom nws hloov xim ntawm lub sijhawm tshwj xeeb xws li liab thaum sawv ntxov, txiv kab ntxwv thaum sawv ntxov thiab xiav thaum nws txog lub sijhawm sawv.

Kuv yuav nyiam saib yog tias lwm tus tau ua qhov no ib yam los ntawm txhaj 'Kuv ua nws' thiab tshaj tawm daim duab. Ntawm qhov tod tes, yog tias muaj qee yam uas koj xav tias tsis muaj lossis tuaj yeem txhim kho, Kuv npaj tau hnov nws. Tsuas yog tshaj tawm qhov teeb meem hauv lub thawv saib thiab kuv yuav pab.

Pom zoo: