Cov txheej txheem:

Tsev Automation - Ntse Qhov Muag Tsis Pom: 8 Kauj Ruam
Tsev Automation - Ntse Qhov Muag Tsis Pom: 8 Kauj Ruam

Video: Tsev Automation - Ntse Qhov Muag Tsis Pom: 8 Kauj Ruam

Video: Tsev Automation - Ntse Qhov Muag Tsis Pom: 8 Kauj Ruam
Video: Koj pom Los xyov koj pua paub 2024, Kaum ib hlis
Anonim
Tsev Automation - Ntse Qhov Muag Tsis Pom
Tsev Automation - Ntse Qhov Muag Tsis Pom

Hauv cov lus qhia no peb yuav saib yuav rov txhim kho koj tus kheej qhov muag tsis pom tom tsev nrog lub tshuab servo thiab tus tswj kev cai kom tig koj lub qhov muag tsis pom tsev mus rau qhov tsis siv neeg ntse qhov muag uas tuaj yeem koom ua ke nrog tus pab hauv tsev kom muab kev tswj hwm tag nrho ntawm koj lub tsev dig muag.

Cov lus qhia no tau txhawb nqa los ntawm JLCPCB. Kuv siv qhov kev pabcuam no los tsim cov phiajcim rau tus tswj. PCBs yog qhov ua tau zoo thiab yog qhov kev sib khom tiag rau kev tsim qauv. Kuv pom zoo kom lawv thov mus thiab txheeb xyuas lawv ntawm qhov txuas hauv qab no:

Kev Thauj Khoom Dawb ntawm Thawj xaj & $ 2 PCBPrototyping ntawm

Kauj Ruam 1: Qhov Chaw Luam Ntawv 3D

Ua ntej koj yuav tsum luam tawm qee qhov rau qhov no. Cov hauv qab no yuav tsum luam tawm thiab txuas mus rau.stl cov qauv ntaub ntawv muaj npe hauv qab no:

1.) Hloov Mount

2.) Servo Mount

3.) Square Shanks Coupling

Txhua qhov no tuaj yeem tau txais los ntawm qhov txuas hauv qab no hauv mech:

github.com/misperry/Smart_Blinds

Kauj ruam 2: Disassemble Qhov muag tsis pom

Disassemble Qhov muag tsis pom
Disassemble Qhov muag tsis pom
Disassemble Qhov muag tsis pom
Disassemble Qhov muag tsis pom
Disassemble Qhov muag tsis pom
Disassemble Qhov muag tsis pom

Koj yuav tsum tau tshem qhov qub qhov muag tsis pom qhib/kaw lub tshuab los ntawm koj qhov muag tsis pom.

Hom uas kuv qhov muag tsis pom yog hom hlua rub. Hauv qab ntawm txoj hlua rub yog cov hlua yas. Cov no tuaj yeem raug tshem tawm los ntawm kev thawb txoj hlua hla thiab tshem cov hlua uas yog qhov kawg. Thaum cov hlua tsis raug khi cov yas yas tuaj yeem swb txoj hlua.

Txhawm rau tshem tawm cov tshuab ua haujlwm koj tsuas yog xav tau nthuav tawm cov channel dawb sib nrug thiab nws yuav tsum xaub tawm ntawm txoj kab sib dhos tig thiab raug tshem tawm.

Kauj ruam 3: Ntxiv Override Hloov

Ntxiv Override Hloov
Ntxiv Override Hloov
Ntxiv Override Hloov
Ntxiv Override Hloov

Tam sim no koj yuav tsum tau ntxiv qhov hloov pauv override thiaj li thaum ib tus neeg tuaj txog rau qhov muag tsis pom lawv tsis tas yuav muaj lub app ntawm lub cuab yeej ntse lawv tuaj yeem yooj yim rub lub rub saw los ua haujlwm qhov muag tsis pom.

Koj yuav tsum tau teeb tsa qhov hloov pauv uas yav dhau los 3d luam tawm mus rau qhov kawg ntawm cov channel thiab xaub nws mus rau hauv qhov chaw. Xyuas kom nws snaps rau hauv lub qhov square kom zoo.

Thaum nyob ntawd koj tuaj yeem nruab qhov hloov pauv. Qhov rub tawm txoj saw no yog ib qho kuv pom kuv lub khw muag khoom kho vajtse hauv zos kom pom kev.

Nias lub txiv ntseej los ntawm qhov hloov pauv thiab hla txoj saw hla lub tshuab luam ntawv 3d luam tawm. Tom qab ntawd txuas tus hlua rub thiab xaub cov txiv ntoo rov qab thiab ntswj rau hauv qhov chaw ruaj ntseg hloov.

Kauj Ruam 4: Nruab Servo Motor

Nruab qhov Servo Motor
Nruab qhov Servo Motor
Nruab qhov Servo Motor
Nruab qhov Servo Motor
Nruab qhov Servo Motor
Nruab qhov Servo Motor
Nruab qhov Servo Motor
Nruab qhov Servo Motor

Tom ntej no peb yuav teeb tsa lub cav servo. Ua ntej koj yuav tsum tau tshem tawm ib qho ntawm qhov sib dhos ntawm sab. Qhov no yog vim nws tsis tuaj yeem haum yog tias qhov no tsis raug tshem tawm. Kuv tsuas yog tshem kuv li nrog txhais tes buzz pom. Saib daim duab kom pom sab twg yuav tsum tshem tawm.

