Cov txheej txheem:
Video: CPE 133 Metronome: 3 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:27
Rau peb qhov phiaj xwm zaum kawg ntawm Cal Poly peb tsim lub sijhawm khaws cov cuab yeej hu ua metronome, peb tau xaiv txoj haujlwm no vim yog kev nyiam suab paj nruag thiab tsim qauv digital. Peb siv cov kev sim yav dhau los hauv CPE 133 los pab tsim peb cov cai thiab kev qhia hauv online los pab tsim kho cov kab hluav taws xob LED ntawm lub khob cij.
Kauj ruam 1: System Architecture
Peb siv qhov kev tsim qauv no siv Basys 3 FPGA board, Breadboard, LED's, Resistors, thiab dhia rau kev txuas.
Lub hom phiaj ntawm kev tsim qauv no yog txhawm rau nce thiab txo tus nqi ntawm qhov LED teeb nyem rov qab los. Qhov nrawm uas lawv tab tom nyem yog hu ua tempo. Qhov xav tau nrawm tau ua tiav los ntawm kev siv cov nyees khawm ntawm Basys 3 FPGA pawg thawj coj los nce lossis txo qhov nrawm ntawm lub teeb.
Yog tias lub pob tau nias lub teeb tau nce nrawm dua, yog tias khawm qis tau nias qhov nrawm yuav txo qis.
Kauj ruam 2: Circuit Architecture
Cov Txheej Txheem Txheej Txheem: Khawm De-bounce: Peb tau siv lub pob de-bounce hauv Circuit Court kom ntseeg tau tias thaum peb nyem lub pob kom nce lub nrawm los ntawm ib ntu. Tsis muaj de-bounce ib zaug thawb ntawm lub pob yuav nce nrog qhov zaus ntawm lub moos.
Lub Sijhawm Hloov Hloov: Lub sijhawm hloov pauv tau siv los nce lossis txo tus nqi MAX_COUNT siv los ntawm lub moos faib los tswj lub moos tso tawm uas tsav lub LED.
Sau npe: Daim ntawv sau npe tau siv los tuav qhov tseem ceeb ntawm peb MAX_COUNT tshiab uas tau tso tawm los ntawm kev hloov pauv lub sijhawm. CLR tau ntxiv rau hauv kev sau npe kom rov pib dua MAX_COUNT rau tus nqi sib xws rau 1-thib ob moos zaus.
Clock Divider: Lub moos faib tau siv los ua kom qeeb ntawm lub moos PASYS 3 pawg thawj coj, qhov no yog ua tiav los ntawm kev faib lub moos zaus los ntawm MAX_COUNT tus nqi uas tau hloov pauv hauv lub sijhawm hloov pauv.
Hloov Sau Npe: hloov kho 4-ntsis hloov pauv npe tau siv los tso tawm '1' lossis tus nqi siab rau peb cov kab hluav taws xob LED ntawm lub khob cij ntawm qhov nce ntawm ntug ntawm lub moos mem tes. Nrog 4 LEDs ntawm lub khob cij, peb tuaj yeem tso tawm tsuas yog 1 ntawm 4 LEDs nyob rau ib lub sijhawm, ua tiav, ua qhov rov ua dua 4-ntaus ua ntu zus. Kev hloov pauv npe tau hloov kho xws li 4-ntsis tso tawm tsuas yog muaj 1 tus nqi siab, piv txwv li "0001" lossis "0100."
Pom zoo:
CPE 133 Txoj Haujlwm Kawg Kawg Zauv rau Binary: 5 Kauj Ruam
CPE 133 Txoj Haujlwm Kawg Kawg Thib Ob rau Binary: Tus lej Binary yog ib qho ntawm thawj qhov uas los rau hauv siab thaum xav txog cov laj thawj digital. Txawm li cas los xij, Tus lej Binary tuaj yeem yog lub tswv yim nyuaj rau cov tshiab rau nws qhov haujlwm no yuav pab cov uas yog ob qho tshiab thiab tau ntsib nrog cov lej binary mas
Servo Metronome, Programmable rau Sib Txawv Sib Txawv: 3 Cov Kauj Ruam
Servo Metronome, Programmable rau Sib Txawv Sib Txawv: Ua koj tus kheej metronome. Txhua yam koj xav tau yog Arduino Mega 2560 cov khoom pib thiab lub khoos phis tawj sib xws
555-timer Metronome: 3 Kauj Ruam
555-timer Metronome: Lub metronome yog lub cuab yeej uas ua rau hnov lub suab lossis lwm yam suab ntawm ntu ntu uas tuaj yeem teeb tsa los ntawm tus neeg siv, feem ntau yog ntaus ib feeb (BPM). Cov kws hu nkauj siv lub cuab yeej los xyaum ua si kom ua haujlwm li qub. (Https://en.wikipedia.org/w
Micro-controller Raws Metronome: 5 Cov Kauj Ruam
Micro-controller Raws Metronome: Lub ntsuas cua yog lub cuab yeej siv sijhawm los ntawm cov kws ntaus nkauj kom taug qab cov neeg ntaus nkauj thiab txhim kho kev nkag siab ntawm lub sijhawm ntawm cov pib kawm uas tab tom kawm ntaus nkauj tshiab. Nws pab tswj kom muaj kev nkag siab ntawm lub suab uas yog qhov tseem ceeb hauv suab paj nruag.Qhov metronome bui
CPE 133 Tus Neeg Pov Tseg Pov Tseg: 14 Kauj Ruam
CPE 133 Tus Tuav Pov Hwm Pov Tseg: Rau peb CPE 133 chav kawm ntawm Cal Poly peb tau hais kom tsim VHDL/Basys 3 txoj haujlwm uas yuav pab ib puag ncig thiab yooj yim txaus uas peb tuaj yeem siv nws nrog peb qhov kev paub tshiab ntawm kev tsim digital. Lub tswv yim tom qab peb txoj haujlwm uas, feem ntau