Cov txheej txheem:
- Kauj ruam 1:
- Kauj ruam 2: Circuit Court
- Kauj Ruam 3: Pib Visuino, thiab Xaiv Arduino UNO Board Type
- Kauj Ruam 4: Hauv Visuino Ntxiv thiab Txuas Txuas
- Kauj Ruam 5: Tsim, Ua Ke, thiab Tshaj Tawm Arduino Code
- Kauj ruam 6: Ua si
Video: Yuav Siv PIR Sensor Li Cas thiab Buzzer Module - Visuino Tutorial: 6 Cov Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:24
Hauv qhov kev qhia no peb yuav kawm paub siv lub PIR sensor thiab lub suab nrov nrov kom ua suab nrov txhua lub sijhawm PIR sensor pom lub zog.
Saib daim vis dis aus.
Kauj ruam 1:
- Arduino UNO (lossis lwm yam Arduino)
- PIR Sensor Cov
- Buzzer module
- Jumper xov hlau
- Visuino program: Rub tawm Visuino
Kauj ruam 2: Circuit Court
- Txuas PIR sensor tus pin [GND] rau Arduino tus pin [GND]
- Txuas PIR sensor tus pin [VCC] rau Arduino tus pin [5V]
- Txuas PIR sensor tus pin [Teeb liab] rau Arduino tus lej digital [8]
- Txuas Buzzer tus pin [+] rau Arduino tus pin [5V]
- Txuas Buzzer tus pin [-] rau Arduino tus pin [GND]
- Txuas Buzzer tus pin [S] rau Arduino tus lej digital [7]
Kauj Ruam 3: Pib Visuino, thiab Xaiv Arduino UNO Board Type
Txhawm rau pib ua haujlwm rau Arduino, koj yuav tsum muaj Arduino IDE teeb tsa los ntawm no:
Thov nco ntsoov tias muaj qee qhov teeb meem tseem ceeb hauv Arduino IDE 1.6.6. Nco ntsoov tias koj nruab 1.6.7 lossis siab dua, txwv tsis pub Cov Lus Qhia no yuav tsis ua haujlwm! Yog tias koj tsis tau ua raws cov kauj ruam hauv Phau Ntawv Qhia no teeb tsa Arduino IDE rau program Arduino UNO! Visuino: https://www.visuino.eu tseem yuav tsum tau teeb tsa. Pib Visuino raws li pom hauv thawj daim duab Nyem rau ntawm "Cov cuab yeej" khawm ntawm Arduino tivthaiv (Daim Duab 1) hauv Visuino Thaum qhov kev sib tham tshwm, xaiv "Arduino UNO" raws li qhia hauv daim duab 2
Kauj Ruam 4: Hauv Visuino Ntxiv thiab Txuas Txuas
- Ntxiv "Digital (Boolean) Hloov Xwb" tivthaiv
- Ntxiv "Ua Si Zaus Tone" tivthaiv thiab hauv cov khoom vaj khoom tsev teeb tsa "Pib Zaus (Hz)" txog 20-xaiv "Enabled" teb thiab nyem rau ntawm tus pin cim thiab xaiv "Boolean SinkPin"
- Txuas Arduino tus pin [8] rau "ChangeOnly1" tus pin [Hauv]
- Txuas "ChangeOnly1" tus pin [Tawm] rau "PlayFrequency1" tus pin [Enabled]
- Txuas "PlayFrequency1" tus pin [Tawm] rau Arduino tus lej digital [7]
Kauj Ruam 5: Tsim, Ua Ke, thiab Tshaj Tawm Arduino Code
Hauv Visuino, hauv qab nyem rau ntawm "Tsim" Tab, xyuas kom tseeb tias qhov chaw nres nkoj raug xaiv, tom qab ntawd nyem rau ntawm "Compile/Build and Upload" khawm.
Kauj ruam 6: Ua si
Yog tias koj ua lub zog Arduino UNO module, thiab ua kom txav mus rau PIR sensor yuav tsum ntsuas nws thiab lub suab nrov nrov yuav ua suab nrov.
Nrog koj zoo siab! Koj tau ua tiav koj txoj haujlwm nrog Visuino. Kuj txuas nrog yog Visuino project, uas kuv tau tsim rau Cov Lus Qhia no, koj tuaj yeem rub tawm nws ntawm no thiab qhib nws hauv Visuino:
Pom zoo:
Yuav Tsim Li Cas thiab Ntxig Ib Lub Rooj Thiab Ntxiv Kab Ntxiv Thiab/lossis Kab Rau Cov Lus Hauv Microsoft Office Word 2007: 11 Cov Kauj Ruam
Yuav Tsim Li Cas thiab Ntxig Cov Lus Thiab Ntxiv Kab Ntxiv Thiab/lossis Kab Rau Cov Lus Hauv Microsoft Office Word 2007: Koj puas tau muaj cov ntaub ntawv ntau uas koj ua haujlwm nrog thiab xav rau koj tus kheej … " Kuv yuav ua li cas ntawm cov ntaub ntawv no saib zoo dua thiab nkag siab yooj yim dua? " Yog tias yog, tom qab ntawd lub rooj hauv Microsoft Office Word 2007 yuav yog koj cov lus teb
Yuav Ua Li Cas Tsim Linux Boot Drive (thiab Yuav Siv Li Cas): 10 Cov Kauj Ruam
Yuav Ua Li Cas Tsim Linux Boot Drive (thiab Yuav Siv Li Cas): Nov yog cov lus qhia yooj yim yuav pib li cas nrog Linux, tshwj xeeb yog Ubuntu
Txawb Xov Tooj Siv Yooj Yim Siv STM32F407 Cov Khoom Siv Tshawb Pom thiab GSM A6 Module: 14 Cov Kauj Ruam (nrog Duab)
Kev Siv Xov Tooj Ntawm Lub Xov Tooj Siv STM32F407 Cov Khoom Siv Tshawb Pom thiab GSM A6 Module: Koj puas tau xav tsim qhov kev ua kom txias txias? Yog tias yog, ua li cas txog kev tsim ib qho ntawm cov neeg nyiam tshaj plaws thiab txhua tus nyiam cov khoom siv xws li Lub Xov Tooj Txawb !!!. Hauv Cov Lus Qhia no, Kuv yuav qhia koj yuav tsim lub xov tooj txawb yooj yim siv STM li cas
Yuav Siv Mac Terminal Li Cas, thiab Yuav Siv Li Cas Tseem Ceeb: 4 Kauj Ruam
Yuav Siv Mac Terminal Li Cas, thiab Yuav Siv Li Cas Cov Haujlwm Tseem Ceeb: Peb yuav qhia koj li cas qhib MAC Terminal. Peb kuj tseem yuav qhia koj ob peb yam hauv Terminal, xws li ifconfig, hloov cov npe, nkag mus rau cov ntaub ntawv, thiab arp. Ifconfig yuav tso cai rau koj los tshuaj xyuas koj tus IP chaw nyob, thiab koj li MAC ad
Yuav Ua Li Cas Ua IoT Device los Tswj Cov Khoom Siv thiab Saib Xyuas Huab Cua Siv Esp8266: 5 Cov Kauj Ruam
Yuav Ua Li Cas Ua IoT Device los Tswj Cov Khoom Siv thiab Saib Xyuas Huab Cua Siv Esp8266: Internet ntawm yam (IoT) yog kev sib txuas sib txuas ntawm cov cuab yeej siv lub cev (tseem hu ua "txuas nrog cov cuab yeej" thiab "ntse cov cuab yeej"), cov tsev, thiab lwm yam khoom - suav nrog cov khoom siv hluav taws xob, software, sensors, actuators, thiab