Thaum qhov no raug tshem tawm tam sim no koj tuaj yeem ntxig lub tshuab servo rau hauv cov yas yas uas tau luam tawm 3D hauv qib ua ntej. Ib zaug tso koj tuaj yeem xa cov square shank txuas mus rau qhov sib txuas ntawm qhov kev pabcuam.

Thaum kawg teeb tsa lub rooj sib tham servo mus rau qhov kawg ntawm qhov muag tsis pom thiab kab kab plaub fab nrog lub xwm fab hauv qhov txuas. Cov no yuav tsum sib haum ua ke. Txoj hauv kev no thaum servo tig qhov muag tsis pom yuav qhib thiab kaw.

Kauj Ruam 5: Kev Sib Txuas Hlau

Kev Sib Txuas Hlau
Kev Sib Txuas Hlau

Nov yog cov txheej txheem ntawm qhov kuv tau txuas ESP8266 los ua haujlwm nrog cov kab ke no. Qhov no tau tsim rau hauv pawg thawj coj saib xyuas los ntawm JLCPCB.

Kuv tso ob lub USB mini chaw nres nkoj rau qhov no rau lub peev xwm daisy saw cov no ua ke los ntawm ib lub hwj chim yog li yog tias koj muaj ntau qhov muag tsis pom nyob rau hauv ib kab koj tuaj yeem nqa lub zog rau tsuas yog ib lub cuab yeej thiab daisy saw ntxiv.

Nws tau tsim nrog 3.3v tus tswj kab hluav taws xob kom tso qhov hluav taws xob nkag los ntawm 5V txog 3.3 rau ESP8266.

Kauj Ruam 6: Software thiab Kho

Software thiab teeb tsa
Software thiab teeb tsa
Software thiab teeb tsa
Software thiab teeb tsa

Tam sim no peb yuav tsim software feem ntawm qhov no.

Koj tuaj yeem pom cov software hauv qab daim ntawv teev cov software ntawm cov hauv qab no git hub txuas:

github.com/misperry/Smart_Blinds

Thaum koj thauj cov cai hauv software arduino koj yuav tsum nkag mus rau koj cov ntaub ntawv xov tooj cua nrog rau MQTT server cov ntaub ntawv.

Koj kuj tseem yuav tsum hloov kho cov cai kom suav nrog cov lus txib thiab cov ncauj lus twg uas koj xav siv rau MQTT cov ntaub ntawv hloov chaw. Thaum koj tau ua tiav nrog cov teeb tsa no koj tuaj yeem teeb tsa lawv rau ESP8266 pawg thawj coj.

Thaum kawg koj yuav tsum hloov kho koj cov ntaub ntawv configuration.yaml nrog cov ntaub ntawv hauv qab no kom ntseeg tau tias koj cov ncauj lus tau sib xws nrog koj cov ntsiab lus arduino:

lub teeb: - platform: mqtt lub npe: "Qhov Chaw Hauv Qab" state_topic: "dig muag/bc/xeev" command_topic: "dig muag/bc/hais kom ua" brightness_state_topic: "dig muag/bc/xeev" brightness_command_topic: "dig muag/bc/qib" brightness_scale: 100 qoj: 0 payload_on: "ON" payload_off: "OFF" qhov zoo: tsis tseeb khaws: muaj tseeb

- platform: mqtt

lub npe: "Qhov rai Hauv Qab Txoj Cai" state_topic: "dig muag/br/xeev" command_topic: "dig muag/br/hais kom ua" brightness_state_topic: "dig muag/br/xeev" ci ntsa iab_command_topic: "dig muag/br/qib" brightness_scale: 100 qoj: 0 payload_on: "ON" payload_off: "OFF" qhov zoo: cuav khaws cia: muaj tseeb

Kauj Ruam 7: Xeem Nrog Tus Pab Tsev

Xeem Nrog Tus Pab Tsev
Xeem Nrog Tus Pab Tsev
Xeem Nrog Tus Pab Tsev
Xeem Nrog Tus Pab Tsev

Thaum koj tau rov pib ua haujlwm pabcuam hauv tsev koj yuav tsum pom qhov muag tsis pom tshwm raws li "Lub teeb" khoom hauv koj lub HASS home screen.

Tam sim no koj tuaj yeem nyem qhov hloov pauv kom qhib koj lub qhov muag lossis kom kaw koj qhov muag tsis pom los ntawm kev qhib qhov qhib lossis kaw. Tsis tas li yog tias koj nyem rau ntawm koj lub qhov muag tsis pom koj yuav raug nthuav tawm nrog lub teeb ci ci uas rau qhov no yuav ua haujlwm li cas qhib qhov muag tsis pom.

Kauj Ruam 8: Kev Xav Thaum Kawg

Kuv vam tias koj tau txaus siab rau txoj haujlwm no thiab xaus rau nws sim.

Nov yog ob qho yeeb yaj kiab ntawm qhov ua haujlwm los ntawm kuv tus youtube channel yog tias koj xav tau ntau yam ntxaws thov mus saib hauv cov vis dis aus tob. Yog tias koj xav tau kev tshuaj xyuas sai ntawm qhov no tau tsim li cas xaiv qhov tsis tob.

Ua tsaug dua

Pom zoo: