Cov txheej txheem:

Tsim kom muaj Binary LED Kho Kom Zoo Nkauj Lub Plawv (Blinkenheart): 6 Cov Kauj Ruam
Tsim kom muaj Binary LED Kho Kom Zoo Nkauj Lub Plawv (Blinkenheart): 6 Cov Kauj Ruam

Video: Tsim kom muaj Binary LED Kho Kom Zoo Nkauj Lub Plawv (Blinkenheart): 6 Cov Kauj Ruam

Video: Tsim kom muaj Binary LED Kho Kom Zoo Nkauj Lub Plawv (Blinkenheart): 6 Cov Kauj Ruam
Video: Нким зог ту 28.06.2018 2024, Hlis ntuj nqeg
Anonim
Tsim kom muaj Binary LED Kho Kom Zoo Nkauj Lub Plawv (Blinkenheart)
Tsim kom muaj Binary LED Kho Kom Zoo Nkauj Lub Plawv (Blinkenheart)

Nov yog kuv thawj qhov kev qhia, yog li twv yuav raug hu xa kuv cov lus qhia. Yog tias kuv tuaj yeem ua cov phiaj xwm uas tsis txaus ntshai, kuv yuav ntxiv nws ntawm no.

Kuv nyuam qhuav pib kawm qee yam khoom siv hluav taws xob yooj yim thiab ib tus phooj ywg xav tau qee yam tshwj xeeb rau nws tus fiance rau hnub Valentine. Lub sijhawm zoo meej! Yog li, kuv tau tsim cov npe ntu, tos kom lawv tuaj txog, thiab pib tsim. Chav tsev muaj 32 LEDs liab, 555 lub sijhawm teem Circuit Court thiab lub txee binary, nrog rau pawg ntawm cov khoom txhawb nqa thiab qee qhov muaj tswv yim thaiv. Nov yog kuv thawj qhov haujlwm hluav taws xob loj thiab kuv yeej tau kawm ntau yam los ntawm nws. Yog lawm, yog tias kuv twb paub txhua yam uas kuv tau kawm lawm, kuv yuav tsis muaj lub siab xav pib nws … Nws coj kuv mus ntev tshaj qhov kuv xav tau, tab sis kuv tsis khuv xim ua nws. Yog tias kuv muaj ib qho laj thawj los ua qhov no ntawm qhov loj dua, Kuv tau xav tiag tiag txog cov phiaj xwm phiaj xwm ua ntej. Qhov kawg tshwm sim yog ib qho ntawm 32 LEDs uas tsim lub plawv, ib qho los ntawm daim, thiab cia siab tias yuav ua kom zoo nkauj kho kom zoo nkauj desktop.

Kauj Ruam 1: Daim Ntawv Teev Npe

Daim Ntawv Teev Npe
Daim Ntawv Teev Npe

Thawj kauj ruam rau kuv yog ua qauv me me ntawm qhov haujlwm ntawm lub khob cij. Kuv siv lub laij lej online ntawm https://freespace.virgin.net/matt.waite/resource/handy/pinouts/555/index.htm txhawm rau txiav txim siab qhov txiaj ntsig rau kuv lub sijhawm thiab siv Ohm txoj cai los txiav txim siab qhov resistors kuv xav tau li cas lub roj teeb tsis ntws nrawm lossis hlawv kuv cov LEDs Kuv yuav yuav luag txhua yam los ntawm Mouser (toggle hloov yog los ntawm Xov Tooj Cua), yog li kuv muaj txhua tus lej naj npawb muaj, yog leej twg xav tau, kuv yuav tso lawv rau ntawm no, tab sis lawv yuav tsum muaj nyob txhua qhov chaw. Cov neeg tawm tsam hauv Tshooj Lus yog ib nrab rau qhov txwv tam sim no thiab ib nrab kom yooj yim. Tej zaum kuv yuav ploj mus yog tias kuv yuav tsum tau txiav thiab hle cov xov hlau ntau. Koj tus kheej nyiam thiab tsis yuav ib pob ntawm 7 DIP hloov pauv thiab yam uas koj yuav tau ntse thiab txiav lawv ua tej daim thiab khaws cia 4 tus kheej hloov cov khoom los ntawm lawv … Yuav ib qho toggle lossis latching pushbutton hloov thiab kom deb ntawm cov plaub hau grey thiab ntxov ntxov. txog kev lag luam tus nqi nyiaj ntsuab ntawm cov khoom noj ceev ceev rau nws.:), npog daim kab xev, daim kab xev nplaum, lossis koj nyiam cov nplaum uas tsis cuam tshuamMassive ntau lub sijhawm dawb thiab ua siab ntev- Plaftorm: 1x tus qauv 0.100 pre-drilled protoboard- Timer/trigger section: 1x 555 timer chip1x 0.01 uF ceramic capacitor2 1 1 Ohm 1/4 W resistor1x 470 uF electrolytic capacitor- Binary counter seem: 1x SN74HC590AN lossis zoo ib yam binary counter- Zaub: 32x liab frosted LEDs, T1 3/4 (5mm) size8x 2N3904 NPN transistor lossis zoo sib xws me-teeb liab transistor8x 56 Ohm 1/2 W resistor8x 82 Ohm 1 /2 W resistor- Lub zog: 1x 4 AAA roj teeb yas dhos 1x100 uF electrolytic capacitor1x PCB toggle hloov lossis laub khawm

Kauj Ruam 2: Tsab Ntawv 555 thiab Binary Counter Stages

Tsab ntawv 555 thiab Binary Counter Stages
Tsab ntawv 555 thiab Binary Counter Stages
Tsab ntawv 555 thiab Binary Counter Stages
Tsab ntawv 555 thiab Binary Counter Stages
Tsab ntawv 555 thiab Binary Counter Stages
Tsab ntawv 555 thiab Binary Counter Stages

Kuv tau txheeb xyuas cov ntaub ntawv teev tseg rau ob qho ntawm kuv daim tawv nqaij thiab tom qab ntawd teeb tsa txoj kab hluav taws xob ntsuas qhov ntsuas, tsuas yog kom ntseeg tau tias kuv tau ua qee yam raug. Cov txiaj ntsig kuv tau xaiv ua rau 555 ua rau me ntsis ntau dua li ib zaug ib pliag. Qhov no yuav tsum ua rau lub txee binary sau thiab hla txog txhua 4 feeb.555 pinout (suav rov qab rau lub moos, pib ntawm sab saud wrt dimple lossis tus yuam sij): tus pin 1: Hauv av / Earthpin 2: Triggerpin 3: Outpinpin 4: Resetpin 5: Controlpin 6: Threshholdpin 7: Dispinpin 8: Vcc (Supply Voltage) Txuas 1K resistor ntawm tus pin 8 thiab 7 thiab lwm qhov ntawm 7 thiab 6. Txuas 470 uF electrolytic ntawm tus pin 1 thiab 2, ua kom ntseeg tau tias qhov tsis zoo txuas nrog rau hauv av / Ntiaj Teb (pin 1). Txuas 0.01 uF ntawm av thiab tus pin 5 (Tswj). Txuas ib qho khoom seem LED rau tus pin 3, txuas lub roj teeb zoo ua rau tus pin 8 thiab lub roj teeb tsis zoo rau tus pin 1. Txuas tus pin 8 rau tus pin 4 thiab tom qab ntawd tus pin rau tus pin 2. tias LED ntsais txog qhov nrawm raws li koj xav tias nws yuav tsum. Qhov mem tes no yuav raug siv los ua kom peb lub txee binary nyob rau theem tom ntej. Cov vis dis aus qhia tau zoo heev li cas binary counter yog ntug tshwm sim.https://ourworld.compuserve.com/homepages/Bill_Bowden/555.htm muaj cov lus piav qhia zoo ntawm cov pins sib txawv thiab lawv cov haujlwm. Thaum 555 ua haujlwm rau koj txaus siab, ntxiv binary counter theem. Cov mem tes tso tawm los ntawm tus pin 3 ntawm 555 nti yuav txuas rau tus pin 11 ntawm cov nti no kom nce lub txee. Koj yuav xav sab laj cov ntawv teev tseg rau koj cov nti tshwj xeeb, tab sis rau qhov no, SN74HC590AN, Kuv yuav tsum txuas lub moos txee thiab teev npe ua ke. Muaj ntau txoj hauv kev los siv cov nti no uas cuam tshuam nrog kev hloov pauv sab hauv tab sis tsis suav nrog suav, uas yog qhov nthuav los ntawm kev xam xam, tab sis tsis cuam tshuam nrog txoj haujlwm no. Pin 12 (inverted suav pab) thiab tus pin 14 (inverted tso zis pab kom) tau ob qho tib si khi rau hauv av, thaum tus pin 10 (inverted master reset/ moos meej) tau txuas nrog kev muab. Tsis txhob tso qhov txuas txuas ntev, vim peb tsis t muaj ib qho tam sim no txwv cov resistors nyob rau hauv qhov chaw. Qhov ntawd, thiab koj yuav xav mus rau cov kauj ruam tom ntej!

Kauj Ruam 3: Ua Rough Layout of Component Placement

Ua Rough Layout ntawm Component Placement
Ua Rough Layout ntawm Component Placement
Ua Rough Layout ntawm Component Placement
Ua Rough Layout ntawm Component Placement

Ua ntej kuv pib ua ib yam dab tsi, Kuv tso cov LEDs rau ntawm daim phiaj thaiv tsuas yog kom paub tseeb tias kuv tsis vwm thiab 32 LEDs yuav haum rau ntawm lub rooj tsavxwm hauv tus qauv zoo. Kuv txiav txim siab tias qhov ua tsis zoo yuav zoo tshaj plaws sab nraud, yog li kuv tuaj yeem txuas lawv ua ke tau yooj yim, tsim cov cathode ib txwm rau kuv cov zaub. Kuv tsis xav tias nws yuav ua haujlwm tau zoo heev yog tias kuv tau ua qhov tsis zoo coj los ze rau sab hauv ntawm lub cuab yeej.

Kuv tsis paub meej tias qhov kev tswj hwm Circuit Court yuav haum, txij li kuv xav tias 32 LEDs ntau heev, tab sis txhua yam ua haujlwm. Cov thaiv, raws li koj yuav pom tom qab, ua pov thawj tias yog lub sijhawm siv sijhawm ntau tshaj plaws ntawm txoj haujlwm.

Kauj Ruam 4: Tso 555, Binary Counter thiab Transistors

Qhov chaw 555, Binary Counter thiab Transistors
Qhov chaw 555, Binary Counter thiab Transistors
Qhov chaw 555, Binary Counter thiab Transistors
Qhov chaw 555, Binary Counter thiab Transistors
Qhov chaw 555, Binary Counter thiab Transistors
Qhov chaw 555, Binary Counter thiab Transistors

Nov yog qhov uas daim ntawv kab xev lossis lwm yam nplaum tuaj yeem ua ke. Thaum koj tau tso koj lub Cheebtsam, kaw lawv mus rau lub protoboard thiab ntxeev nws mus rau cov khoom sib xyaw ua ke. Muaj lub tswv yim meej ntawm yam koj xav kom koj teeb tsa yuav pab tau, lossis koj tuaj yeem zoo li kuv thiab tis nws, thov kom txhua yam yuav haum.

Kuv khoov txoj hauv kev ntawm ob qho tib si ua kom yaug nrog cov protoboard raws li kuv tuaj yeem ua rau lawv. Yog tias koj xav ua kom ntse dua txog kev tsim dua li kuv yog, koj tuaj yeem siv lub qhov rau cov chips, tab sis kev tsim kho yuav tsum tau hloov pauv yog tias koj xav tau nkag tau yooj yim los hloov cov chips yog tias lawv ua tsis tau. Cov xov hlau dawb hauv daim duab yog qhov tso tawm (555, sab laug) thiab txhais (lub txee, sab xis). Yog tias kuv tau npaj ua ntej me ntsis ntxiv, lawv yuav yog ib qho xaim. Tom qab ob qho tib si ntawm cov chips nyob hauv qhov chaw, ntxiv cov kev txwv tam sim no rau cov binary txee. Cov no tsis yog qhov tsim nyog thev naus laus zis, tab sis kuv yeej txaus siab tias muaj cov xov hlau ruaj khov uas kuv tsis tas yuav txiav lossis hle. Koj yuav xav kaw cov ntawv no ib yam. Hauv qhov muaj txiaj ntsig txav mus los, Kuv tau hloov qhov kawg tso tus pin hla lub rooj tsavxwm kom kuv tuaj yeem muaj kev cia siab ntawm kev tau txais cov transistors kom haum. Thaum lawv tau muab tso rau, kaw lawv thiab muab lawv txuas rau tus pin ntawm lub txee thiab lub hauv paus ntawm lawv cov khoom sib txuas. Tsis txhob siv cua sov ntau dhau ntev lossis koj yuav kib cov nti, transistor, lossis ob qho tib si. Tom qab thawj txheej ntawm cov resistors txuas nrog, ntxiv txheej thib ob, kab xev, kab laug sab. Cov no yuav txuas nrog cov neeg sau khoom ntawm transistors thiab muab lub zog feem ntau rau peb cov LEDs. 56 Ohm resistors los ntawm lub txee binary yuav txuas nrog lub hauv paus ntawm cov transistors, uas yuav zaum hauv qab lwm txheej ntawm cov resistors, lub sijhawm no 82 Ohm sawv daws, uas yuav ncaj qha mus rau lub zog hluav taws xob thiab hauv peb cov LEDs. Nws tsuas yog yuav tsis zoo nkauj heev. Qhov tshwj xeeb binary txee nti tuaj yeem muab tam sim no txaus rau lub teeb 8 20mA LEDs, tab sis txij li thaum kuv tab tom yuav khiav 32 hauv cov teeb tsa sib npaug ntawm 4, Kuv txiav txim siab siv transistors. Dhau li, transistors tau zoo!

Kauj Ruam 5: Npaj cov LEDs rau Kev Sib Txuas

Npaj cov LEDs rau Kev Sib Txuas
Npaj cov LEDs rau Kev Sib Txuas
Npaj cov LEDs rau Kev Sib Txuas
Npaj cov LEDs rau Kev Sib Txuas
Npaj cov LEDs rau Kev Sib Txuas
Npaj cov LEDs rau Kev Sib Txuas

Nov yog qhov feem ntau siv sijhawm ntau ntawm txoj haujlwm. Tau txais cov LEDs hauv txoj haujlwm tsis nyuaj heev, tab sis siv lawv tag nrho ua ke hauv txoj hauv kev raug, ua kom ntseeg tau tias tsis muaj dab tsi luv lossis ntsia hlau dhau los ntawm kev siv lub tshuab ua ntej yog ib txoj haujlwm me me. Txoj cai tam sim no kuv xav tias kuv muaj ob peb lub lis piam ntxiv rau txoj haujlwm no, thiab tej zaum qee qhov ob tog ua ntej tau ua cov ntawv luam tawm Circuit Board.

Tsis muaj ntau lub hlwb ua rau cov kauj ruam no, tab sis muaj kev ua haujlwm ntau. Ua ntej, teeb tawm LEDs hauv koj tus qauv xav tau, thiab txiav txim siab qhov twg koj xav kom ua rau tib lub sijhawm. Hauv qhov no, Kuv tab tom xaiv pab pawg ntawm 4 kom qhib tau los ntawm tus pin tib yam, pib rau saum thiab hauv qab thiab txuas ntxiv ib puag ncig ntawm ob sab. Thaum koj tau tso lawv txhua qhov chaw uas koj xav tau, kaw lawv rau hauv pawg thawj coj nrog koj cov nplaum uas koj xaiv. Tig lub rooj tsavxwm hla thiab pib qhov kev nyuaj siab. Nws yog lub tswv yim zoo kom nres thiab ntsuas tus kheej thiab pab pawg ntawm LEDs kom ntseeg tau tias lawv tseem ua haujlwm tau zoo. Txoj kev tsim kho no tsis yog coj nws tus kheej mus rau kev kho yooj yim. Kuv tau tso txhua qhov tsis zoo coj mus kom lawv yuav nyob ib puag ncig sab nraud ntawm cov duab, thiab tom qab ntawd tso qhov ua tau zoo coj mus tiaj qhov twg kuv tuaj yeem thiab khoov rau lwm tus mus rau hauv tus qauv ntaiv. Txhawm rau ua qhov khoob ntawm qhov rwb thaiv tsev nyob hauv nruab nrab ntawm cov xov hlau, Kuv khoov cov xov hlau thiab ua tib zoo tshem tawm cov rwb thaiv tsev ntawm qhov kawg ntawm qhov khoov, tom qab ntawd khoov nws mus rau lwm txoj kev thiab ua tib zoo ua nws dua. Ntau Lub Sij Hawm LATER… Kuv tau ua tiav. Tom qab txhua qhov ntawd, nco ntsoov txuas qhov sib txuas ua rau koj pab pawg LED mus rau qhov tsim nyog tso tawm pins ntawm transistors. 0-7 tau teeb tsa los ntawm sab laug mus rau sab xis ntawm sab tivthaiv, yog li tsuas yog thawb nws hla thiab ua kom nws tawg. Daim kab xev pab ntawm no, ib yam nkaus. Cov duab yuav tsum qhia rau koj txhua yam koj xav paub txog cov kauj ruam siv sijhawm no…

Kauj Ruam 6: Txuas Lub Hwj Huam thiab Feem ntau Ua tiav

Zoo, uas siv sijhawm ntev dua li nws yuav tsum muaj … tab sis nws tau ua tiav tam sim no, thiab cov kauj ruam kawg tau pom! Cov pawg loj ntawm cov resistors uas txuas nrog rau cov khoom sib xws ntawm cov transistors yuav txuas nrog lub zog zoo, nrog rau ob daim. Txhawm rau ua kom lub Circuit Court, peb kuj yuav tsum txuas rau hauv av coj ntawm LEDs mus rau lub roj teeb tsis zoo txuas thiab ua kom ntseeg tau tias cov chips tau txuas nrog, ib yam nkaus. nyiam qee yam me ntsis yooj yim dua rau kev ruaj ntseg. Muaj ntau yam uas kuv yuav tau txhim kho yog tias qhov no yog cov khoom siv lossis qee yam xav tau kev tsim qauv ntxiv, tab sis tam sim no, superglue tuav nws nyob rau hauv txoj haujlwm ruaj khov.: 100 uF capacitor txuas nrog ntawm ob lub roj teeb ua. Qhov no yog txhawm rau pab them nyiaj rau ib qho dej ntws loj tam sim no uas tuaj yeem tawm tuaj lossis lwm yam kev mob uas lub roj teeb yuav tsis tuaj yeem ua nrog tom qab. Nws kuj tau pab coj cov xaim ntsuab ntev mus rau hauv txoj haujlwm tswj tau.

Pom zoo: