Cov txheej txheem:

Arduino+Blynk Project Tswj Buzzer: 8 Kauj Ruam
Arduino+Blynk Project Tswj Buzzer: 8 Kauj Ruam

Video: Arduino+Blynk Project Tswj Buzzer: 8 Kauj Ruam

Video: Arduino+Blynk Project Tswj Buzzer: 8 Kauj Ruam
Video: Amazing arduino project 2024, Kaum ib hlis
Anonim

Blynk tau siv los ua IoT ua tau yooj yim heev.

Hauv txoj haujlwm no, Kuv tsis siv bluetooth lossis Wifi module los ua kev sib txuas lus wireless. Qhov no tuaj yeem siv Blynk daim ntawv thov uas tuaj yeem pab koj tsim koj daim ntawv thov hauv ob peb feeb. Daim ntawv thov Blynk yog sib xws rau ob lub xov tooj Android thiab IOS. Blynk txhawb nqa ntau lub laug cam thiab ib ntawm lawv yog Arduino Uno uas kuv yuav siv hauv txoj haujlwm no.

Kuv yuav xa mus txog 25 qhov yooj yim rau cov kws tshaj lij qib phiaj xwm siv Blynk daim ntawv thov nyob rau lub hlis no yog li ua raws kuv kom paub qhov haujlwm sib txawv siv Blynk ib qib zuj zus.

Kauj Ruam 1: Yuav tsum muaj cov khoom siv

1. Arduino UNO -

2. Buzzer -

3. Jumper Wires -

4. Blynk daim ntawv thov los ntawm playstore -

Kauj Ruam 2: Nruab Blynk Daim Ntawv Thov hauv Koj Lub Smartphones Los ntawm Playstore

Nruab Blynk Daim Ntawv Thov hauv Koj Lub Smartphones Los ntawm Playstore
Nruab Blynk Daim Ntawv Thov hauv Koj Lub Smartphones Los ntawm Playstore
Nruab Blynk Daim Ntawv Thov hauv Koj Lub Smartphones Los ntawm Playstore
Nruab Blynk Daim Ntawv Thov hauv Koj Lub Smartphones Los ntawm Playstore
Nruab Blynk Daim Ntawv Thov hauv Koj Lub Smartphones Los ntawm Playstore
Nruab Blynk Daim Ntawv Thov hauv Koj Lub Smartphones Los ntawm Playstore

1. Tom qab kev teeb tsa, nkag mus lossis kos npe nrog tus as khauj kom txuag koj cov phiaj xwm rau kev siv yav tom ntej thiab tau txais Tus lej cim rau koj qhov haujlwm.

2. Ua qhov Project tshiab thiab xaiv pawg thawj coj ua Arduino Uno thiab txuas hom li WIFI.

3. Nias ok.

4. Ntxiv khawm widget rau koj lub vijtsam. Xaiv tus lej PIN koj tab tom txuas tus buzzer thiab hom khawm PUSH lossis SWITCH.

5. Koj Daim Ntawv Thov npaj siv los siv koj yuav tsum tau txais email hauv koj tus as khauj. Hauv tus lej ntawd koj yuav tau txais ob yam ib qho yog Auth Token thiab Blynk cov tsev qiv ntawv.

6. Tus lej cim peb yuav ntxiv rau hauv koj cov cai txhawm rau txuas nrog Arduino pawg thawj coj.

Kauj Ruam 3: Txhim Kho Blynk Cov Tsev Qiv Ntawv

Tom qab rub tawm cov ntawv zip ntawm Blynk cov tsev qiv ntawv. Luam cov ntaub ntawv thiab txiav cov ntawv thiab muab tso rau hauv daim nplaub tshev arduino hauv lub qhov rais C -> Cov ntaub ntawv cov ntaub ntawv*86 Arduino cov tsev qiv ntawv.

Kauj ruam 4: Circuit Schematic ntawm Arduino

Circuit Schematic ntawm Arduino
Circuit Schematic ntawm Arduino

BUZZER - ARDUINO UNO

tsis zoo davhlau ya nyob twg - GND

tus lej zoo - PIN 4

Kauj Ruam 5: Txoj Cai rau Circuit Schematic

Code rau Circuit Schematic
Code rau Circuit Schematic

Nco ntsoov hloov Auth Token hauv tus lej nrog Auth Token koj tau txais hauv koj tus lej Gmail tom qab ua qhov haujlwm hauv BLYNK daim ntawv thov.

Tshaj tawm cov cai, koj yuav tau txais qhov yuam kev tab sis tsis quav ntsej qhov ua yuam kev thiab ua raws cov kauj ruam tom ntej.

Kauj Ruam 6: Qhib Command Prompt thiab Khiav Raws Li Tus Thawj Coj

Qhib Command Prompt thiab Khiav Raws Li Tus Thawj Coj
Qhib Command Prompt thiab Khiav Raws Li Tus Thawj Coj

1. qhib tus thawj tswj ntaub ntawv, mus rau Qhov rai CProgram cov ntaub ntawv (x86) Arduino librariesBlynkscripts

2. luam qhov chaw nyob no thiab qhib qhov hais kom ua qhov rai

3. Ntaus cd thiab muab qhov chaw nyob saum toj no (C: / Program Files (x86) Arduino / libraries / Blynk / scripts) thiab nias sau. qhov chaw nyob no yuav txawv ntawm tus neeg siv mus rau tus neeg siv.

4. Ntaus blynk -ser.bat -c COM3.

qhov chaw ntawm COM3 koj yuav tsum sau qhov chaw nres nkoj uas koj tau txuas nrog koj Arduino UNO.

Kauj Ruam 7: Nyem rau Play Button ntawm Blynk App

Nyem rau Play Button ntawm Blynk App
Nyem rau Play Button ntawm Blynk App

Koj qhov project tau npaj tiav. nias khawm widget ntawm app kom pom qhov tshwm sim. qhia koj qhov project tom qab ua tiav.

Kauj Ruam 8: Kauj Ruam Ntxiv

Kauj Ruam Ntxiv
Kauj Ruam Ntxiv
Kauj Ruam Ntxiv
Kauj Ruam Ntxiv
Kauj Ruam Ntxiv
Kauj Ruam Ntxiv

Hloov buzzer nrog coj thiab nias lub pob ntawm Blynk app koj yuav tuaj yeem tswj LED siv tib tus lej thiab tib txoj haujlwm blynk ib yam nkaus.

Pom zoo: