Cov txheej txheem:

Nqe lus piav qhia: 9 Kauj Ruam
Nqe lus piav qhia: 9 Kauj Ruam

Video: Nqe lus piav qhia: 9 Kauj Ruam

Video: Nqe lus piav qhia: 9 Kauj Ruam
Video: Hwm Pheej Thoj - Rov Mus Txog Vib Nais 2024, Hlis ntuj nqeg
Anonim
Image
Image

Txoj haujlwm no tuaj yeem siv ua:

1. bluetooth tsev automation rau ob lub khoom siv

2. bluetooth tsev automation shield rau arduino UNO

3. relay module thaiv rau arduino UNO

4. relay module rau ob lub khoom siv

5. Lub hom phiaj dav dav 2 channel relay module

Kauj Ruam 1: Cov Cheeb Tsam Yuav Tsum Tau

Tsim thiab Kev Txiav Txim ntawm PCBs
Tsim thiab Kev Txiav Txim ntawm PCBs

Cov Cheeb Tsam Yuav Tsum Tau:

1. Custom PCBs los ntawm PCBWay

2. Arduino Pro mini 5V

3. HC-05 Bluetooth module

4. Relays 5V X 2

5. 3 tus pin ntsia hlau dav hlau txuas X 2

6. USB rau Serial hloov pauv

7. Resistor (1k) X 4

8. IN4007 diode X 2

9. BC547 transistor X 2

10. ntsuab L. E. D.s X 2

11. Laub khawm

12. Poj niam lub taub hau

13. Txiv neej lub taub hau

Kauj Ruam 2: Tsim thiab xaj ntawm PCBs

Tsim thiab Kev Txiav Txim ntawm PCBs
Tsim thiab Kev Txiav Txim ntawm PCBs
Tsim thiab Kev Txiav Txim ntawm PCBs
Tsim thiab Kev Txiav Txim ntawm PCBs

Yog li, kuv tau tsim kuv li kev cai PCBs siv EasyEDA cov cuab yeej online thiab tom qab ntawd xaj lawv los ntawm PCBWay tuam txhab.

Cov PCBs no tau tsim thiab tsim los ntawm PCBWay lub tuam txhab uas yog ib qho ntawm cov kev paub dhau los PCB thiab PCB tsim khoom sib dhos. Lawv tsim PCBs zoo heev ntawm tus nqi tsim nyog, tsuas yog $ 5 rau 10 PCBs. Tsis tas li, yog tias koj tab tom xaj thawj zaug koj tseem yuav tau txais daim coupon luv nqi $ 5. Qhov zoo ntawm PCBs yog siab thiab kuv txaus siab rau lawv cov haujlwm

Kauj ruam 3: Sib dhos

Sib dhos
Sib dhos

Tom qab tau txais koj li PCB, sau tag nrho cov khoom siv thiab sib sau ua ke.

Kauj ruam 4: Soldering

Soldering
Soldering

Tam sim no siv tag nrho cov khoom sib dhos ua ke.

Kauj Ruam 5: Ntxuav

Ntxuav
Ntxuav
Ntxuav
Ntxuav

Tom qab siv cov khoom sib txuas, txiav tawm txhua qhov ua rau dhau ntawm cov khoom thiab ntxuav PCB nrog cov cawv lossis ib tus neeg saib xyuas kev tsim nyog.

Kauj Ruam 6: Coding thiab Finalizing

Coding thiab Finalizing
Coding thiab Finalizing

Tom qab ntxuav PCB, tso rau arduino pro mini uas twb tau npaj lawm siv USB rau Serial hloov pauv thiab HC-05 bluetooth module.

Code:

Yog tias koj tsis paub yuav ua li cas program arduino pro mini. Saib daim vis dis aus no:

www.youtube.com/embed/uZjhPhvnkRY

Kauj Ruam 7: Txuas Load & Fais Fab Khoom

Txuas Load & Fais Fab Khoom
Txuas Load & Fais Fab Khoom

Tam sim no txuas 5V rau lub rooj tsavxwm thiab txuas cov khoom thauj uas koj xav tswj.

Kauj Ruam 8: Kho & Xeem

Kho & Kev Xeem
Kho & Kev Xeem

Rub tawm daim ntawv thov bluetooth ntawm koj lub smartphone thiab teeb tsa raws li kuv tau qhia tom qab ua ke nrog HC-05 bluetooth module thiab yog bluetooth module xav tau tus password, siv 1234 lossis 0000.

Bluetooth mobile App:

Kauj Ruam 9: Lwm Cov Ntais

Lwm Yam
Lwm Yam

Koj tseem tuaj yeem siv qhov no los ua daim thaiv thaiv thiab bluetooth lub tsev siv tshuab rau arduino UNO/ Leonardo/ mega. Qhov no kuj tseem tuaj yeem siv ua qauv dav dav xa tawm.

Pom zoo: