Cov txheej txheem:

M5StickC-ESP32 Mini PIR Tswb System: 7 Kauj Ruam
M5StickC-ESP32 Mini PIR Tswb System: 7 Kauj Ruam

Video: M5StickC-ESP32 Mini PIR Tswb System: 7 Kauj Ruam

Video: M5StickC-ESP32 Mini PIR Tswb System: 7 Kauj Ruam
Video: Kiosk mode Bruteforce Evasion with Flipper Zero 2024, Hlis ntuj nqeg
Anonim

Hauv txoj haujlwm no peb yuav kawm paub yuav ua li cas Tswb Tswb Tswb ceeb toom siv lub mini PIR sensor thiab M5StickC ESP32 board.

Saib cov yees duab!

Kauj ruam 1: Yam Koj Yuav Tsum Tau

Koj Yuav Tsum Tau Dab Tsi
Koj Yuav Tsum Tau Dab Tsi
Koj Yuav Tsum Tau Dab Tsi
Koj Yuav Tsum Tau Dab Tsi
Koj Yuav Tsum Tau Dab Tsi
Koj Yuav Tsum Tau Dab Tsi
  • M5StickC ESP32
  • Mini PIR Sensor
  • Visuino software: Rub tawm Visuino ntawm no:

Kauj ruam 2: Circuit Court

Qhov Circuit
Qhov Circuit
  • Txuas StickC tus pin 5V rau PIR sensor tus pin VCC (+)
  • Txuas StickC tus pin GND rau PIR sensor tus pin GND (-)
  • Txuas StickC tus pin G26 rau PIR sensor tus pin tawm

Kauj Ruam 3: Pib Visuino, thiab Xaiv M5 Stack Stick C Board Type

Pib Visuino, thiab Xaiv M5 Stack Stick C Board Type
Pib Visuino, thiab Xaiv M5 Stack Stick C Board Type
Pib Visuino, thiab Xaiv M5 Stack Stick C Board Type
Pib Visuino, thiab Xaiv M5 Stack Stick C Board Type

Pib Visuino raws li pom hauv thawj daim duab Nyem rau ntawm "Cuab Yeej" khawm ntawm Arduino tivthaiv (Daim duab 1) hauv Visuino Thaum qhov kev sib tham tshwm, xaiv "M5 Stack Stick C" raws li qhia hauv daim duab 2

Kauj ruam 4:

Duab
Duab
Duab
Duab
Duab
Duab

Ntxiv "Digital (Boolean) Inverter (Tsis)" tivthaiv

  • Xaiv "M5 Stack Stick C" board thiab hauv cov khoom qhov rai nthuav dav Modules> Zaub ST7735 thiab:

    • teeb Orientation rau goRight
    • Xaiv Cov Ntsiab Lus thiab nyem rau ntawm 3 dots khawm thiab hauv lub qhov rai ntsiab lus

      • luag "Kos teb" mus rau sab laug thiab hauv cov khoom vaj khoom tsev teeb tsa qhov loj me rau 3 thiab Ntawv rau "ALARM", Xim rau aclRed
      • luag "Sau Screen" rau sab laug

Kaw lub Elements window

Kauj Ruam 5: Hauv Visuino Connect Components

Hauv Visuino Connect Components
Hauv Visuino Connect Components
Hauv Visuino Connect Components
Hauv Visuino Connect Components
Hauv Visuino Connect Components
Hauv Visuino Connect Components
  • Txuas "M5 Stack Stick C" tus pin GPPIO26 Tawm mus rau "M5 Stack Stick C"> LED pin In
  • Txuas "M5 Stack Stick C" tus pin GPPIO26 Tawm rau "M5 Stack Stick C"> "Kos Text1" tus pin moos
  • Txuas "Inverter1" tus pin tawm mus rau "M5 Stack Stick C"> "Sau Screen1" tus pin moos

Kauj Ruam 6: Tsim, Sau, thiab Tshaj Tawm Txoj Cai

Tsim, Sau, thiab Tshaj Tawm Txoj Cai
Tsim, Sau, thiab Tshaj Tawm Txoj Cai

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 7: Ua si

Yog tias koj siv lub zog M5StickC tus PIR sensor yuav qhib qhov kev txav los ntawm lub teeb ci sab hauv thiab nthuav tawm cov ntawv "ALARM" ntawm Zaub.

Nrog koj zoo siab! Koj tau ua tiav koj txoj haujlwm nrog Visuino. Kuj txuas nrog yog Visuino qhov haujlwm, uas kuv tau tsim rau Cov Lus Qhia no, koj tuaj yeem rub nws thiab qhib nws hauv Visuino:

Pom zoo: