Cov txheej txheem:

Social Distancing Detector: 10 Kauj Ruam
Social Distancing Detector: 10 Kauj Ruam

Video: Social Distancing Detector: 10 Kauj Ruam

Video: Social Distancing Detector: 10 Kauj Ruam
Video: How have our purchasing habits changed? | BN Podcast 2024, Kaum ib hlis
Anonim
Social Detection Detection
Social Detection Detection

Nov yog lub ntsuas uas tuaj yeem txheeb xyuas cov khoom uas nkag mus rau qhov chaw ib puag ncig 2 meters.

Lub hom phiaj ntawm lub ntsuas ntsuas no yog ua kom qhov kev ncua deb ntawm tib neeg hauv "kev nyob nrug deb". Txoj haujlwm no tau tshoov siab los ntawm Arduino Circuit no, ntxiv cov haujlwm rau:

- Tso cai rau Ultrasonic Sensor txav mus rau qee lub kaum sab xis los ntawm kev muab nws tso rau ntawm servomotor.

- Hais qhia lwm tus kom tsis txhob siv LCD Zaub.

Khoom siv

Cov ntaub ntawv xav tau rau txoj haujlwm no yog:

Arduino Leonardo/Uno *1

Lub khob cij *1

HC-SR04 Ultrasonic Sensor *1

Lub suab nrov *1

Ntsuab LEDs *2 (xaiv tau)

Liab LEDs *2 (xaiv tau)

LEDs daj *2 (xaiv tau)

330-ohm Resistors *7

Jumper Wires (ntau tshaj 20)

Kauj Ruam 1: Teeb (LCD Zaub)

Npaj txhua yam khoom uas tau hais los saum no, saib ntawm daim duab los tsim lub Circuit Court.

Rau LCD Zaub:

GND -> qhov " -" kos npe ntawm daim ntawv qhia zaub mov

VCC -> lub cim "+" ntawm daim ntawv qhia zaub mov

SDA -> SDA ntawm Arduino board

SCL -> SCL ntawm Arduino Board

Kauj Ruam 2: Txuas (xov hlau nruab nrab ntawm Breadboard & Pawg Arduino)

GND ntawm Arduino Board -> qhov " -" kos npe ntawm daim ntawv qhia zaub mov

5V ntawm Arduino Board -> "+" ntawm lub khob cij

D2 -> A60

D3 -> J25

D6 -> E10

D7 -> E11

D8 -> J38

D9 -> J40

D10-> J43

D11 -> J45

D12 -> J48

D13 -> J50

Kauj Ruam 3: Txuas (330-ohm Resistors)

Tag nrho ntawm xya, 1. Txuas ntawm J51 -> tsis zoo kos npe ncaj qha

2. Txuas ntawm J49 -> tsis zoo kos npe ncaj qha

3. Txuas nruab nrab ntawm J46 -> tsis zoo kos npe ncaj qha

4. Txuas ntawm J44 -> tsis zoo kos npe ncaj qha

5. Txuas ntawm J41 -> tsis zoo kos npe ncaj qha

6. Txuas ntawm J39 -> tsis zoo kos npe ncaj qha

7. Txuas ntawm I24 -> tsis zoo kos npe ncaj qha

Kauj Ruam 4: Teeb (LEDs, Tsis teb los tau)

- Ob sab ntev yuav ua ke nrog cov neeg tawm tsam, thaum sab luv yuav ua kom sib haum ntawm cov xov hlau ntawm lub khob cij thiab Arduino board. (piv txwv li sab ntev -> F51; sab luv nrog xaim hauv J50)

- Qhov no yog nyob ntawm yeem vim tias twb tau muaj LCD zaub los ua lub cim qhia thaum ua txhaum qhov kev ncua deb.

Kauj Ruam 5: Txuas (Buzzer)

Daim paib dub ua ke nrog tus tiv thaiv ntawm I24, kos npe liab ua ke nrog xaim txuas rau D3.

Kauj Ruam 6: Teeb (Ultrasonic Sensor)

UCC -> A9

Qhov siab -> A10

Ncha -> A11

NPE -> A1

A12 -> koom ua ke + kos npe A9 -> koom ua ke -kos npe

Kauj Ruam 7: Cov xov hlau (cov xov hlau tsis pub dhau lub Breadboard)

A12 -> koom ua ke + kos npe

A9 -> aligned - kos npe

Kauj Ruam 8: Txoj Cai

create.arduino.cc/editor/joechou_090/8d19cefc-f481-4a4d-a2d9-85e233fcbc53/preview

Kauj Ruam 9: Kaw lub Sensor ntawm Lub Cev

Kaw lub Sensor ntawm Lub Cev
Kaw lub Sensor ntawm Lub Cev

Kauj Ruam 10: Muab Nws tso rau hauv lub Thawv/Cov Khoom Kawg

Muab tso rau hauv ib lub thawv/Cov Khoom Kawg
Muab tso rau hauv ib lub thawv/Cov Khoom Kawg
Muab tso rau hauv ib lub thawv/Cov Khoom Kawg
Muab tso rau hauv ib lub thawv/Cov Khoom Kawg

Link Video:

Pom zoo: