Cov txheej txheem:
- Kauj Ruam 1: Cov Khoom Xav Tau thiab Cov Lus Qhia
- Kauj Ruam 2: Tau Txais Pawg Thawj Coj
- Kauj Ruam 3: Lub Rooj Tswjhwm Saib Cov Suab
- Kauj Ruam 4: Txoj Haujlwm Quartus
- Kauj ruam 5: Txaus siab rau
Video: Suab paj nruag Synthesizer Raws DE0-Nano-SoC: 5 Cov Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:29
Suab paj nruag Synthesizer
Tus tsim cov nkauj no yooj yim heev: koj tsuas yog yuav tsum tshuab, hu nkauj, lossis txawm tias ua suab paj nruag nyob rau pem hauv ntej ntawm lub microphone, thiab lub suab yuav raug hloov pauv thiab xa los ntawm tus hais lus. Nws cov specctrum kuj tseem yuav tshwm ntawm lub vijtsam LCD. Qhov Suab Nkauj Synthesizer muaj nyob hauv ob qho qauv: koj tuaj yeem xaiv siv nws ntawm PCB, lossis yog tias koj ua tsis tau, Breadboard yooj yim yuav ua.
Kauj Ruam 1: Cov Khoom Xav Tau thiab Cov Lus Qhia
Txhawm rau siv qhov system no, koj yuav xav tau cov hauv qab no:
- DE0-Nano-SoC pawg thawj coj saib
- LT24 LCD Zaub los ntawm Terasic
- ib lub tshuab electret microphone
- ib qho yooj yim ob-xov hlau (hauv av thiab khoom siv) hais lus
- ib Ethernet xaim
- PCB los yog daim ntawv qhia zaub mov
- ib qho hlau txuas thiab PCB tus kws kos duab, yog tias koj txiav txim siab los siv cov khoom sib txuas ntawm PCB
- roj teeb thiab nws USB txuas (xaiv tau)
- LM386 lub zog ua kom lub zog loj
- MCP4821 Digital/Analog Converter
- LT1054 Hloov-Capacitor Voltage Converter
- ib LM317 Adjustable Reulator
- 7 TL081 OPAs (DIP-8)
- ib TL082 OPA (DIP-8)
- ib 2N5432 transistor
- 1N4148 diode
- 17 10 µF polarized capacitors
- ib 1µF capacitor
- 5 100nF capacitors
- ib 680nF capacitor
- 100 µF capacitor
- 2.2 µF capacitor
- a 1000+µF polarized capacitor (piv txwv li 4400)
- 220 µF polarized capacitor
- 0.05 µF capacitor
- 4 100 Ohms resistors
- 1 2.2 kOhms resistor
- 1 10kOhms resistor
- 1470 Ohms resistor
- 1 1.8kOhms resitor
- 11MOhm resistor
- 1 150 Ohm resistor
- 4 1500 Ohm resistor
Thov nco ntsoov tias koj yuav xav tau cov khoom siv ntau dua li qhov xav tau.
Peb kuj pom zoo kom muaj kev paub pib hauv hluav taws xob thiab SoC tsim ua ntej pib qhov haujlwm no
Kauj Ruam 2: Tau Txais Pawg Thawj Coj
Tam sim no koj tau txais txhua yam koj xav tau, cia pib los ntawm kev ua lub rooj tsav khoom. Lub microphone sau cov suab nyob ze, tom qab ntawd lub teeb liab tau lim los ntawm cov lim qis kom thiaj ua piv txwv nws (thiab yog li hwm Shannon theorem) ua ntej nws nthuav dav thiab thaum kawg kaw los ntawm DE0.
Yog tias koj paub nrog Altium Tsim Software thiab nkag tau rau PCB tus kws kos duab, koj tsuas yog yuav tsum tsim cov txheej txheem uas tau qhia hauv daim duab saum toj no, thiab tso cov khoom sib xws raws li peb tau ua hauv daim duab thib ob. Txwv tsis pub, koj tsuas tuaj yeem rov tsim lub voj voog no ntawm lub khob cij.
Hauv ob qho tib si, qhov tseem ceeb ntawm cov resistors, pom tseeb muab hauv Ohms, thiab qhov tseem ceeb ntawm cov capacitors, muab hauv Farads, yog raws li hauv qab no:
- R4: 2,2 ib
- 5: 10k wb
- R6 thiab R7: 100
- 3: 470 ib
- R1 thiab R2: 18 (cov resistors no tau siv los kho qhov hluav taws xob tso tawm uas yuav tsum yog 2V yog li cov txiaj ntsig no yuav txawv me ntsis rau koj)
- R8: 1.8k ib
- R9: 1 mav
- R10: 150
- R11, R12, R14 thiab R15: 1.5k
- Kaum Ob Hlis 1: 2.2µ
- Kaum Ob Hlis 2: 100µ
- Hnub 3: 100n
- Hnub 4: 1µ
- Dec 5, Dec6, Dec7, Dec8, Dec9, Dec 10, Dec 11, Dec 12, Dec 13, Dec14: 1µ
- Dec 15: +1000µ (4400 piv txwv)
- C1: 10 hli
- C2: 1 ua
- C3 thiab C4: 100n
- C5: 1 ua
Peb tau ua tiav nrog pawg tswj hwm kev yuav khoom!
Kauj Ruam 3: Lub Rooj Tswjhwm Saib Cov Suab
Muaj peev xwm sau cov suab yog qhov zoo, tab sis muaj peev xwm rov tsim dua lawv txawm tias zoo dua! Yog li, koj yuav xav tau lub suab tso tawm suab, tsuas yog suav nrog cov hloov pauv digital/analog, lim dej kom huv, lub zog tso zis thiab tus hais lus.
Tau kawg, koj tseem tuaj yeem tsim cov Circuit Court ntawm PCB (thiab tso cov khoom sib xws raws li qhia hauv daim duab thib ob) lossis ntawm lub khob cij. Hauv ob qho tib si, ntawm no yog qhov txiaj ntsig rau ob lub capacitors thiab resistors:
- R1 thiab R2: 100
- R3 thiab R4: xov hlau
- R5: 10 ib
- C1: 1 µ
- C2, C3, C5, C6, C7, C9: 100µ (polarized)
- C4 thiab C8: 100n
- C10: 0.05 hli
- C11: 250 hli
Peb tau ua tiav nrog lub suab tso tawm, yog li cia peb txav mus rau software!
Kauj Ruam 4: Txoj Haujlwm Quartus
Txhawm rau ua tej yam yooj yim, peb txiav txim siab pib los ntawm "kuv thawj-hps-fpga" txoj haujlwm muab hauv CD-ROM suav nrog DE0-Nano-SoC. Txhua yam koj yuav tsum ua yog qhib txoj haujlwm no thiab pib "Platform Designer" lossis "Qsys" los ntawm cov cuab yeej bar, thiab rov tsim dua txoj haujlwm saum toj no. Tom qab ntawd, tsim cov qauv tsim thiab suav nrog Qsys (saib qhov ua qauv qhia kom paub ntau ntxiv).
Kauj ruam 5: Txaus siab rau
Tam sim no tias cov ntaub ntawv HDL tau tsim, koj tsuas yog xav tau los tsim qhov haujlwm Quartus. Fort lub hom phiaj ntawd, ntsaws lub USB cable rau hauv USB txuas (JTAG) ntawm DE0-Nano-Soc. Tom qab ntawd, xaiv Cov Cuab Yeej> Programming ntawm Quartus. Nyem rau Auto Detect, tom qab ntawd xaiv qhov kev xaiv thib ob. Tom qab ntawv, nyem FPGA ntaus ntawv (qhov thib ob), tom qab ntawd "Hloov cov ntaub ntawv" thiab xaiv cov ntaub ntawv.sof yav tas los tsim tawm. Thaum kawg, nyem "Program/Configure" check board thiab nyem "Start" khawm kom qhib cov ntaub ntawv.
Thaum kawg, xa cov lej C hauv qab no rau hauv DE0 nco. Rau lub hom phiaj ntawd, teeb tsa Putty ntawm lub PC (Linux), txuas lub rooj tsavxwm rau nws los ntawm kev txuas Ethernet thiab los ntawm ntsaws lub USB cable rau hauv USB txuas (UART) ntawm DE0. Tua tawm thiab teeb tsa Putty nrog tus nqi baud ntawm 115200, tsis muaj kev ncaj ncees, ib qho nres me ntsis thiab tsis muaj chaw tswj kev ntws. Tom qab ntawd, yuam tus IPv4 chaw nyob ruaj ntseg rau koj lub PC Ethernet chaw nres nkoj, nkag mus "hauv paus" ntawm Putty plhaub, tom qab ntawd "ifconfig eth0 192.168. XXX. XXX" thiab "tus lej" ua raws tus lej nkag. Qhib lub plhaub ntawm koj lub PC, mus rau qhov project repository, thiab sau "scp myfirsthpsfpga [email protected]. XXX. XXX: ~/". Thaum kawg, ntawm lub plhaub Putty, sau "./myfirsthpsfpga". Txaus siab rau!
Pom zoo:
Suab paj nruag React Fiber Optic Star Qab nthab Teeb: 11 Cov Kauj Ruam (nrog Duab)
Suab paj nruag React Fiber Optic Star Qab nthab Teeb: Xav tau ib daim ntawm galaxy ntawm koj lub tsev? Nrhiav nws seb nws ua li cas hauv qab no! Tau ntau xyoo nws yog kuv txoj haujlwm npau suav thiab thaum kawg Nws tau ua tiav. Nws siv sijhawm qee lub sijhawm los ua kom tiav, tab sis qhov txiaj ntsig kawg tau txaus siab heev uas kuv ntseeg tias nws tsim nyog. Me ntsis
Suab paj nruag Reactive Mood Teeb: 5 Cov Kauj Ruam (nrog Duab)
Music Reactive Mood Lights: Intro and Background.Back in freshman year (Caij nplooj ntoos hlav xyoo 2019), Kuv xav ua kom kuv chav pw tsis tu ncua. Kuv tuaj nrog lub tswv yim ntawm kev tsim kuv tus kheej lub teeb pom kev uas yuav cuam tshuam rau cov nkauj uas kuv tau mloog ntawm kuv lub mloog pob ntseg. Hais ncaj ncaj, Kuv tsis muaj kev tshoov siab tshwj xeeb
Suab Paj Nruag Painting Canvas Nrog Makey Makey: 9 Kauj Ruam (nrog Duab)
Suab paj nruas Painting Canvas Nrog Makey Makey: Nyob zoo, hauv Cov Lus Qhia no peb yuav kawm paub yuav ua li cas los pleev xim pleev xim rau Canvas, uas yog, cov nkauj sib txawv suab txhua lub sijhawm peb pleev xim nrog txhuam ntawm txhua xim. Nov yog qhov lom zem heev thiab ua haujlwm los txhawb kev pleev xim rau cov menyuam yaus lossis tseem muab qhov tshwj xeeb
CS122A Lub suab paub suab paj nruag neeg uas ua ntawv: 7 Cov kauj ruam
CS122A Lub Suab Paub Tus Kheej Lub Suab Nkauj: Nov yog Lub Suab Ua Lub Suab Nkauj Music Player. Nws tuaj yeem ua si txog 33 nkauj nyob ntawm seb muaj pes tsawg zaj nkauj lub npe thiab tus kws kos duab koj khaws
Menorah suab paj nruag (ua nrog Arduino): 13 Cov Kauj Ruam (nrog Duab)
Menorah suab paj nruag (ua nrog Arduino): Chanukah yuav los sai sai! Yog li kuv xav tias nws yuav yog ib lub tswv yim zoo los ua ib qhov haujlwm ntsig txog hnub so. Kuv ua qhov Chanukah Menorah txias no nrog Arduino uas ua nkauj sib txawv txhua lub sijhawm koj hloov hmo ntuj los ntawm nias lub pob. Cov LEDs