Cov txheej txheem:

DIY Tsev Automation Siv ESP8266: 5 Cov Kauj Ruam
DIY Tsev Automation Siv ESP8266: 5 Cov Kauj Ruam

Video: DIY Tsev Automation Siv ESP8266: 5 Cov Kauj Ruam

Video: DIY Tsev Automation Siv ESP8266: 5 Cov Kauj Ruam
Video: Tshuaj theem vim li cas thiaj tau nqi ?/ Siv kho mob dab tsi?/paris polyphylla использовать для? 2024, Kaum ib hlis
Anonim
DIY Tsev Automation Siv ESP8266
DIY Tsev Automation Siv ESP8266

Hauv qhov haujlwm no kuv yuav qhia koj yuav ua li cas thiaj ua Tsev Automation System siv ESP8266 WiFi module. Cov kab ke no yog ua raws Esp8266 relay board uas koj tuaj yeem siv los tswj koj cov khoom siv hauv tsev dhau WiFi siv Blynk app.

Txoj haujlwm no yog txhawb nqa los ntawm JLCPCB. JLCPCB yog lub tuam txhab tsim khoom lag luam PCB loj tshaj plaws hauv Suav teb nrog ntau dua 10 xyoo ntawm kev tsim khoom PCB. Sim nws koj tus kheej thiab xaj kom zoo 10 PCBs rau tsuas yog $ 2 (Txhua Xim).

Cia peb pib

Kauj ruam 1: Saib Video

Image
Image

Cov vis dis aus no muab txhua yam ntaub ntawv uas koj xav tau los ua koj tus kheej lub tsev tsim khoom siv tshuab. Cov kauj ruam tom ntej yuav muab qee cov ntaub ntawv muaj txiaj ntsig rau koj. Yog tias koj xav paub siv ESP8266 WiFi module nrog Arduino, saib cov vis dis aus ntawm no.

Kauj Ruam 2: Txiav txim rau PCBs thiab Cheeb Tsam

Txiav txim rau PCBs thiab Cheeb Tsam
Txiav txim rau PCBs thiab Cheeb Tsam
Txiav txim rau PCBs thiab Cheeb Tsam
Txiav txim rau PCBs thiab Cheeb Tsam

Hais kom cov PCBs los ntawm JLCPCB. Lawv muab PCBs zoo rau tus nqi qis heev (10 PCBs rau $ 2 xim twg). Tsuas yog lob PCB Gerber cov ntaub ntawv los ntawm hauv qab no thiab rub nws mus rau JLCPCB lub vev xaib. Koj yuav tau txais PCBs hauv ib lub lis piam.

Koj tuaj yeem xaj cov khoom siv los ntawm LCSC lub vev xaib. Rub tawm cov khoom sib koom los ntawm hauv qab no. Muab cov ntaub ntawv tso rau hauv LCSC lub vev xaib thiab xaiv cov khoom uas xav tau kom muaj nuj nqis.

Cheebtsam (yam tsawg kawg nkaus kom muaj nuj nqis):

Atmega328p x1

28 tus pin IC Qhov (x1)

47µF Electrolytic Capacitor x2

2.2µF Electrolytic Capacitor x1

Ntsuab LED 0603 x2

Xiav LED 0603 x4

20pF Ceramic Capacitor 0603 x2

10k Resistor 0603 x1

1k Resistor 0603 x 7

2.2k Resistor 0603 x1

510 Resistor 0603 x4

16MHz Crystal Oscillator x1

78M05 5V Voltage Regulator x1

HT7233 3.3V Voltage Regulator x1

1N4007 Diode THT x4

M7D Schottky Diode x1

Header txiv neej thiab poj niam

12V DC Jack x1

PC817C Optocouplers x4

BC547 Transistor (NPN) x4

Terminal Thaiv x4

5V Relays x 4

ESP8266 01 Module (tsis suav nrog hauv lcsc file) x1

Kauj Ruam 3: Soldering Cheebtsam

Soldering Cheebtsam
Soldering Cheebtsam
Soldering Cheebtsam
Soldering Cheebtsam
Soldering Cheebtsam
Soldering Cheebtsam

Siv cov khoom sib txuas raws li schematic. Ua ntej siv cov khoom me me lossis cov khoom SMD ntawm pcb tom qab ntawd muab cov khoom sib dhos los ntawm qhov (THT).

Kauj ruam 4: Upload Code

Rub tawm Txoj Cai
Rub tawm Txoj Cai
Rub tawm Txoj Cai
Rub tawm Txoj Cai

Yog tias koj siv ATmega328p tshiab, koj yuav tsum tau hlawv lub Bootloader rau nws, kawm paub yuav ua li cas hlawv Bootloader.

Tshaj tawm cov cai ntawm atmega328, rau qhov uas koj tuaj yeem siv arduino tsis muaj atmega lossis USB rau TTL hloov pauv.

Kauj ruam 5: Thiab koj ua tiav

Thiab Koj Ua Tiav lawm!
Thiab Koj Ua Tiav lawm!
Thiab Koj Ua Tiav lawm!
Thiab Koj Ua Tiav lawm!

Koj Lub Tsev Automation System tau ua tiav. Koj tuaj yeem tswj hwm koj lub rooj tsavxwm nrog Blynk App. Tam sim no koj tuaj yeem tswj cov khoom siv hauv tsev xws li teeb, kiv cua, TV, AC thiab lwm yam siv blynk app dhau wifi.

Lub Teeb Tsis Siv Neeg Teeb: Yog tias koj xav ua lub teeb kom qhib lossis kaw rau hauv qhov tsaus ntuj, txuas lub teeb pom kev zoo (LDR) mus rau tus lej sib piv thiab tswj lub teeb tsis siv lub kaw lus siv Blynk app.

Ua tsaug rau JLCPCB rau kev txhawb nqa txoj haujlwm no.

Rau ntau qhov haujlwm nthuav:

Sau npe yuav mus rau kuv tus YouTube Channel

Thiab Ua raws kuv ntawm Facebook

Pom zoo: