Cov txheej txheem:

Tswb Xa Ntawv: 6 Kauj Ruam (nrog Duab)
Tswb Xa Ntawv: 6 Kauj Ruam (nrog Duab)

Video: Tswb Xa Ntawv: 6 Kauj Ruam (nrog Duab)

Video: Tswb Xa Ntawv: 6 Kauj Ruam (nrog Duab)
Video: LOKY -Txhob Ua Yog Toog (Official MV )Hmong New Song 2024, Kaum ib hlis
Anonim
Image
Image
Cheebtsam
Cheebtsam

Tom qab ua tiav kuv GSM Tsev Tswb V1.0 thiab qee lub sijhawm siv, Kuv txiav txim siab los hloov qee yam.

Hauv kev kho vajtse qhov kev hloov pauv tseem ceeb yog kev hloov pauv ntawm lub ntsuas hluav taws xob ultrasonic thiab kev qhia txog cov keyboard. Ntawm lub software, kuv hloov SMS ceeb toom los ntawm e-mail. Tsis tas li kuv tau txiav txim siab txo qis hauv Circuit Court thiab tsim qauv thiab 3D luam ib lub thawv rau hauv Circuit Court.

Kauj Ruam 1: Cheeb Tsam

DFRobot FireBeetle ESP32 IOT Microcontroller

DFRobot Gravity: Digital Infrared Motion Sensor Rau Arduino

DFRobot Sealed Membrane 4*4 khawm ncoo nrog daim nplaum

DFRobot 5 hli LED Pob (50 pcs)

DFRobot 220R Resistor

Perfboard

Kauj Ruam 2: Txuas Cov Khoom Siv

Txuas cov Cheebtsam
Txuas cov Cheebtsam

FireBeetle ESP32 IOT Microcontroller yuav yog lub hlwb ntawm txoj haujlwm no. Qhov txiaj ntsig loj yog tias koj tuaj yeem tau txais WIFI thiab Kev Tswj Roj Teeb hauv ib qho hneev taw me me. Nws tau siv ncaj qha los ntawm USB chaw nres nkoj (+5V) tab sis kuv kuj ntxiv roj teeb raws li lub zog thaub qab (qhov kawg no yog xaiv tau).

Cov keyboard tau txuas los ntawm tus pin D2 rau tus pin D8. Cov coj tau txuas nrog tus pin MOSI/IO19. PIR Sensor teeb liab tus pin txuas nrog tus pin A1/IO39.

A +5V fais fab mov (lub xov tooj smartphone zoo ib yam phab ntsa) xav tau txuas nrog nano USB txuas. Ib +3.7V roj teeb tuaj yeem ntxiv ua lub zog thaub qab.

Kauj Ruam 3: Thawb Lub Thawv

Thawb Lub Thawv
Thawb Lub Thawv
Thawb Lub Thawv
Thawb Lub Thawv
Thawb Lub Thawv
Thawb Lub Thawv
Thauj Lub Thawv
Thauj Lub Thawv

Thaum lub sijhawm ua haujlwm no kuv pom qhov kev pabcuam IOT no uas tso cai rau koj teeb tsa ntau qhov kev ceeb toom.

1 - Mus rau https://www.pushingbox.com thiab tsim tus as khauj.

2- Mus rau "Kuv Cov Kev Pabcuam"

3 - "Ntxiv kev pabcuam"

4 - Hauv kab "Email", nias "Xaiv qhov kev pabcuam no".

5- Kho tus email uas yuav tau txais kev ceeb toom.

6 - Mus rau "Kuv Scenarios"

7 - Nias "Test".

8 - Yog tias txhua yam zoo, koj yuav tsum tau txais email hauv koj lub inbox.

Kauj ruam 4: Code

Code
Code

Kom koj siv kuv tus lej, qee qhov kev hloov pauv tsim nyog.

Txheeb xyuas koj lub npe WIFI network thiab tus password.

Luam DEVID los ntawm "Kuv Cov Scenarios" ntawm Pushingbox thiab muab nws tso rau hauv txoj cai.

Upload thiab qhib Serial Monitor qhov rai txhawm rau txheeb xyuas yog tias txhua yam ua haujlwm. Rau kev ua kom lub kaw lus tsuas yog nias "1234", kuv tus lej zais tsis raug, thiab lub tswb yuav raug siv hauv 8s (qhov no tseem tuaj yeem hloov pauv hauv tus lej).

Kauj ruam 5: 3D Cov Ntaub Ntawv

Kauj Ruam 6: Xaus

Xaus
Xaus

Sib piv nrog kuv txoj haujlwm yav dhau los, kev hloov kho rau PIR sensor yog kev txhim kho loj. Kuv tau txais yuav luag tsis muaj "cuav, zoo" tswb.

Yuav luag nyob rau theem kawg, Kuv nco qab, "Vim li cas kuv thiaj tsis siv RFID ??? !!!", lossis zoo dua, Bluetooth module muaj nyob hauv ESP32, tsis txhob siv lub keyboard. Tsis tas li cov cai yog qhov yooj yim heev, muaj ntau txoj hauv kev txhim kho, yog li kuv tsis xav tias qhov no yuav yog kuv lub tswb kawg.

Xav tias tawm tswv yim lossis xa lus rau kuv yog tias koj pom muaj qhov ua yuam kev, lossis yog tias koj muaj lus pom/txhim kho lossis lus nug.

Zoo li nws Sau npe yuav ua Ua.

Pom zoo: