Cov txheej txheem:

Arduino-bluetooth Ua Haujlwm Xov Tooj Ntawm Tes Tsis Muaj Tsev Nyob Hauv Tsev: 5 Kauj Ruam
Arduino-bluetooth Ua Haujlwm Xov Tooj Ntawm Tes Tsis Muaj Tsev Nyob Hauv Tsev: 5 Kauj Ruam

Video: Arduino-bluetooth Ua Haujlwm Xov Tooj Ntawm Tes Tsis Muaj Tsev Nyob Hauv Tsev: 5 Kauj Ruam

Video: Arduino-bluetooth Ua Haujlwm Xov Tooj Ntawm Tes Tsis Muaj Tsev Nyob Hauv Tsev: 5 Kauj Ruam
Video: qhia siv progame update driver 2024, Hlis ntuj nqeg
Anonim
Image
Image

tos txais nyob rau lub sijhawm muaj kev sib kis ntawm covid-19 nws yog qhov yuav tsum tau zam kev sib cuag thiab tswj kev nyob sib nrug tab sis kom qhib thiab tua cov cuab yeej koj yuav tsum tau kov lub switchboards tab sis tos tsis muaj ntxiv qhia txog kev sib cuag tsawg dua rau kev tswj teeb pom kev koj xav tswj koj cov khoom siv nrog cov cuab yeej koj ib txwm nqa nrog qhov no yog qhov ua tau koj tuaj yeem tswj hwm cov cuab yeej siv nrog koj cov ntsis ntiv tes yam tsis tau mus rau lub rooj hloov pauv ib tus tub ntxhais kawm qib 12

Kauj Ruam 1: Cheeb Tsam

Cheebtsam
Cheebtsam

qhov no yog txoj haujlwm yooj yim heev los tswj 4 cov cuab yeej siv koj yuav xav tau cov khoom siv tsis siv lub tshuab txuas hluav taws xob tsis sib txuas thiab ob peb lub xov hlau txuas

Kauj Ruam 2: Sijhawm rau Txoj Haujlwm Kev Teeb

xub xa qhov program no mus rau koj lub arduino uno "bluetooth SAPWR" yog tus lej rau ib qho khoom siv "4 coj hauv tsev siv tshuab" yog tus lej rau 4 cov khoom siv tab sis koj tuaj yeem hloov pauv tau yooj yim lossis tsuas yog luam theej tawm cov nyiaj coj los ua kom nce cov cuab yeej siv thiab kuj nce tus naj npawb ntawm kev xa tawm koj yuav siv kuv mus nrog 4 coj teeb tsa nrog lub neej ntawd 4 tus qauv xa ntawv ceeb toom:-khij qhov ntsuas ntawm qhov txuas uas koj siv lossis nws tuaj yeem ua rau puas tsuaj

Kauj Ruam 3: Kev thaiv kab hlau

Image
Image
Mounting hauv Mains
Mounting hauv Mains

Kuv tau teeb tus pin 13, 12, 11, 10 raws li 4 tus pin rau qhov tso tawm yuav tsum tau xaim 5v thiab hauv av ntawm tus qauv txuas thiab bluetooth modulethe tx ntawm hc-05 mus rau rx ntawm arduino (tus pin 0) lub rx ntawm hc-05 mus rau tx ntawm arduino (tus pin1) 4 tus pin 13, 12, 11, 10 txhua tus mus rau cov khoom sib txuas sib txuas sib txuas uas feem ntau sau ua in1, in2, in3, in4then koj xav tau rub ib qho bluetooth serial davhlau ya nyob twg Kuv siv daim ntawv thov no raws li nws ua kom teeb tsa kev cai ua ntej rau kuv appliancesso es tsis txhob ntaus tus tsiaj ntawv txhua lub sijhawm kuv tsuas yog yuav tsum tau nyem ntawm lub pob tshwj xeeb ua ntej rau qhov ua haujlwm los pib qhov kev ua haujlwm sib txawv yog'a'-tig rau thawj coj

'b'-tua tawm thawj coj' c'-tig rau 2nd coj d '-tua tawm thib ob coj

'e'-puv ntawm 3rd coj

'f'-tua tawm thib 3 coj

'g'-lem ntawm 4 coj

'h'-tua tawm 4 coj

yog tias txhua yam yog qhov zoo koj qhov teeb tsa yooj yim tau npaj txhij txhua thiab tam sim no koj xav tau tsuas yog rub nws mus rau hauv koj lub mains switchboard cov vis dis aus ntawm nws yuav teb li cas nrog

Kauj Ruam 4: Txhim Kho Hauv Cov Mains

yog li txhua qhov kev xa tawm tau muaj 3 tus pin nruab nrab ib qho rau cov xov tooj nyob thiab ib sab ib txwm raug kaw (txhais tau tias nws nyob thaum tsis muaj kev xa xov txuas) lwm sab yog ib txwm qhib (lub ntsiab lus nws tsis nyob thaum lub sij hawm relay tsis qhib) koj tuaj yeem yooj yim sim qhov twg yog qhov twg los ntawm kev siv lub multimetero nyob ntawm qhov xav tau thiab zaus siv koj tuaj yeem xaiv tus pin twg koj xav siv hauv kuv li cas kuv tau xaim qhib ib txwm qhib nrog lub tshuab xaim li kuv tsis khaws lub teeb nyob ntev ntev tab sis nws tsis tsim qhov sib txawv tseem ceeb nws yuav hloov yog qhov tseem ceeb nkag rau kuv tam sim no 'a' tig rau ntawm lub cuab yeej thiab 'b tua lub tshuab hluav taws xob tab sis yog tias koj xaim ib txwm kaw nrog lub tshuab xaim' b 'yuav qhib thiab' a 'yuav tua cov cuab yeej los ntawm cov kauj ruam no yuav hloov pauv koj cov lej nkag mus rau usagethen txhua yam koj yuav tsum tau ua yog ua lub thawv me me rau kev teeb tsa thiab teeb nws ze ntawm lub rooj hloov pauv nrog 5v usb them adapter txuas rau lub zog siv hluav taws xob.

Kauj Ruam 5: Zaum Kawg

bluetooth tuaj yeem ua ke nrog tsuas yog ib tus neeg siv nyob rau lub sijhawm tab sis qhov kom zoo dua yog tus naj npawb ntawm cov khoom siv uas tuaj yeem siv teeb tsa nrog tsis txwv txhua qhov nws xav tau yog ib qho khoom siv nrog bluetooth thiab lub davhlau ya nyob twg bluetooth tau teeb tsa qhov no tsis yog qhov ua tau zoo ntxiv los ntawm tus neeg siv kev xav kev hloov kho yav tom ntej yuav tsim cov duab siv sib cuam tshuam uas ua rau cov neeg siv siv cov teeb tsa no yooj yim dua thiab siv arduino nano los teeb tsa me dua thiab yooj yim dua rau mountbut nws yog ib qho rau txhua qhov khoom tsim tawm ib yam khoom rau txhua tus tub nkeeg uas tsuas yog tub nkeeg heev kom sawv thiab mus rau ntawm lub rooj sib hloov nws tseem txo qhov kev sib cuag ntawm lub cev nrog lub rooj sib hloov los ntawm kev tswj hwm kev nyob nrug deb daim ntawv thov muaj ntau dua li kuv tuaj yeem teev npe-tsev automation rau cov cuab yeej siv hauv tsev-teeb pom kev zoo ntawm zej zog-chaw ua haujlwm thiab chaw ua haujlwm-tuaj yeem siv rau ib qho twg wireless tswj mus txog qhov ntau ntawm 15-20mhope koj nyiam txoj haujlwm no

Pom zoo: