Cov txheej txheem:

Hloov kho Neeg Hlau FLR D2-2: 5 Cov Kauj Ruam (nrog Duab)
Hloov kho Neeg Hlau FLR D2-2: 5 Cov Kauj Ruam (nrog Duab)

Video: Hloov kho Neeg Hlau FLR D2-2: 5 Cov Kauj Ruam (nrog Duab)

Video: Hloov kho Neeg Hlau FLR D2-2: 5 Cov Kauj Ruam (nrog Duab)
Video: 20 MOMENTS YOU WOULDN'T BELIEVE IF NOT FILMED 2024, Hlis ntuj nqeg
Anonim
Hloov kho tus Neeg Hlau FLR D2-2
Hloov kho tus Neeg Hlau FLR D2-2

Kuv xav rov tsim dua tus neeg hlau D2-2 uas yog qhov pheej yig tiag tiag (saib piv txwv Banggood). Μcontroller muab yog AT89C2051, thiab kuv tsis muaj IDE, tus programmer thiab sijhawm kawm, yog li kuv txiav txim siab tshem AT89C2051 thiab sim siv PIC.

Kuv tau xaiv 16F690 vim tias kuv muaj ntau tab sis koj tuaj yeem sim nrog lwm tus tsuav nws muaj daim duab tib tus lej (piv txwv li 16F1507 zoo).

Nws yog ib qho yooj yim heev thiab yooj yim ua! Koj tsuas xav tau lub microcontroller (thiab PICKit).

Kauj Ruam 1: Nkag Siab Schematic

Nkag siab txog Schematic
Nkag siab txog Schematic

Lub hauv paus ntsiab lus yog qhov yooj yim heev: muaj 2 lub tswv yim: 2 lub photodetectors txuas nrog rau ob chav sib piv. Muaj 4 qhov tso tawm: 2 lub cav thiab 2 LEDS.

Qhov kev zov me nyuam kuj yooj yim heev: Yog tias tus kws yees duab pom ib feem dawb ces lub cav sib txuas yog ON.

Ntawm qhov schematic XTAL Y1 ploj lawm. Nws nyob nruab nrab ntawm tus pin 4 thiab 5 ntawm AT89C2051.

Kauj Ruam 2: Txhim Kho PIC16F690 Qhov (Socket)

Txhim kho PIC16F690 Qhov (Socket)
Txhim kho PIC16F690 Qhov (Socket)

Koj yuav tsum tau muab cov khoom siv sib dhos yam tsis muaj cov hauv qab no:

R1 thiab C4: nws yog qhov rov pib dua

C6, C7 thiab Y1: nws yog oscillator

Cov kev hloov kho hauv qab no yuav tsum ua kom zoo:

R10 yuav tsum txuas nrog tus pin tsis zoo ntawm C4

20 tus pin IC lub qhov (socket) yuav tsum tau muab thim rov qab, tus pin 1 yog mus rau nruab nrab ntawm tus neeg hlau.

Tus pin 1 ntawm 16F690 (cim ua P3.7) yuav tsum tau muab txuas nrog Vcc tom ntej.

Kauj Ruam 3: Cov txiaj ntsig

Cov txiaj ntsig
Cov txiaj ntsig
Cov txiaj ntsig
Cov txiaj ntsig

Nco tseg li cas R10 tau teeb tsa.

Kauj Ruam 4: Txuas rau PICKit 2 lossis 3

Txuas rau PICKit 2 lossis 3
Txuas rau PICKit 2 lossis 3
Txuas rau PICKit 2 lossis 3
Txuas rau PICKit 2 lossis 3

Kom yooj yim txuas PICKit, Kuv tab tom siv 5 Tus Txiv Neej Rau Txiv Neej Jumper Cable Dupont Hlau.

Lawv tau muag raws li cov cai xim.

Thawj cov xaim (cov xaim xim av yuav tsum tau muab hloov pauv ntawm R10 tus pin.

Kev sib txuas rau PICKit tau ua tiav raws li xim xim…

Kauj Ruam 5: Xaus

Qhov hack me me yog qhov yooj yim heev thiab ua haujlwm tam sim!

Cov ntaub ntawv Excel muab muaj cov npe ntawm cov lus qhia, sau npe thiab tus pin tawm ntawm 16F690.

Nov yog qhov tshwm sim ntawm qhov programmed neeg hlau hauv Youtube.

Tab sis tam sim no koj tuaj yeem tsim phiaj xwm neeg hlau ntse dua …

Pom zoo: