Cov txheej txheem:
- Kauj ruam 1: Cov ntaub ntawv
- Kauj ruam 2: Pib Coding
- Kauj Ruam 3: Cov Ntaub Ntawv Txwv
- Kauj Ruam 4: Flip Flop File
- Kauj Ruam 5: Segments File
- Kauj Ruam 6: Clock Divider File
- Kauj Ruam 7: Cov ntaub ntawv teeb tsa Servo
- Kauj Ruam 8: Servo Cov Ntaub Ntawv Sab Saum Toj
- Kauj ruam 9: Cov ntaub ntawv saum toj kawg nkaus
- Kauj Ruam 10: Xeem hauv Vivado
- Kauj Ruam 11: Tsim Kho Vajtse Intro
- Kauj ruam 12: Npaj
- Kauj Ruam 13: Soldering
- Kauj ruam 14: Qhov kawg
Video: CPE 133 Tus Neeg Pov Tseg Pov Tseg: 14 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:29
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, tib neeg tsis xav txog qhov lawv pov lawv cov thoob khib nyiab. Peb txiav txim siab tsim lub tshuab uas yuav yuam kom tib neeg tso kev xav mus rau qhov chaw lawv tso lawv cov thoob khib nyiab. Peb tus neeg nqa cov thoob khib nyiab nqa cov neeg siv khoom siv los ntawm peb tus lej, txhua tus sawv cev xws li cov thoob khib nyiab, rov ua dua tshiab lossis ua zaub mov noj. Thaum tus neeg siv tau xaiv lawv hom pov tseg (s) lawv xav muab pov tseg ntawm lawv nias lub pob. Lub pob no yuav ua rau lub hau ntim sib luag qhib. Lub tshuab tseem siv cov zaub ntawm Basys 3 los qhia yog tias ib qho ntawm lub hau tau qhib tam sim no. Thaum lub pob raug tso tawm lub hau yuav rov kaw dua kom lub tshuab yuav npaj tau rau cov neeg siv tom ntej.
Kauj ruam 1: Cov ntaub ntawv
Cov ntaub ntawv xav tau rau txoj haujlwm no yog:
Basis 3 pawg
Khoos phis tawj nrog Vivado teeb tsa
3 x servo*
3 ko taw tooj liab hlau
Hlau Cutter/Stripper
Soldering hlau thiab solder
*vim tias servos kim thiab peb yog cov tub ntxhais kawm qib siab peb tau hloov 68 ohm resistor thiab LED rau txhua qhov kev pabcuam raws li tus qauv (cov cai ua haujlwm ib yam nkaus)
Kauj ruam 2: Pib Coding
Muaj ntau txoj cai los sau rau txoj haujlwm no. Peb yuav siv tus lej VHDL sau hauv Vivado. Txhawm rau pib peb yuav xav tsim txoj haujlwm tshiab. Ua ntej koj yuav sau npe qhov project thiab qhia meej txog hom haujlwm. Nco ntsoov xaiv tib qhov chaw raws li daim duab. Thaum koj tau mus rau qhov chaw tshuaj ntsuam koj yuav xav ntxiv rau rau qhov chaw hu ua "saum", "flip_flop", "ntu", "servo_top", "servo_sig" thiab "clk_div". Nco ntsoov xaiv VHDL rau cov lus ntawm txhua cov ntaub ntawv, tsis yog Verilog. Ntawm qhov vijtsam txwv koj yuav tsum tsim ib daim ntawv rau tus lej ua haujlwm. Lub npe ntawm cov ntawv no tsis tseem ceeb. Tom qab ntawd koj yuav raug hais kom xaiv lub rooj tsav xwm uas koj yuav siv. Nco ntsoov tias koj xaiv qhov raug. Siv cov duab rau xaiv kom raug. Kauj ruam kawg yuav nug koj kom qhia meej cov tswv yim thiab cov txiaj ntsig ntawm txhua qhov ntaub ntawv. Cov kauj ruam no tuaj yeem cim tom qab yog li nyem tom ntej.
Kauj Ruam 3: Cov Ntaub Ntawv Txwv
Hauv qib no peb yuav sau cov ntaub ntawv txwv. Qhov no qhia Vivado cov pins twg yuav xa/tau txais cov cim qhia los ntawm kev siv hluav taws xob. Peb yuav xav tau lub moos, peb qhov hloov pauv, xya ntu tso saib (xya cathodes thiab plaub qhov anodes), lub pob thiab peb qhov tso tawm PMOD pins uas servo/LED yuav siv. Siv cov duab rau yuav ua li cas tus lej yuav tsum zoo li.
Kauj Ruam 4: Flip Flop File
Cov ntaub ntawv tom ntej peb yuav sau yog flip_flip cov ntaub ntawv. Qhov no yuav yog VHDL kev siv D flip flop. Hauv lwm lo lus nws tsuas yog dhau nws cov tswv yim rau qhov tso tawm ntawm qhov nce ntawm lub moos teeb liab thiab thaum lub pob nyem. Nws yuav siv sijhawm, D thiab khawm ua lub tswv yim thiab yuav tso tawm Q. siv cov duab rau tus lej. Lub hom phiaj ntawm cov ntaub ntawv no yog tso cai rau lub thoob qhib tsuas yog thaum lub pob raug nias ntau dua li qhib ncaj qha txhua lub sijhawm hloov pauv thiab tsuas yog kaw thaum qhov hloov pauv rov qab.
Kauj Ruam 5: Segments File
Cov ntaub ntawv tom ntej yuav tsum tau sau yog ntu ntawv. Qhov no yuav siv lub pob raws li kev nkag thiab tso tawm qhov tseem ceeb rau xya cathodes thiab plaub qhov anodes ntawm Basys 3's xya ntu ntu. Cov ntaub ntawv no ua rau xya ntu ntu qhia pom "C" thaum lub thoob ntim kaw thiab "O" thaum lub thoob qhib. Rau txoj cai saib daim duab txuas nrog.
Kauj Ruam 6: Clock Divider File
Servos ua haujlwm los ntawm kev siv PWM teeb liab nrog zaus ntawm 64k Hz thaum lub moos ua rau hauv Basys 3 ua haujlwm ntawm 50M Hz. Cov ntaub ntawv faib lub moos yuav hloov pauv lub moos tsis raug rau tus phooj ywg zaus rau servo. Cov ntaub ntawv yuav siv lub moos thiab teeb tsa lub cim teeb tsa ua lub tswv yim thiab yuav tso tawm lub moos tshiab. Saib daim duab txuas rau tus lej.
Kauj Ruam 7: Cov ntaub ntawv teeb tsa Servo
Cov ntaub ntawv teeb tsa servo yuav siv lub moos nkag, rov pib nkag thiab xav tau txoj haujlwm nkag. Nws yuav tso tawm PWM teeb liab uas yuav tsav lub servo mus rau txoj haujlwm xav tau. Cov ntaub ntawv no siv lub moos teeb liab tsim hauv cov ntaub ntawv kawg los tsim lub PWM teeb liab rau cov servo nrog kev ua haujlwm sib txawv raws li txoj haujlwm xav tau. Qhov no tso cai rau peb tig cov servos uas tswj lub hau ntawm lub thoob khib nyiab. Saib daim duab txuas nrog rau txoj cai.
Kauj Ruam 8: Servo Cov Ntaub Ntawv Sab Saum Toj
Lub hom phiaj ntawm cov ntaub ntawv no yog txhawm rau sau ob daim ntawv kawg rau hauv kev ua haujlwm servo tsav tsheb. Nws yuav siv sijhawm ib teev, rov pib dua thiab ua haujlwm raws li kev tawm tswv yim thiab yuav tso tawm servo PWM teeb liab. Nws yuav siv ob lub moos faib thiab cov ntaub ntawv teeb tsa servo ua cov khoom siv thiab yuav suav nrog lub moos teeb liab sab hauv kom dhau lub sijhawm hloov pauv los ntawm lub moos faib mus rau cov ntaub ntawv teeb tsa servo. Saib cov duab ntawm
Kauj ruam 9: Cov ntaub ntawv saum toj kawg nkaus
Nov yog cov ntaub ntawv tseem ceeb tshaj plaws ntawm txoj haujlwm vim nws qhwv txhua yam peb tau tsim ua ke. Nws yuav siv lub pob, peb lub hloov pauv thiab lub moos raws li kev nkag. Nws yuav muab xya lub cathodes, plaub qhov anodes thiab peb qhov servo/LED teeb liab raws li kev tso tawm. Nws yuav siv cov flip flop, ntu thiab servo_top cov ntaub ntawv ua cov khoom siv thiab yuav muaj qhov hloov pauv sab hauv thiab sab hauv servo teeb liab.
Kauj Ruam 10: Xeem hauv Vivado
Khiav Synthesis, siv thiab sau bitsream hauv Vivado. Yog tias koj ntsib cov lus yuam kev pom qhov chaw yuam kev thiab tom qab ntawd sib piv rau cov cai muab. Ua haujlwm los ntawm ib qho yuam kev kom txog thaum tag nrho cov haujlwm no ua tiav.
Kauj Ruam 11: Tsim Kho Vajtse Intro
Hauv cov kauj ruam no koj yuav tsim lub khoos phis tawj LED uas peb siv hauv peb tsab ntawv. Yog tias siv servos txoj haujlwm yuav tsum npaj kom mus ntev li ntev tau siv cov pins raug. Yog tias siv LEDs ua raws cov theem hauv qab no.
Kauj ruam 12: Npaj
Txiav cov hlau mus rau rau hauv txawm tias daim. Seem qhov xaus ntawm txhua daim hlau kom txaus kom tuaj yeem siv tau. Cais cov LEDs, cov tiv thaiv thiab cov xov hlau rau hauv peb pawg. Ua kom sov cov hlau txuas.
Kauj Ruam 13: Soldering
Solder txhua ntawm 68 ohm resistors rau sab tsis zoo ntawm lawv cov coj LED. Siv lub xaim txuas mus rau sab zoo ntawm LED thiab lwm lub xaim mus rau sab ntawm tus tiv thaiv tsis tau txuas rau lub coj. Koj yuav tsum muaj peb qho ntawm qhov tsis sib xws ntawm LED duab saum toj no.
Kauj ruam 14: Qhov kawg
Ntxig txhua lub xov hlau zoo rau hauv tus lej PMOD tus lej thiab txhua qhov tsis zoo rau hauv av PMOD tus pin. Xaiv tau ntxiv cov thawv ntawv los sawv cev rau cov thoob khib nyiab thiab zais koj qhov muag tsis zoo. Thaum cov xov hlau tau raug ntsaws rau hauv thiab cov cai raug xa mus rau lub rooj tsavxwm yam tsis raug lub tshuab yuav tsum ua haujlwm raws li tau npaj tseg. Yog tias muaj dab tsi tsis raug rov qab mus rau cov kauj ruam dhau los txhawm rau daws teeb meem. Muaj kev lom zem nrog koj tus tshiab "lub thoob khib nyiab".
Pom zoo:
Ua Tus Pov Hwm Pov Tseg Pi Nrog ML !: 8 Kauj Ruam (nrog Duab)
Ua Tus Pej Xeem Pov Tseg Pi Nrog ML !: Qhov Project Trash Classifier, paub zoo tias "Nws mus qhov twg?! kawm hauv Lobe, tus pib ua phooj ywg (tsis muaj tus lej!)
Pandemi: Tus Nqi Tus Nqi Tus Nqi Tus Kab Mob Qis Tsawg Tus Nqi: 7 Kauj Ruam
Pandemi: Tus Nqi Tus Nqi Tus Nqi Tus Kab Mob Qis Tsawg Tus Nqi: Qhov no yog qhov pheej yig, yooj yim los ua neeg hlau. Nws tuaj yeem ua kom tsis muaj menyuam hauv koj chav nrog UV-C lub teeb, nws yog lub teeb thiab nrawm, nws tuaj yeem mus rau txhua qhov av, thiab nws tuaj yeem haum rau txhua lub qhov rooj. Nws tseem yog tib neeg-nyab xeeb, thiab muaj kev ywj pheej tag nrho
Tus Neeg Hlau uas Qhia Yog Tus Neeg Muag Khoom Hluav Taws Xob tau dag koj lossis Tsis: 6 Kauj Ruam
Ib Tus Neeg Hlau uas Qhia Yog Tus Neeg Muag Khoom Hluav Taws Xob tau dag koj lossis Tsis Yog: Xyoo tas los, kuv thiab kuv txiv tau mus rau qhov chaw qhib tshiab neeg hlau/khoom siv hluav taws xob ze rau qhov peb nyob. Thaum kuv nkag mus rau ntawd, Nws muaj cov khoom siv hluav taws xob, serovs, sensors, Raspberry pis, thiab Arduinos. Hnub tom qab, peb tau mus rau tib lub khw thiab yuav
Pov Tseg Tsis Yog Pov Tseg: 5 Kauj Ruam
Pov Tseg Tsis Txhob Pov Tseg.: Peb pab neeg tau pib qhov haujlwm hu ua " Lub thoob khib nyiab yeej tsis raug pov tseg. &Quot; nrog cov teeb meem pov tseg ntawm KARTS. Muaj ntau yam ua rau tsev kawm ntawv tsim cov thoob khib nyiab ntau thiab ua rau cov neeg tsis txaus siab pov tseg. Txhawm rau daws qhov teeb meem no, thaum xub thawj peb
ARUPI - Tus Nqi Tus Nqi Tus Nqi Uas Tau Txais Tus Nqi Uas Tau Txais Tus Nqi/Tus Kheej Tus Kheej (ARU) rau Soundscape Ecologists: 8 Kauj Ruam (nrog Duab)
ARUPI - Tus Nqi Tus Nqi Uas Tau Txais Tus Nqi Tus Nqi Uas Tau Txais Tus Nqi/Tus Kheej Tus Kheej (ARU) rau Soundscape Ecologists: Cov lus qhia no tau sau los ntawm Anthony Turner. Txoj haujlwm tau tsim los nrog ntau qhov kev pab los ntawm Shed hauv Tsev Kawm Ntawv ntawm Kev Suav, University of Kent (Mr Daniel Knox tau pab zoo!)