Cov txheej txheem:

Siv Circuit Court los ntsuas Digital Gate Voltages: 7 Kauj Ruam
Siv Circuit Court los ntsuas Digital Gate Voltages: 7 Kauj Ruam

Video: Siv Circuit Court los ntsuas Digital Gate Voltages: 7 Kauj Ruam

Video: Siv Circuit Court los ntsuas Digital Gate Voltages: 7 Kauj Ruam
Video: Hlub yus tshaj tsuas yus txij nkawm pt2 10/7/2018 2024, Kaum ib hlis
Anonim
Siv Circuit Court los ntsuas Digital Gate Voltages
Siv Circuit Court los ntsuas Digital Gate Voltages

Cov xov tooj digital feem ntau siv 5 volt cov khoom siv.

Cov hluav taws xob hluav taws xob uas yog los ntawm 5v -2.7 volts hauv TTL series (ib hom digital digital chip) tau txiav txim siab thiab muaj nuj nqis ntawm 1.

Digital voltages daim ntawv 0-0.5 tau txiav txim siab qis thiab muaj tus nqi xoom.

Hauv qhov kev sib tham no, Kuv yuav siv qhov yooj yim pheej yig thawb khawm kom pom cov xeev no (siab lossis qis).

Yog tias qhov hluav taws xob siab lossis 1, LED yuav ci.

Yog tias qhov hluav taws xob qis lossis 0 LED yuav tsis pom kev.

Kauj ruam 1: Pushbutton Hloov

Pushbutton Hloov
Pushbutton Hloov

Lub laub khawm hloov yog lub tshuab me me uas ua tiav qhov Circuit Court thaum nias. Hauv qhov Circuit no thaum lub laub khawm tau nias thiab qhov hluav taws xob zoo tau siv LED yuav ci.

Yog tias lub laub khawm tau nias thiab qhov hluav taws xob qis lossis ze rau xoom LED yuav tsis pom kev

Kauj ruam 2: NAND Rooj vag

74HC00 yog plaub lub qhov rooj NAND. Nws muaj 2 lub tswv yim rau txhua lub qhov rooj thiab 1 qhov tso tawm rau txhua lub qhov rooj.

Kauj Ruam 3: Cov Khoom Siv

Cov Khoom Siv
Cov Khoom Siv

Cov khoom siv hauv txoj haujlwm no yog;

Arduino Ib

1 lub khawm hloov

1 74HC00, quad NAND

3 1000 ohm (xim av, dub, liab) resistors

1 LED

xov hlau

Kauj Ruam 4: Kev Ua Haujlwm thiab Kev Tsim Kho ntawm Circuit

Kev ua haujlwm thiab kev tsim kho ntawm Circuit
Kev ua haujlwm thiab kev tsim kho ntawm Circuit
Kev ua haujlwm thiab kev tsim kho ntawm Circuit
Kev ua haujlwm thiab kev tsim kho ntawm Circuit

Thawj zaug nws tau muab tso ua ke.

Muab NAND 74HC nti tso rau ntawm lub rooj tsavxwm.

Tom qab ntawd ntawm lwm lub rooj tsavxwm muab lub laub khawm rau ntawd.

Txuas lub 1000 ohm resistor rau hauv av thiab khawm laub.

Muab lwm 2 resistor (1000 ohms) thiab LED raws li qhia hauv daim duab.

Txuas ib lub xov hlau rau hauv av thiab cov cathode coj mus rau LED.

Txuas hauv av rau txhua lub rooj tsavxwm nrog xaim.

Txuas 5 volt ntawm Arduino rau lub rooj tsavxwm raws li qhia hauv daim duab thiab hauv av raws li qhia hauv daim duab.

Yuav muaj dab tsi tshwm sim;

Ua ntej saib ntawm rooj rooj rooj logic.

Nws qhia NAND qhov rooj nkag thiab tawm tswv yim.

Yog tias cov tswv yim yog xoom zoo li qhov xwm txheej no.

Koj yuav tsis muaj xov hlau mus rau tus pin 1 thiab 2.

Qhov kev cia siab yuav yog 1 lossis siab dua. Tom qab ntawd LED yuav ci thaum lub

laub khawm raug thawb.

Yog tias cov xaim hluav taws xob xaim tsim lub laub khawm tau muab tso rau ntawm tus pin 1. Thaum lub laub khawm tau nias lub LED yuav tsis pom kev

vim qhov voltage yog xoom.

Txoj hauv kev no, los ntawm kev siv lub rooj logic rooj rooj qhov tseeb peb tuaj yeem kwv yees tias cov txiaj ntsig yuav yog nrog qee qhov kev nkag mus.

Kauj Ruam 5: NAND Rooj Vag Nrog Kev Nkag Mus; tus pin1 Txuas nrog Lub Laub Khawm

NAND Rooj vag Nrog Kev Nkag Mus; tus pin1 Txuas nrog Lub Laub Khawm
NAND Rooj vag Nrog Kev Nkag Mus; tus pin1 Txuas nrog Lub Laub Khawm

Hauv daim duab no, koj tuaj yeem pom tias cov xaim xaim xaim los ntawm lub laub khawm tau muab tso rau ntawm tus pin 1 (nkag) rau NAND rooj vag.

Nws muaj xoom hluav taws xob ntawm lub tswv yim. Thaum nias lub pob nyem LED yuav tsis pom kev vim qhov hluav taws xob yog xoom.

Kauj Ruam 6: Lwm Hom Rooj vag

Qhov kev sib tham yooj yim no tuaj yeem siv los tshuaj xyuas lwm lub rooj vag (THIAB, LOS YOG thiab lwm yam).

Yog koj saib ntawm lub rooj rau lub rooj vag. Koj tuaj yeem kwv yees cov txiaj ntsig.

Piv txwv li, yog tias siv lub rooj vag THIAB cov khoom siv tau xoom volts (0), qis thiab 5volts (1) siab

cov zis yuav xoom.

Cov rooj ntawm cov rooj sib txuas ua ke kuj tseem tuaj yeem tshuaj xyuas los ntawm kev siv cov lus tseeb.

Kauj Ruam 7: Xaus

Xaus
Xaus

Qhov yooj yim khawm khawm no tuaj yeem siv los ntsuas thiab txheeb xyuas cov rooj vag thiab cov xov tooj cua.

Nws yog qhov tsim nyog kom paub cov lus tseeb ntawm lub qhov rooj los kwv yees cov txiaj ntsig, siab (5 volts lossis ze rau nws) lossis

qis (0 nrog zeros volts).

Lub voj voog no tau sim ntawm Arduino thiab nws ua haujlwm.

Kuv kuj tau siv nws ntawm lwm qhov kev sib txuas nrog Arduino.

Nws raug pom zoo kom siv tsuas yog nrog 5 volt circuits thiab tsis muaj txiaj ntsig siab dua qhov no.

Kuv vam tias Phau Ntawv Qhia no pab koj kom nkag siab cov rooj vag digital, yuav tshuaj xyuas lawv li cas thiab ntsuas qhov twg

voltages xav tau los ntawm lub laub khawm Circuit Court, Ua tsaug

Pom zoo: