Cov txheej txheem:

Binary moos: 5 Cov kauj ruam (nrog Duab)
Binary moos: 5 Cov kauj ruam (nrog Duab)

Video: Binary moos: 5 Cov kauj ruam (nrog Duab)

Video: Binary moos: 5 Cov kauj ruam (nrog Duab)
Video: Yog hmoov dab tsi - Gao Nou Kue ft. Mang Vang (Official Music Video) New song 2020 2024, Lub Xya hli ntuj
Anonim
Binary moos
Binary moos
Binary moos
Binary moos
Binary moos
Binary moos

Nov yog qhov piv txwv yooj yim yuav ua li cas kom txias saib binary 24 teev. Liab LEDs qhia vib nas this, feeb LEDs ntsuab thiab teev LEDs daj.

Cov ntaub ntawv muaj plaub lub khawm los kho lub sijhawm. Lub moos ua haujlwm nrog 9 volts. Lub moos no yooj yim ua thiab cov nqi tsuas yog ob peb npib, yog li nws kuj pheej yig ua.

Kauj Ruam 1: Schematic thiab Tshooj

Schematic thiab Qhov Chaw
Schematic thiab Qhov Chaw

Kuv siv rooj plaub xim xiav, vim tias nws pheej yig thiab zoo rau kuv lub qhov muag. Qhov chaw:- Lub moos siv lead ua (Q1) 32.768 kHz. Kuv xav tias txoj hauv kev yooj yim tshaj plaws kom tau txais cov siv lead ua yog coj los ntawm lub moos phab ntsa qub.- 560pF, 22pF capacitors thiab ib qho 10M resistor- 1 x 4060 IC, uas yog 14 ntsis ripple txee. Nrog 32.768 KHz moos siv lead ua IC no muab 2Hz tawm los ntawm tus lej tus lej 3- 3 x 4024 IC Qhov no yog 7bit ripple counter- 2 x 4082 IC Dual 4-input THIAB gate- 1 x 2, 1mm plugin- 17 x coj Liab, daj, ntsuab lossis dab tsi uas koj nyiam- 17 x 470 Ohm resistors Kuv siv 9 Volt mov, yog li cov zis los ntawm tus pin yog qee yam ib puag ncig 9V. Raug rau pem hauv ntej rau cov LEDs no yog kwv yees li 2 Volts. Wb xav tau qhov tam sim no rau LED yog qee yam txog 0, 015 A = 15 mA, tom qab ntawd (9-2) V / 0, 015A = 466 Ohm -> 470 Ohm yog qhov loj me ntawm resistors. Tam sim no nws yog lub sijhawm los rub 4020 14-theem ripple txee cov ntaub ntawv thiab peb yuav pom tias, qhov tso tawm tam sim no yog 4mA =), tab sis nws txaus thiab ua haujlwm lawm.

Kauj ruam 2: Xeem

Kev Xeem
Kev Xeem

Nws yog qhov zoo dua los ntsuas qhov Circuit Court ntawm lub rooj ua mov ci ua ntej yuav ua qhov kawg. Thaum txhua yam ua haujlwm raws li nws yuav tsum yog, nws yog lub sijhawm pib pib siv. Ua cas nws ua haujlwm: 4060 yog 14-ntsis (/16, 384) ripple txee nrog oscillator sab hauv thiab nws muab nrog 32768 Hz siv lead ua 2Hz teeb liab ntawm qhov tso tawm zaum kawg Q14, uas yog tus lej tus lej 3. Tom qab ntawd 2Hz lub teeb liab mus rau 4024, uas tseem yog 7-ntsis (/128) ripple counter. With lub 2Hz moos nkag, tso tawm Q1 (/2) tus lej tus lej 12 yog qis ib thib ob thiab siab dua ib thib ob. Q2 (/4) tus lej pin 11 qis ob vib nas this thiab tom qab ntawd siab ob vib nas this. Q3 (/8) qis dua plaub vib nas this thiab tom qab ntawd siab plaub vib nas this. Thaum plaub qhov kawg (tus lej tseem ceeb tshaj 111100 = 60) mus rau 1, 4082 dual 4-input THIAB rooj vag tig nws cov zis rau 1. Signal mus rau rov pib dua tus pin thiab lub txee pib suav dua los ntawm xoom rau 60 thiab tib lub teeb liab mus rau qhov thib ob 4024 ripple counter clock input. Lub teeb liab no los rau lub moos nkag txhua 60s thiab nws ua haujlwm zoo ib yam tshaj li thawj lub ripple txee, tab sis nws suav feeb.

Kauj Ruam 3: Ua tiav

Kawg
Kawg
Kawg
Kawg
Kawg
Kawg

Tom ntej no peb laum qhov rau LEDs. Kuv cov LEDs yog 5mm yog li kuv siv 5mm laum. LED nyob ruaj hauv qhov ntawd thiab tsis xav tau kua nplaum. Kuv txiav lub rooj tsavxwm, yog li nws haum zoo rau hauv qab ntawm lub thawv.

Kuv tso cov xov hlau LED ntawm lub hom phiaj ntev, yog li cov LEDs yooj yim haum rau lawv qhov chaw raug.

Kauj ruam 4: Teem Sijhawm

Teeb Sijhawm
Teeb Sijhawm
Teem Sijhawm
Teem Sijhawm

Kuv drilled peb qhov rau sab laug ntawm lub npov rau lub sijhawm teeb tsa cov nyees khawm. Teev teev, feeb thiab vib nas this. Kuj tseem muaj ib lub pob ntawm lwm sab, uas yog teeb tsa.

Thaum kuv tso lub hwj chim ntsaws rau hauv LEDs pib ntsais muag. Tom qab ntawd kuv nias lub pob teeb tsa kom qis thiab khaws cia. Tib lub sijhawm kuv kho lub sijhawm kom zoo rau lub moos nrog lwm lub nyees khawm sab. Thaum lub sijhawm raug, nws yog lub sijhawm los tso lub pob teeb tsa.

Kauj Ruam 5: Yuav Ua Li Cas Nyeem Nws?

Binary moos yog ib qho yooj yim nyeem. Nws tsuas xav tau lej yooj yim me ntsis. Yog lawm, Yog tias peb xav teeb tsa 11:45:23 rau peb lub moos Nws yog qhov hloov pauv yooj yim binary rau zauv ntau dua zauv mus rau binary. Kuv sim piav qhia ob txoj hauv kev. Tus lej hauv paus yog 2 Ntawm no yog tus lej tseem ceeb: 1 2 4 8 16 32 64 128, … Peb tus lej lej yog 11 thiab peb tau hloov mus rau binary. Cia peb nrhiav tus lej me tshaj, uas tsawg dua peb tus lej los ntawm cov lej tus lej tseem ceeb. Nws yog 8, Cia peb txo tus lej ntawm peb tus lej 11-8 = 3. Nws mus rau peb tus naj npawb ib zaug yog li cia peb tso tus lej 1. Tam sim no peb tus lej yog 3 (11-8 = 3). Tam sim no peb yuav tsum suav tus lej uas nyob ib sab ntawm tus lej uas peb nyuam qhuav siv. Nws yog 8, yog li tom ntej yog 4. Cia peb ua tib yam, pes tsawg zaus 4 mus rau 3? xoom! Cia peb muab tus lej 0. Tom ntej no ntawm cov npe yog tom qab 4 yog 2. Muaj pes tsawg zaus 2 mus rau 3? ib zaug! Ok, tus lej 1 mus txog. Muaj ib tus lej tshuav thiab peb tus lej yog 3-2 = 1 thiab tus lej kawg ntawm daim ntawv ntawd yog 1 thiab nws mus rau 1 ib zaug thiab qhov ntawd tsis muaj tus lej ntxiv lawm. Vim tias nws mus rau ib zaug peb tus lej cim kawg yog 1. What peb muaj: 1011 Yog li tus lej 11 nrog plaub tus lej yog 1011, nrog tsib qhov 01011, rau cov khoom 001011, xya 0001011 thiab lwm yam. Txawm li cas los xij, nws yooj yim dua. Peb tus lej binary yog 1011. Thiab peb tus lej magiz =) yog 1 2 4 8 16, … Cia peb tso peb tus lej binary hauv qab tus lej magiz. Peb yuav tsum pib nyeem los ntawm tus lej tseem ceeb tsawg, yog li ntawd yog vim li cas suav los ntawm sab xis mus rau sab laug 8 4 2 1 1 0 1 1 Tam sim no peb yuav tsum suav nrog cov lej uas dhau ntawm txhua 1 tus lej. Muaj 1, 2 thiab 8, puas yog? 1+2+8 = 11 Cov lej rov qab yog 45 thiab 23.45 yog 10110123 yog 10111 nrog rau cov khoom nws yog 01011111: 45: 23 yog 01011: 101101: 010111 Yooj yim? =)

Pom zoo: