Cov txheej txheem:

NodeMCU Tsev Automation (ESP8266): 7 Kauj Ruam
NodeMCU Tsev Automation (ESP8266): 7 Kauj Ruam

Video: NodeMCU Tsev Automation (ESP8266): 7 Kauj Ruam

Video: NodeMCU Tsev Automation (ESP8266): 7 Kauj Ruam
Video: Hoc bổng Úc 50% tại ĐH Công Nghệ Swinburme | Trần Thị Trúc Nguyên | IDP Education Vietnam 2024, Kaum ib hlis
Anonim
Image
Image
Dab tsi yog Tsev Automation System!
Dab tsi yog Tsev Automation System!

Hav guys! Kuv vam tias koj twb nyiam kuv cov lus qhia yav dhau los "Arduino Heart Beat With ECG Display & Sound" thiab koj tau npaj rau qhov tshiab, raws li ib txwm kuv tau ua qhov kev qhia no los qhia koj ib qib zuj zus thaum ua qhov no zoo kawg nkaus tus nqi qis hauv cov phiaj xwm hluav taws xob uas yog "NodeMCU Home automation system".

Thaum ua qhov haujlwm no, peb tau sim ua kom ntseeg tau tias cov ntawv qhia no yuav yog cov lus qhia zoo tshaj plaws rau koj txhawm rau pab koj yog tias koj xav ua koj tus kheej lub tsev ntse, yog li peb cia siab tias cov ntawv qhia no muaj cov ntaub ntawv xav tau. Txoj haujlwm no ua tau yooj yim los ua tshwj xeeb tom qab tau txais PCB tshwj xeeb uas peb tau xaj los ntawm JLCPCB txhawm rau txhim kho qhov pom ntawm peb cov cuab yeej hluav taws xob thiab tseem muaj cov ntaub ntawv txaus thiab cov lej hauv phau ntawv qhia no tso cai rau koj tsim koj li haujlwm NodeMCU yooj yim.

Peb tau ua txoj haujlwm no tsuas yog 4 hnub nkaus xwb, tsuas yog ob hnub kom tau txais txhua qhov xav tau thiab ua tiav cov cuab yeej tsim khoom thiab sib sau ua ke, tom qab ntawd peb tau npaj cov cai kom haum rau peb tes num thiab pib ntsuas thiab hloov kho.

Koj yuav kawm dab tsi los ntawm cov lus qhia no:

  1. Ua qhov kev xaiv kho vajtse raug rau koj txoj haujlwm nyob ntawm nws txoj haujlwm.
  2. Nkag siab Lub Tsev Siv Lub Tshuab Automation.
  3. Npaj daim duab kab hluav taws xob txuas rau txhua qhov khoom siv uas tau xaiv.
  4. Sib sau ua ke txhua qhov haujlwm (lub thawv ntaus ntawv thiab khoom siv hluav taws xob)..
  5. Pib qhov kev sim thawj zaug thiab lees paub qhov haujlwm.

Kauj Ruam 1: Lub Tsev Automation Hauv Tsev Yog Dab Tsi

Dab tsi yog Tsev Automation System!
Dab tsi yog Tsev Automation System!
Dab tsi yog Tsev Automation System!
Dab tsi yog Tsev Automation System!

Ib lub tsev siv tshuab hluav taws xob hauv tsev tsuas yog cov kab ke uas tso cai rau qee tus neeg siv nkag mus rau qee yam khoom siv hluav taws xob zoo li cov cuab yeej hluav taws xob ntsuas kub ntsuas lub qhov rooj tswj hwm cov cuab yeej thiab lwm yam thiab kev nkag mus no tau saib xyuas los ntawm daim ntawv thov yooj yim txuas nrog lub hauv paus loj los ntawm kev siv wireless lossis txuas raws txoj cai, hais txog ib feem ntawm kev siv tshuab, lub kaw lus tuaj yeem hloov kho qee qhov ntsuas ib puag ncig tau siv qee tus neeg ua haujlwm thiab qee qhov ntsuas, piv txwv li lub kaw lus tuaj yeem nyeem cov ntaub ntawv ntsuas kub los ntawm qhov ntsuas kub thiab txiav txim siab qhib lossis hloov lub tshuab cua txias.

Hauv peb txoj haujlwm peb yuav tsim cov txheej txheem tseem ceeb uas yog hluav taws xob Circuit Court board raws NodeMCU dev pawg thawj coj uas twb muaj lub ntsej muag wifi nyob hauv nws thiab pawg thawj coj no yuav nyob ib puag ncig los ntawm qee cov khoom siv hluav taws xob zoo li xa cov optocoplers LEDs thiab cov cim, hais txog cov sensors peb yuav siv lub suab ntsuas ntsuas rau lub tswb ntsuas, DHT11 rau ntsuas kub thiab av noo thiab BH1750 rau lub teeb pom kev.

Txog tus actuators, peb yuav tswj qee qhov 220V AC qhov muag teev thiab DC kiv cua thiab txhua tus actuators no yuav raug tswj los ntawm Android app uas peb tau tsim los ntawm Blynk daim ntawv thov. Yog li hauv daim ntawv thov no kuv tso qee qhov ntsuas los nyeem cov txiaj ntsig sib piv los ntawm cov ntsuas hluav taws xob thiab kuv tso qee cov nyees khawm thiab swb kom tswj tau kuv cov txiaj ntsig.

Kauj Ruam 2: CAD thiab Kho Vajtse Qhov Chaw

CAD thiab Kho Khoom Siv
CAD thiab Kho Khoom Siv
CAD thiab Kho Khoom Siv
CAD thiab Kho Khoom Siv
CAD thiab Kho Khoom Siv
CAD thiab Kho Khoom Siv

Kuv siv cov cuab yeej tsim kho software los tsim cov qauv tsev no uas twb muaj qhov nyob rau qhov pom pom lub teeb pom kev thiab lub kiv cua, koj tuaj yeem tau txais STL cov ntaub ntawv los ntawm rub tawm txuas hauv qab no, tom qab npaj tsim kuv tau txais kuv cov khoom tsim tau zoo los ntawm CNC laser txiav.

Kauj Ruam 3: Daim duab Circuit Court

Daim duab Circuit Court
Daim duab Circuit Court

Tsiv mus rau cov khoom siv hluav taws xob, Kuv tau tsim cov duab kab hluav taws xob no uas suav nrog txhua qhov tsim nyog yuav tsum tau ua rau txoj haujlwm no. Kuv tab tom txuas qhov tseeb tso rau kuv NodeMCU Dev board thiab kuv siv DHT11? BH1750 thiab lub suab ntsuas ntsuas txuas nrog I portC chaw nres nkoj thiab rau ADC cov tswv yim, kuv kuj siv tib PWM cov zis ntawm kuv li NodeMCU Dev board thiab kuv txuas nws mus rau lub dav hlau ntsia hlau txhawm rau txhawm rau tswj lub teeb ci ntawm qee LEDs, Kuv siv lub zog sib cais muab rau kev xa tawm thiab NodeMCU thiab txoj hauv kev no kuv yuav tiv thaiv kuv Dev board thaum tswj hwm 220V AC voltage.

Kauj Ruam 4: Ua PCB

Kev Tsim PCB
Kev Tsim PCB
Kev Tsim PCB
Kev Tsim PCB
Kev Tsim PCB
Kev Tsim PCB

Txog JLCPCB

JLCPCB (Shenzhen JIALICHUANG Electronic Technology Development Co., Ltd.), yog lub tuam txhab PCB loj tshaj plaws hauv Suav teb thiab cov tuam txhab tsim khoom lag luam tshwj xeeb tshwj xeeb hauv PCB sai sai thiab tsim PCB me me. Nrog ntau dua 10 xyoo ntawm kev paub hauv PCB tsim khoom, JLCPCB muaj ntau dua 200, 000 tus neeg siv khoom nyob hauv tsev thiab txawv teb chaws, nrog ntau dua 8, 000 kev xaj online ntawm PCB tus qauv thiab muaj PCB ntau lawm ib hnub. Muaj peev xwm tsim khoom txhua xyoo yog 200, 000 sq.m. rau ntau yam ntawm 1-txheej, 2-txheej lossis ntau txheej PCBs. JLC yog cov kws tshaj lij PCB chaw tsim khoom tshwj xeeb ntawm cov nplai loj, cov cuab yeej zoo, kev tswj nruj thiab ua tau zoo dua.

Tham electronics

Tom qab ua qhov tsim hluav taws xob Kuv hloov pauv qhov kev hloov pauv no mus rau hauv kev tsim PCB tsim nrog lub tsev zoo kom tau txais PCB zoo nkauj tsim thaum peb xaj peb lub Circuit thiab ua txhua yam uas kuv xav tau yog txav mus rau JLCPCB qhov khoom lag luam PCB zoo tshaj plaws hauv kev txiav txim kom tau txais kev pabcuam PCB tsim khoom zoo tshaj plaws, tom qab qee qhov nyem yooj yim Kuv tau tso cov ntaub ntawv GERBER tsim nyog ntawm kuv tus qauv thiab kuv teeb tsa qee qhov tsis thiab lub sijhawm no peb yuav siv cov xim dub rau txoj haujlwm no nrog cov xim kub; tsuas yog plaub hnub tom qab tso qhov kev txiav txim thiab kuv cov PCBs nyob ntawm kuv lub desktop.

Lwm yam ntaub ntawv rub tawm

Raws li koj tuaj yeem pom hauv cov duab saum toj no PCB tau tsim tau zoo heev thiab kuv tau txais tib PCB kev tsim qauv uas peb tau ua rau peb lub rooj tsav xwm tseem ceeb thiab txhua daim ntawv lo, lub logo tau nyob ntawd los coj kuv thaum cov kauj ruam soldering. Koj kuj tseem tuaj yeem rub tawm Gerber cov ntaub ntawv rau hauv Circuit no los ntawm rub tawm txuas hauv qab no hauv qhov xwm txheej koj xav tso qhov kev txiav txim rau tib lub qauv tsim.

Kauj ruam 5: Cov khoom xyaw

Cov khoom xyaw
Cov khoom xyaw

Ua ntej pib siv cov khoom siv hluav taws xob cia rov tshuaj xyuas cov npe khoom rau peb txoj haujlwm yog li peb yuav xav tau:

Components components Cov khoom tsim nyog ★ ☆ ★

  • PCB uas peb tau xaj los ntawm JLCPCB
  • Pawg NodeMCU:
  • BH1750 sensor:
  • DHT11 sensor:
  • Tsab ntawv tsa suab sensor:
  • Lub teeb pom kev:
  • DC kiv cua:
  • Cov tshaj tawm:
  • Cov optocoplers:
  • Qee qhov resistors thiab transistors
  • Qee cov LEDs thiab zener diodes
  • Qee cov ntsia hlau taub hau txuas:
  • Qee qhov SIL txuas

Kauj Ruam 6: Khoos phis tawj khoos phis tawj

Khoos phis tawj sib dhos
Khoos phis tawj sib dhos
Khoos phis tawj sib dhos
Khoos phis tawj sib dhos
Khoos phis tawj sib dhos
Khoos phis tawj sib dhos

Tam sim no txhua yam tau npaj lawm yog li cia peb pib siv peb cov khoom siv hluav taws xob rau PCB thiab ua li ntawd peb xav tau cov hlau txuas thiab cov hlau txuas txuas thiab lub chaw SMD rov ua haujlwm rau SMD cov khoom.

Kev nyab xeeb ua ntej

Soldering Iron Tsis txhob kov cov hlau ntawm cov hlau….400 ° C! Tuav cov xov hlau kom sov nrog tweezers lossis clamps. Ib txwm xa cov hlau txuas rau nws sawv thaum tsis siv. Tsis txhob muab nws tso rau ntawm lub rooj ua haujlwm. Tua lub tsev thiab tshem tawm thaum tsis siv. Raws li koj tuaj yeem pom, siv PCB no yooj yim heev vim nws ua tau zoo heev thiab tsis hnov qab cov ntawv uas yuav coj koj cov txiv neej thaum siv tshuaj txhuam ib feem vim tias koj yuav pom nyob rau sab saum toj txheej txheej lo lo lo ntxhuav ntawm txhua qhov qhia tias nws tso rau lub rooj tsavxwm thiab txoj hauv kev no koj yuav 100% paub tseeb tias koj yuav tsis ua ib qho yuam kev soldering. Kuv tau muab cov khoom sib txuas rau nws qhov kev tso kawm thiab koj tuaj yeem siv ob sab ntawm PCB los txhuam koj cov khoom siv hluav taws xob.

Kauj Ruam 7: Software Tshooj & Kev Xeem

Software Tshooj & Kev Xeem
Software Tshooj & Kev Xeem
Software Tshooj & Kev Xeem
Software Tshooj & Kev Xeem
Software Tshooj & Kev Xeem
Software Tshooj & Kev Xeem
Software Tshooj & Kev Xeem
Software Tshooj & Kev Xeem

Tam sim no peb muaj PCB npaj thiab tag nrho cov khoom sib txuas tau zoo heev tom qab ua tiav kev sib dhos peb yuav tsum tau txav mus rau software ntu Kuv tau ua NodeMCU code rau koj cov txiv neej siv Arduino IDE thiab yog tias koj tseem tsis paub siv NodeMCU cov laug cam nrog Arduino IDE tsuas yog tshuaj xyuas cov yeeb yaj kiab qhia no uas peb tab tom muab, hais txog cov cai peb yuav sim ua ntej ntawm lub rooj tsav xwm hauv Circuit Court uas peb tau ua nrog kev ntsuas ntsuas ntsuas cov cai uas tso cai rau koj los tswj LEDs ntawm pawg thawj coj. Thaum koj ua tiav koj daim ntawv thov Blynk, koj yuav pom NodeMCU pawg thawj coj xaiv uas twb muaj lawm hauv online (yog tias koj siv tus cim cim muab los ntawm Blynk hauv koj tus lej). Tam sim no txhua yam peb xav tau yog tus lej kawg uas koj tuaj yeem muaj dawb los ntawm rub tawm txuas hauv qab no, tus lej tau hais tawm zoo heev yog li koj tuaj yeem nkag siab nws thiab kho nws rau koj tus kheej xav tau.

Pom zoo: