Cov txheej txheem:

NowGuard Security System: 9 Cov Kauj Ruam (nrog Duab)
NowGuard Security System: 9 Cov Kauj Ruam (nrog Duab)

Video: NowGuard Security System: 9 Cov Kauj Ruam (nrog Duab)

Video: NowGuard Security System: 9 Cov Kauj Ruam (nrog Duab)
Video: 20 MOMENTS YOU WOULDN'T BELIEVE IF NOT FILMED 2024, Hlis ntuj nqeg
Anonim
NowGuard Security System
NowGuard Security System

Cov lus qhia no tau tsim los ua kom tau raws txoj haujlwm xav tau ntawm Makecourse ntawm University of South Florida (www.makecourse.com).

Qhov no hauv NowGuard kev ruaj ntseg system, nrawm siv kev ruaj ntseg zoo rau kev yooj yim kev nyab xeeb xav tau.

Kauj ruam 1: Pib Pib…

Cia peb pib…
Cia peb pib…

* Txhua feem ntawm qhov haujlwm no tau tsim hauv Autodesk Inventor thiab luam tawm siv lub tshuab luam ntawv 3D. Tus tsim khoom yuav tsum muaj qee qhov kev paub ntawm 3D luam ntawv los hloov kho thiab kho qhov khoom raws li qhov tsim nyog. Ntxiv rau qee qhov ntawm kev tsim yuav xav tau qee qhov kev sib txuas, kev paub yuav muaj txiaj ntsig ib yam.

Cov Ntaub Ntawv Yuav Tsum Tau:

  • 1 Arduino board nrog USB cable
  • 1 HC-SR04 Ultrasonic Sensor
  • 1 RGB LED teeb
  • 1 Adafruit suab fx mini lub suab board - wav/ogg txhais - 2mb nyem
  • 1 Adafruit mini lub koob yees duab neeg soj xyuas nrog ua rau yees duab lossis yees duab
  • 1 4Ohm 3W Full Range Audio Speaker
  • 12 Watt Suab Amplifier
  • 1 3.3x2.2 in. Bread boardD
  • 1 Laub Khawm
  • 3 SG90 Micro Servo Tsav Mini
  • Muaj ntau lub jumper cables - txiv neej rau txiv neej, txiv neej rau poj niam, poj niam rau poj niam
  • Kub kua nplaum phom
  • Hlau Stripper
  • Cuab yeej cuab yeej

Kauj ruam 2: Tswj daim duab

Tswj daim duab
Tswj daim duab

Tam sim no NowGuard Ua Haujlwm raws li kev nyab xeeb uas siv lub ntsuas hluav taws xob ultrasonic txhawm rau txheeb xyuas pom muaj tus neeg lossis khoom nyob hauv thaj tsam tshwj xeeb tau teev tseg los ntawm tus neeg siv. Rau kuv qhov haujlwm lawv yog peb ntu nyob deb, nruab nrab, thiab ze, nyob ntawm qhov twg tus neeg lossis cov khoom raug kuaj pom hauv Nowguard xa cov lus ceeb toom lossis teeb tsa lub tswb ua ke nws tseem siv cov duab lossis vis dis aus txhua lub sijhawm nws pom qee yam thiab khaws nws ntawm SD daim npav rau kev tshuaj xyuas tom qab.

Kev Ua Haujlwm:

Lub servo txuas nrog lub ntsuas hluav taws xob nyob rau sab saum toj, thaum lub zog ntsuas ntawm thaj tsam ntawm 0 thiab 180 degrees. Raws li qhov peb kab sib txawv tau teeb tsa hauv txoj cai, thaum NowGuard pom qee yam lossis khoom hauv ib qho ntawm cov kab, lub ntsuas hluav taws xob nres ntawm txoj haujlwm kaum sab xis uas nws pom cov khoom, thiab tom qab ntawd servo txuas nrog lub koob yees duab txav mus rau tib yam txoj hauj lwm kaum. (Raws li qhov taw tes sensor thiab lub koob yees duab tau ntsib tib txoj kev). Lub koob yees duab siv daim duab thiab lub kaw lus ua suab ceeb toom Ex. "Thov Kauj Ruam Rov Qab", txuas ntxiv mus kom txog thaum cov khoom txav tawm ntawm qhov ntsuas ntau. Thaum cov khoom tau txav lub sensor rov qab los rau hauv cheeb tsam.

Kauj Ruam 3: Sijhawm Luam Ntawv

Sijhawm Sau
Sijhawm Sau

CAD cov ntaub ntawv siv rau cov ntawv luam txuas nrog, rub tawm thiab hloov kho/rov kho dua rau koj qhov xav tau.

Kauj Ruam 4: Kev thaiv kab

Thaiv
Thaiv
Thaiv
Thaiv

Zoo li hauv daim duab saum toj no kuv xav pom zoo tso txhua ntu thiab cov xov hlau ntawm lub rooj ua haujlwm rooj los ua thiab khaws cov kev sib txuas. Muaj 3 servo motors sau lawv nrog daim kab xev thiab muab lawv cais.

Ex Kuv suav/npe lawv raws qhov lawv txav mus.. Servo #1 lub koob yees duab, Servo #2 Sensor, Servo #3 Ncej.

Arduino Pin Kev Sib Txuas: Los ntawm Arduino rau Yam khoom tshwj xeeb

RX 0 -

TX1. -

2. Sensor Servo cov tswv yim

3. Ncej Servo cov tswv yim

4. Lub koob yees duab Servo cov tswv yim

5. Pin 1 ntawm lub suab board "Range0"

6. Pin 2 ntawm lub suab board "Range1"

7. Pin 3 ntawm lub rooj tsav xwm suab '' Range2 ''

8. Lub Koob Yees Duab

9. Tus Pin HC-SR04

10. Echo Pin HC-SR04

11. Liab Pin ntawm RGB LED

12. Greed Pin ntawm RGB LED

13. Xiav Pin ntawm RGB LED

A0. Hlau txuas nrog A1

A1. Hlau txuas nrog A0

A2. Push Button // Push button yog txuas nrog rub tawm tus tiv thaiv kom tiv thaiv tsis tau

A3. Laub Khawm

A4. - Pin 0 ntawm lub suab lus

A5. -

Ua kom ntseeg tau tias cov khoom siv tau txuas nrog +5 V thiab hauv av.

** Hauv kev hais txog cov duab nrog tus hais lus, tshem tawm cov kev sib txuas mus rau Arduino, qhov ntawd yog li cas lub suab pawg thawj coj yuav tsum tau txuas mus rau lub suab nrov. Siv Adafruit PDF.

Kauj ruam 5: Arduino Sketch

Arduino Sketch
Arduino Sketch

Rub tawm Arduino kos duab rau koj Ardunio board.

Kauj Ruam 6: Sib dhos 1

Sib dhos 1
Sib dhos 1
Sib dhos 1
Sib dhos 1
Sib dhos 1
Sib dhos 1

Tam sim no tias cov kev sib txuas tau ua kos duab kos, thiab kev ua haujlwm tau ua tiav thiab nkag siab. Nws yog lub sijhawm tam sim los rov ua cov txheej txheem tab sis tam sim no suav nrog qhov tseeb.

  1. Cia Lub Hnub Qub nrog lub ntsuas hluav taws xob ultrasonic thiab nws cov ntaub thaiv, koj yuav pom tias nws tsis haum nrog cov pins tseem txuas nrog. (Soldering pib tam sim no) Tshem tawm/txiav cov pins. Tau txais 4 daim xaim ntev li 12 ntiv tes txhua qhov (tuaj yeem txiav kev nkag mus tom qab) Nrog cov hlua hlau nthuav tawm tooj liab thiab tom qab ntawd muab txhua lub xaim rau hauv ib qho ntawm 4 qhov me me hauv "npog npog" ib feem. Tom qab txuas mus txuas cov xaim rau HC-SR04. HC-SR04 tam sim no yuav tsum haum haum thiab koj tuaj yeem tso lub nraub qaum rau.
  2. Txuas tus ncej thiab tus tuav Sensor. Ntxig lub sensor servo, pub cov xaim los ntawm tus ncej.
  3. Pub cov xov hlau txuas nrog HC-SR04 txawm hais tias lub hau ntsuas, ib puag ncig "sensor servo" thiab tom qab ntawd dhau los ntawm tus ncej.
  4. Kaw lub hau, thiab khov kho nias lub ntsuas qhov ntsuas qhov ntsuas tawm tsam cov ncej ntawm servo motor kom ntseeg tau tias muaj kev sib txuas zoo. (koj tuaj yeem koj kub kua nplaum los pab ua kom muaj kev sib txuas nruj.)

Txij ntawm no mus, qhov txav txav thiab qhov ntsuas qhov ntsuas tau ua tiav, tso tseg.

Kauj Ruam 7: Lub Koob Yees Duab thiab Suab Pawg

Lub Koob Yees Duab thiab Suab Pawg
Lub Koob Yees Duab thiab Suab Pawg

Lub Koob Yees Duab Ua Haujlwm:

www.adafruit.com/product/3202

… Txuas cov xaim liab mus rau 3.7V-5VDC thiab xaim dub rau hauv av. nplaub tshev ntawm SD daim npav, suav los ntawm PIC000-j.webp

Qhia:

480p video thiab 1280x720 daim duab duab, nrog lub rooj tsav tsheb uas yog kwv yees li 1 square inch hauv qhov loj, nrog daim npav microSD.

Lub suab ua haujlwm:

Txhawm rau teeb tsa thiab ua haujlwm ntawm lub rooj tswj hwm lub suab thiab yuav ua li cas kom tau txais koj cov ntaub ntawv audio hauv nws rub tawm Adafruit lub suab board PDF uas kuv tau txuas, txuas nrog kuj yog cov ntaub ntawv audio uas kuv siv rau siv.

YEEB YAJ DUAB:

Txog rau daim ntawv thov tam sim noGuard lub zog, hauv av, thiab cov xov hlau txuas rau lub koob yees duab yog luv thiab xav tau txuas ntxiv kom lawv tuaj yeem txuas mus ntxiv los ntawm tus tuav lub koob yees duab thiab mus rau hauv lub thawv loj, koj yuav tsum tau siv cov laug los yog hlua thiab khi txheej tshiab ntawm cov xov hlau txog 8 `` rau kev txuas thiab txav dawb. (ntsuab, txiv kab ntxwv, thiab kab liab pom los ntawm sab saud)

Kauj Ruam 8: Sib dhos 2

Sib dhos 2
Sib dhos 2
Sib dhos 2
Sib dhos 2
Sib dhos 2
Sib dhos 2

Txuas mus rau lub cev tseem ceeb (Nco ntsoov siv cov duab)..

  1. Ruaj Ntseg Mov ci thiab Arduino rau hauv qab ntawm lub thawv nrog kua nplaum kub.
  2. Pub USB cable los ntawm cable 'cable qhov' thiab txuas rau Arduino board.
  3. Txuas lub laub khawm thiab ruaj ntseg nrog cov kua nplaum kub.
  4. Ruaj ntseg "tus ncej servo" rau hauv qab ntawm lub npov sab saum toj ua ke nrog lub qhov rau servo ncej, ua tib yam rau RGB LED tso los ntawm sab saum toj ib qho gluing hauv qab.
  5. Kaw tus neeg hais lus rau lub npov saum toj, ua ke nrog tus hais lus grill.
  6. Kua lub sensor servo rau hauv qab o lub thawv ua ke nrog lub qhov rau lub koob yees duab sawv ntsug.
  7. Rov tsim dua txhua qhov kev sib tham tau tham hauv kab lus kab lus kauj ruam.
  8. Qhia lub koob yees duab los ntawm "lub koob yees duab sawv ntsug" thiab txuas rau cov laug cam
  9. Ruaj ntseg tso lub koob yees duab hauv lub koob yees duab txias dua thiab npog qhov chaw.
  10. Ruaj ntseg npog rau lub thawv loj nrog cov ntsia hlau.

Kauj ruam 9: Ua tiav

Tiav
Tiav

Tam sim no tias lub rooj sib tham tseem ceeb tau ua tiav, nws yog lub sijhawm los ua kom koj txoj kev tiv thaiv tam sim no zoo li raug cai. Kuv txiav txim siab los npog kuv lub ntsej muag uas yooj yim thiab carbon fiber vinyl qhwv thiab siv qee daim kab xev liab rau kev txiav. Cov xim hlau xim kub tau siv los pleev xim rau daim paib thiab dawb kom taug qab cov tsiaj ntawv.

Muaj kev lom zem nrog koj qhov kev tsim kho tshiab NowGuard Security System!

Pom zoo: