Cov txheej txheem:

FUN STUN GUN!: 3 Cov kauj ruam
FUN STUN GUN!: 3 Cov kauj ruam

Video: FUN STUN GUN!: 3 Cov kauj ruam

Video: FUN STUN GUN!: 3 Cov kauj ruam
Video: Zoook Moto69 Rechargeable Self Defence Powerful 3 In 1 Torch UNBOXING/REVIEW 2024, Hlis ntuj nqeg
Anonim
Image
Image

Cia peb pib nrog cov vis dis aus lom zem (nrog nkauj lom zem)

Kauj ruam 1:

Duab
Duab
Duab
Duab

Nyob zoo! Kuv tau ua qhov phom cuav no uas simulates lub teeb thiab lub suab ua kom tawg.

Sab hauv lub cuab yeej muaj PIC microncontroler (12F629) uas tsim ob lub cim.

Ib ntawm lawv yog 20 Hz / 50% DUTY square yoj kom ua ntsais muag ob Leds ib txhij.

Lwm lub teeb liab yog 20 Hz / 5% DUTY uas ua rau lub qhov rooj ntawm MOSFET transistor.

Hauv qhov no txoj kev luv luv ntawm qhov tam sim no raug xa mus rau tus hais lus ua rau nws zoo li taser. Kuv tsim cov ntaub ntawv yooj yim hauv TinkerCAD thiab luam tawm qee tus stikers kom muab nws zoo nkauj.

Kauj ruam 2: Circuit Court

Qhov Circuit
Qhov Circuit
Qhov Circuit
Qhov Circuit

7805 muab 5V rau lub microcontroler.

Lub microcontroler ncaj qha tsav ob lub LEDs.

R4 yog rub tawm tus tiv thaiv txuas nrog GPIO4 tus pin (GPIO4 yog tus pin tau teeb tsa rau 5V los ntawm software). Qhov rub tawm tus tiv thaiv no tso rau qib siab hauv tus lej nkag thaum lub khawm tsis nias.

Thaum nias lub pob nyem, lub microcontroller tsim 20 Hz square nthwv dej hauv GP0, GP2, thiab GP5 tus pin tso zis. Raws li kuv tau piav qhia hauv cov lus qhia: Cov nthwv dej ntawm tus pin GP5 muaj 5% DUTY CYCLE thiab cov nthwv dej ntawm pins GP0 thiab GP2 muaj 50% DUTY CYCLE.

Kuv txiav txim siab siv 5% rau tus neeg hais lus teeb liab lub luag haujlwm vim kuv xav tias nws yog qhov uas ua rau muaj suab zoo dua

Rau ntim ntau dua, peb tuaj yeem siv tus hais lus loj dua lossis siv lub roj teeb uas muaj hluav taws xob ntau dua.

Kauj Ruam 3: PCB, Case thiab Sticker Design …

Pom zoo: