Cov txheej txheem:

THIAB LUB NEEJ !! (Sib tham sib tham rooj sib tham): 4 Kauj Ruam
THIAB LUB NEEJ !! (Sib tham sib tham rooj sib tham): 4 Kauj Ruam

Video: THIAB LUB NEEJ !! (Sib tham sib tham rooj sib tham): 4 Kauj Ruam

Video: THIAB LUB NEEJ !! (Sib tham sib tham rooj sib tham): 4 Kauj Ruam
Video: Saib Mis paub Poj niam (hluas nkauj) tus yam ntxwv lub siab 2024, Hlis ntuj nqeg
Anonim
Image
Image
THIAB LUB NEEJ !! (Sib tham sib Thruth Table)
THIAB LUB NEEJ !! (Sib tham sib Thruth Table)
THIAB LUB NEEJ !! (Sib tham sib Thruth Table)
THIAB LUB NEEJ !! (Sib tham sib Thruth Table)

Hav guys, Kuv vam tias koj txhua tus nyob hauv koj lub tsev thiab xav tsis thoob dab tsi ntawm cov ntaub ntawv muaj?

Tsis txhob txhawj xeeb tsab xov xwm no yuav pab koj tau los ntawm kev tsim ib qho yooj yim Circuit Court !!

Nkag siab cov rooj vag logic yog qhov tseem ceeb heev rau ob tus tub ntxhais kawm ntawv siv hluav taws xob thiab nrog rau cov tub ntxhais kawm computer science, hmoov tsis zoo muaj tsawg qhov kev sim ua tau zoo (lub qhov rooj logic nyoos) uas koj tuaj yeem sim ntawm lub rooj logic !! ?? Yog li, vim li no cia peb tsim ib qho los ntawm kos thiab feem ntau ntawm cov khoom siv tuaj yeem rov ua dua los ntawm cov khoom siv hluav taws xob qub !!

NCO TSEG: Kuv yuav tsis siv lub transistor, yog li tsis txhob khiav mus, nws yooj yim haum rau ua. Yog leej twg nrog cov txuj ci hluav taws xob yooj yim tuaj yeem tsim hluav taws xob hauv ib teev !! Yog tias koj muaj teeb meem hauv kev nkag siab qhov no, ua tibzoo saib daim vis dis aus !!!

Khoom siv

Lub hauv paus tseem ceeb ntawm cov hluav taws xob yog:

  • DIODES (IN 4007) x5
  • Jumper Hloov x5 (raws li kuv tau hais ua ntej nws tuaj yeem rov ua dua, kuj koj tuaj yeem siv ib qho kev hloov pauv uas koj xaiv)
  • LED x 3
  • Npib xov tooj ntawm tes thiab 3V xov tooj / 9V roj teeb txuas (yog tias koj siv 9V roj teeb nco ntsoov siv lub resistor kuj (1k ohm, yuav tsum ua tau zoo))
  • Breadboard / Prototyping Board / Breakout Board (xaiv yog koj li)
  • Cov Khoom Siv Hluav Taws Xob

Kauj Ruam 1: Me ntsis ntawm Txoj Kev Xav

Lub qhov rooj Logic yog dab tsi ??

Lub rooj logic yog lub tshuab hluav taws xob uas xa rov qab tus nqi boolean (zoo li qhov tseeb lossis tsis tseeb) raws li qhov xwm txheej muab lossis tus nqi !!

Nco ntsoov tias qhov Logic Gate raug raug rov qab tsuas yog tso tawm ib zaug xwb !!

Vim li cas peb thiaj siv lub qhov rooj logic !! ??

Lub qhov rooj logic yog daim ntawv tseem ceeb ntawm tus tswj hwm micro lossis ntau dua qhov kev txiav txim siab ua tsob ntoo !! Uas yog lub tswv yim txias lub tswv yim (zoo li yog-lwm nqe lus). Yog li cov txiaj ntsig tuaj yeem tshwm sim los ntawm ntau qhov xwm txheej, qhov no qhib tag nrho cov ntsiab lus tshiab xws li tus lej nkag, tus txiav suab, tus lej rho tawm, tus sib piv thiab ntau ntxiv !! Hauv lub ntiaj teb piv txwv tiag qhov rooj logic no tuaj yeem zoo ib yam los yog tsis muaj lus nug tsis tseem ceeb

Kauj Ruam 2: Tsim Lub Qhov Rooj THIAB

Tsim Lub Rooj Vag THIAB
Tsim Lub Rooj Vag THIAB
Tsim Lub Rooj Vag THIAB
Tsim Lub Rooj Vag THIAB
Tsim Lub Rooj Vag THIAB
Tsim Lub Rooj Vag THIAB
Lub Tsev THIAB Rooj vag
Lub Tsev THIAB Rooj vag

THIAB rooj vag: Txhawm rau tsim lub rooj vag THIAB:

peb yuav xav tau lub zog siv hluav taws xob, x2 diodes, x2 hloov pauv uas ua haujlwm raws li cov tswv yim thiab LED los qhia qhov tso tawm !!

[NCO TSEG: koj tseem tuaj yeem tsim qhov no ntawm daim ntawv qhia zaub mov kom koj xis nyob]

Nov yog li cas lub Circuit Court tau tsim:

Nws yog ib qho tshwm sim rau yav tom ntej tsis ncaj ncees diode uas txuas nrog kev hloov pauv ntawm ib qho ntawm nws lub davhlau ya nyob twg thiab LED ntawm lwm lub davhlau ya nyob twg !! Tom ntej ob lub diode thib ob tau txuas rau hauv kev rov qab tsis zoo nrog kev hwm rau LED thiab tseem hloov pauv thib ob txuas nrog ntawm lub zog siv lossis txuas LED !!

Tsis txhob txhawj xeeb xa daim duab qhia chaw koj yuav nkag siab !!

Nws ua haujlwm li cas

Thaum qhov kev tsis ncaj ncees rau pem hauv ntej yog hloov pauv lossis ua haujlwm yog nyob rau hauv HIGH lub xeev cov diode yuav nyob rau hauv pem hauv ntej kev tsis txaus siab thiab tom qab ntawd teeb lub LED thaum nws nyob hauv LOW xeev lub diode muaj qhov tsis muaj zog tiv thaiv thiab yog li tsis ua !! Qhov yooj yim nws yog !!

Nws yog lub qhov rooj yooj yim uas siv cov txheej txheem THIAB ua haujlwm ntawm qhov muab cov lus qhia hauv binary, xyaum ua THIAB lub rooj vag tuaj yeem yog ON yog tias ob qho tib si cov lus nkag siab yog HIGH thiab OFF yog ib qho ntawm cov tswv yim LOW !!

Piv txwv lub neej tiag yog:

Txiav txim siab huab cua mus kawm hauv tsev kawm qib siab lossis koom nrog phooj ywg lub rooj sib tham !! Koj tsis tuaj yeem nyob ntawm ob qhov chaw ntawm lub sijhawm muab !!

Kauj Ruam 3: Lub Tsev LOS YOG Rooj Vag

Lub Tsev LOS YOG Rooj vag
Lub Tsev LOS YOG Rooj vag
Lub Tsev LOS YOG Rooj vag
Lub Tsev LOS YOG Rooj vag
Lub Tsev LOS YOG Rooj vag
Lub Tsev LOS YOG Rooj vag

LOS YOG Rooj vag:

Txhawm rau tsim LOS YOG Rooj vag:

Peb yuav xav tau lub zog siv hluav taws xob, x2 diodes, x2 hloov pauv uas ua haujlwm raws li cov tswv yim thiab LED los qhia qhov tso tawm !!

Yuav tsim lub Circuit Court li cas:

Thaum xub thawj 2 diodes tau txuas nrog rau +ve qhov chaw tom qab txhua qhov kawg ntawm cov diode txuas nrog kev hloov pauv thiab tom qab ntawd LED tau txuas nrog !!

Tsis txhob txhawj xeeb xa daim duab qhia chaw koj yuav nkag siab !!

Nws ua haujlwm li cas:

Thaum mus rau qhov tsis ncaj ncees yog toggled rau lossis xyaum nws yog nyob rau hauv HIGH xeev lub diode yuav nyob rau hauv pem hauv ntej kev tsis txaus siab thiab tom qab ntawd tso cov LED, thaum nws nyob hauv LOW xeev lub diode muaj qhov tsis muaj zog tiv thaiv thiab yog li tsis ua !! hauv nws txoj kev ib txwm muaj, lub voj voog tuaj yeem hloov pauv ntawm tus kheej !!

LOSSIS lub qhov rooj yog qhov yooj yim logic qhov rooj ua qhov laj thawj lossis ua haujlwm thiab tseem nyob yog tias ib qho ntawm cov tswv yim yog HIGH thiab tseem nyob yog tias ob qho tib si INPUTS LOW !!

Piv Txwv Lub Neej Tiag:

Thaum koj tab tom txiav txim siab yuav noj dab tsi nyob rau yav tsaus ntuj huab cua kom muaj pizza lossis burger !! Tab sis koj tseem tuaj yeem muaj ob qho tib lub sijhawm !!

Kauj Ruam 4: Thaum kawg TSIS TXAUS SIAB

Thaum kawg lub NOT Gate
Thaum kawg lub NOT Gate
Thaum kawg lub NOT Gate
Thaum kawg lub NOT Gate
Thaum kawg lub NOT Gate
Thaum kawg lub NOT Gate

Tsis rooj:

Txhawm rau tsim lub NOT Gate:

Peb yuav xav tau lub zog siv hluav taws xob, diode, LED ua qhov tso tawm thiab hloov pauv raws li INPUT!

Yuav tsim lub Circuit Court li cas:

Ua ntej peb pib txuas lub diode nyob rau pem hauv ntej muaj kev cuam tshuam nrog LED txuas nrog nyob rau qhov kawg ntawm lub davhlau ya nyob twg tom qab hloov pauv tau qhia tawm ntawm -v davhlau ya nyob twg ntawm Diode thiab +ve davhlau ya nyob twg ntawm LED, txoj kev no peb tab tom tsim rov qab rau hauv av txoj hauv kev no koj tsis yog luv luv Circuit Court thiab yog li tiv thaiv qhov tsis xav tau lub zog poob !!

Tsis txhob txhawj xeeb xa daim duab qhia chaw koj yuav nkag siab !!

Nws ua haujlwm li cas:

Thaum lub voj voog nyob hauv LOW lub xeev txhais tau tias qhov hloov pauv tsis hloov pauv (HIGH STATE), lub Circuit Court tseem muaj peev xwm ua tau, vim tias tsis muaj kev cuam tshuam ntawm txoj hauv kev !! Tab sis thaum lub voj voos nyob hauv HIGH xeev uas yog qhov hloov pauv rau (HIGH xeev) tom qab ntawd tsim kom muaj qhov rov qab mus rau hauv av uas yooj yim diverges qhov tam sim no uas ntws mus rau hauv LED tam sim no ntws mus rau hauv av hauv ib qho tshiab channel, yog li LED tsis pom kev !!

Pom zoo: