Cov txheej txheem:
- Kauj Ruam 1: Daim Ntawv Teev Npe:
- Kauj Ruam 2: Noj Pralines Los Ntawm Lub Thawv
- Kauj Ruam 3: Txuas Txhua Lub Cheebtsam
- Kauj Ruam 4: Coding Wemos Board
- Kauj ruam 5: Tswj lub Qhov (Socket)
Video: Wi-Fi Tswj Lub Teeb Hloov: 5 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:28
Nyob zoo! Koj puas tau nkees nkees uas koj tsis hnov qab tua lub teeb hauv koj chav? Puas yog koj tsuas yog tsis nyiam kom sawv ntawm lub txaj sov, xis nyob thiab tsoo lub teeb ntawm lub txaj? Tej zaum peb txhua tus paub qhov kev xav ntawd. Tias yog vim li cas kuv xav qhia koj li cas kuv ua lub xov tooj-tswj lub hauv paus rau yav tom ntej lub tsev siv tshuab tshuab-Wi-nkaus tswj lub teeb hloov.
Kauj Ruam 1: Daim Ntawv Teev Npe:
Txiav txim siab qhov twg peb yuav tsum siv yog ib txwm lom zem. Ntau qhov kev tshawb nrhiav qhov uas pheej yig tshaj thiab ntseeg tau tshaj plaws thaum tseem saib lwm tus hauv khw thiab xav txog lwm qhov haujlwm zoo: D
Ua ntej, peb yuav xav tau lub hlwb rau peb qhov project.
Kuv xaiv Wemos D1 mini board, vim nws tsis tsuas yog muab Wi-nkaus txuas rau qhov hloov pauv, tab sis muaj 11 GPIO thiab tuaj yeem tsim kho tau los ntawm Arduino IDE software, yog li peb tsis tas yuav siv lwm lub microcontroller. Kuv yuav ib qho rau $ 2.69 los ntawm Aliexpress.
OK. Tam sim no peb yuav xav tau qhov hloov pauv tiag tiag uas yuav ua rau cuam tshuam qhov kev txuas hauv kab tseem ceeb.
Yog li kuv yuav 2-channel relay module rau $ 0.85 dua ntawm Aliexpress.
Lwm qhov tseem ceeb yog lub hwj chim. Kuv xaiv qhov no 230VAC rau 5VDC hloov pauv rau $ 1.99. Nws tuaj yeem tuav tau 3W ntawm lub zog uas yuav ntau dua li txaus.
Peb kuj tseem xav tau ib qhov phiaj xwm (raws li qhov kuv tau siv lub thawv pralines): D, lub hwj huam qaum, qee lub xov hlau txuas thiab lub qhov ntsaws phab ntsa (qhov zoo tshaj plaws yog ib qho uas tawm ntawm phab ntsa thiab tau teeb tsa ntawm 2 tus ntsia hlau)
Kauj Ruam 2: Noj Pralines Los Ntawm Lub Thawv
Thaum lub thawv tsis muaj dab tsi peb tuaj yeem npaj mus rau phab ntsa ntsaws rau ntawm rooj plaub. Kuv lub thawv hnyav dhau los laum nws, yog li kuv siv rab riam los txiav 2 daim me me. Tom qab ntawd kuv tau kaw lub qhov (socket) nrog cov ntsia hlau me me, txiv ntseej thiab cov ntaub qhwv hauv qhov chaw.
Kuv ua raws nrog kev teeb tsa lub hloov pauv ntawm ib qho ntawm perfboard kom ua kom yooj yim dua. Tom qab ntawd kuv hle lub hwj chim qaum thiab muab cov xov txuas txuas rau AC pins ntawm lub tshuab hloov pauv.
Kauj Ruam 3: Txuas Txhua Lub Cheebtsam
Tam sim no qhov kev lom zem - txuas txhua daim thiab lub sijhawm ntawd tsis ua dab tsi: D
Cov txheej txheem qhia pom txhua qhov kev sib txuas uas peb yuav tsum ua ntawm cov laug cam, tshwj tsis yog nruab nrab rau cov tswj qhov (socket), uas ncaj qha mus rau lub hwj huam qaum. Rau qhov sib txuas hluav taws xob siab ib txwm siv cov xov hlau uas tuaj yeem tuav lub zog - piv txwv. peb tuaj yeem ua kom luv peb lub hwj huam qaum ua ntej thiab siv cov khoom tawg hauv nruab nrab ntawm lub qhov (socket) thiab kev xa tawm. Nws kuj tseem zoo khaws cov xim hlau kom raug (nyob ntawm cov xim av xim av, nruab nrab xiav thiab hauv av daj-ntsuab).
Kauj Ruam 4: Coding Wemos Board
Tam sim no qhov feem ntau tho txawv - qhov coding. Raws li kuv yog tus neeg tub nkeeg heev kuv tau siv tus qauv piv txwv uas twb muaj lawm thiab hloov kho nws me ntsis los teb rau peb cov lus txib. Cov lej tag nrho muaj nyob ntawm kuv GitHub.
Tam sim no peb tuaj yeem xa cov cai mus rau pawg thawj coj. Hmm, tab sis tos txiv neej, ua li cas? Nws tsis yog Arduino board. Ua ntej peb yuav tsum ntxiv cov lus txhais ntawm pawg thawj coj saib rau peb IDE kom pom nws. Tom qab ntawd peb tshawb xyuas cov laug cam rau peb Wemos D1 mini, teeb tsa qhov nrawm rau 115200bps thiab tom qab ntawd, thaum kawg rub tawm cov cai.
Kauj ruam 5: Tswj lub Qhov (Socket)
Tam sim no, yog tias peb txuas peb lub xov tooj USB thiab txuas peb pawg thawj coj mus rau lub qhov (socket), nws yuav tsum txuas rau peb li Wi-nkaus network thiab teb thaum peb qhib nws hauv qhov browser.
Tab sis qhov chaw nyob uas peb yuav tsum sau rau ntawm qhov browser bar yog dab tsi? Muaj qhov twg "mDNS tus neeg teb" los ua ke, vim tias peb tsis tas yuav paub tus IP chaw nyob ntawm pawg thawj coj. Hauv txoj cai peb tau tshaj tawm tias mDNS yuav teb rau lub npe "remoteSocket01" thiab tus neeg rau zaub mov tau teeb tsa ntawm chaw nres nkoj 81, yog li chaw nyob puv yuav yog https://remoteSocket01.local: 81. Txhua txoj haujlwm tau teeb tsa ntawm /[tso tawm] /[rau lossis tawm]
Yuav ua li cas yog tias peb tsis tuaj yeem txuas rau lub rooj tsavxwm nrog mDNS chaw nyob, piv txwv li ntawm smartphone? Nov los ua ke hauv Android app hu ua IP Tools. Ib qho ntawm cov yam ntxwv yog tias peb tuaj yeem tshawb hauv lub network hauv zos rau txhua yam khoom siv txuas nrog. Peb yuav nrhiav lub cuab yeej tsim los ntawm Espressif Inc. thiab nyeem tus IP uas tau qhia saum toj no.
Yog tias koj tsis xav sau qhov chaw nyob ntawm kab txhua lub sijhawm - Kuv tau ua Android app los ua kom txhua yam yooj yim dua. Cov yam ntxwv tseem ceeb tam sim no yog toggling lub qhov (socket) qhib lossis tawm, thiab "rov ua dua tshiab" - ua rau nws tawm ib pliag thiab swithing nws rov qab dua. Koj tuaj yeem rub nws los ntawm no.
Vam tias koj yuav txaus siab rau DIY lub teeb ci ntse lub ntsej muag: D
Txog rau lub sijhawm tom ntej, Krzysztof:)
Pom zoo:
DIY Hloov pauv Hloov Lub Rooj Hloov Kho Lub Hwj Huam "Minghe D3806" 0-38V 0-6A: 21 Cov Kauj Ruam (nrog Duab)
DIY Hloov Pauv Hloov Pauv Hloov Kho Lub Hwj Huam "Minghe D3806" 0-38V 0-6A: Ib txoj hauv kev yooj yim tshaj plaws los tsim lub Rooj Tog Zaum Lub Hwj Huam yooj yim yog siv Buck-Boost Converter. Hauv Cov Lus Qhia thiab Yeeb Yaj Kiab Kuv pib tawm nrog LTC3780. Tab sis tom qab kuaj kuv pom LM338 nws muaj nws puas lawm. Luckily kuv muaj ob peb qhov sib txawv
Bluetooth Chaw Taws Teeb Tswj Chaw Teeb - Retrofit. Lub Teeb Hloov Tseem Ua Haujlwm, Tsis Muaj Kev Sau Ntawv Ntxiv: 9 Kauj Ruam (nrog Duab)
Bluetooth Chaw Taws Teeb Tswj Kev Teeb - Retrofit. Lub Teeb Hloov Tseem Ua Haujlwm, Tsis Muaj Kev Sau Ntxiv: Hloov Kho Lub Kaum Ib Hlis 25, 2017 - Rau Lub Hwj Chim Siab ntawm qhov haujlwm no uas tuaj yeem tswj tau kilowatts ntawm kev thauj mus los saib Retrofit BLE Kev Tswj rau Kev Siv Lub Hwj Chim Siab - Tsis Xav Tau Ntxiv Ntxiv Qee cov BLE cov laug cam / software sib sau ua ke
Hloov iPhone 6 Ntxiv Roj Teeb: Qhia Hloov Lub Roj Teeb Sab Hauv: 12 Cov Kauj Ruam (nrog Duab)
Hloov iPhone 6 Ntxiv Roj Teeb: Qhia Hloov Lub Roj Teeb Sab Hauv: Hav cov neeg, Kuv tau ua iPhone 6 hloov roj teeb qhia qee lub sijhawm dhau los thiab nws zoo li tau pab ntau tus neeg yog li ntawm no yog phau ntawv qhia rau iPhone 6+. IPhone 6 thiab 6+ muaj qhov tseem ceeb tib yam tsim tshwj rau qhov sib txawv qhov loj me. Muaj
Hloov Kho Lub Hwj Chim Khoos Phis Tawj rau lub Hloov Pauv Hloov Pauv Sab Nraud Cov Khoom Siv Hluav Taws Xob: 3 Kauj Ruam
Hloov Kho Lub Tshuab Hluav Taws Xob rau lub Hloov Pauv Hloov Pauv Sab Nraud Cov Khoom Siv Hluav Taws Xob: Tus nqi niaj hnub no rau chav kuaj hluav taws xob zoo tshaj $ 180. Tab sis nws hloov tawm lub tshuab computer tsis siv lub zog yog qhov zoo rau txoj haujlwm hloov chaw. Nrog rau cov nqi no koj tsuas yog $ 25 thiab muaj kev tiv thaiv luv luv, tiv thaiv cua sov, tiv thaiv ntau dhau thiab
Ib qho $ 20 / 20min Kev Lag Luam Zoo Folding Lub Teeb Lub Teeb / Lub Tsev Teeb: 7 Cov Kauj Ruam (nrog Duab)
A $ 20 / 20min Kev Lag Luam Zoo Folding Lub Teeb Lub Teeb / Lub Tsev Teeb: Yog tias koj tau tab tom nrhiav DIY lub thawv rau lub teeb rau cov khoom lag luam lossis kaw cov duab koj twb paub tias koj muaj ntau txoj kev xaiv. Los ntawm cov thawv ntawv thawv rau khaub ncaws hampers koj yuav xav tias txoj haujlwm tau ua tiav kom tuag. Tab sis Tos! Rau $ 20