Cov txheej txheem:
- Kauj ruam 1: Kho vajtse thiab Cheebtsam
- Kauj Ruam 2: Tus Kheej PIN
- Kauj Ruam 3: Ua haujlwm
- Kauj ruam 4: CODING THIAB VIDEO
- Kauj Ruam 5: RESULTS
- Kauj Ruam 6: XAUS
- Kauj Ruam 7: Tshwj xeeb ua tsaug
Video: RC Meter Siv Tiva Microcontroller: 7 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:29
Rau qhov haujlwm no micro-maub los raws lub ntsuas cua RC tau tsim thiab siv los ua kom nqa tau, raug, siv tau yooj yim thiab pheej yig rau tsim. Nws yog qhov yooj yim siv thiab tus neeg siv tuaj yeem xaiv hom 'meter' yooj yim xws li: tsis kam lossis muaj peev xwm.
RESISTANCE:
Qhov tsis kam ntawm cov khoom tsis paub tuaj yeem ntsuas siv txoj cai faib hluav taws xob qhov twg cov khoom tsis paub tau txuas nrog ua ntu nrog paub cov neeg tiv thaiv. Paub qhov hluav taws xob (Vcc) tau muab thiab qhov hluav taws xob poob qis nws ncaj qha rau nws qhov kev tiv thaiv. Rau qhov pib sib xws, 4 JFET cov khoom siv hluav taws xob tau siv uas sib piv qhov tsis paub qhov tsis muaj zog tiv thaiv thiab muab tus nqi zoo tshaj.
TSEEM CEEB:
Txog kev muaj peev xwm, lub sijhawm siv los them tus nqi hluav taws xob tawm mus rau 0.632 ntawm cov khoom siv hluav taws xob, VS; tau pom los ntawm lub txee hauv micro tswj thiab nws tau faib los ntawm tus nqi ntawm kev paub ua haujlwm piv txwv li 10k los muab lub peev xwm. Tus nqi ntsuas tau nthuav tawm ntawm LCD uas muab tus nqi taw tes ntab.
Kauj ruam 1: Kho vajtse thiab Cheebtsam
Peb yuav siv cov khoom siv hauv qab no:
1. Microcontroller TM4C123GH6PM
Cortex-M microcontroller xaiv rau kev tsim kho vajtse raws li kev cuam tshuam thiab kev cuam tshuam yog TM4C123 los ntawm Texas Instruments. Lub microcontroller no yog rau qhov ua tau zoo ARM Cortex-M4F raws cov qauv thiab muaj cov txheej txheej sab nrauv sib xyaw ua ke.
2. LCD
Cov kua siv lead ua kua (LCD) tab tom hloov qhov xya-ntu tso tawm vim nws cov nqi qis thiab ua ntau yam ntxiv rau tso cov cim lej. Ntau cov duab qhia tau zoo kuj tseem muaj tam sim no ntawm tus nqi nominal. Peb yuav siv 16x2 LCD.
3. 2N7000 MOSFET
2N7000 yog N-channel, txhim kho-hom MOSFETs siv rau kev hloov pauv qis-thov, nrog rau kev npaj cov hlau lead tuag thiab kev ntsuas tam sim no. Ntim hauv lub thawv TO-92, 2N7000 yog 60 V ntaus ntawv. Nws tuaj yeem hloov 200 mA.
4. Kuj
Kev tiv thaiv ntawm 100 ohm, 10kohm, 100kohm, 698kohm tab tom siv rau kev hloov pauv tus kheej hauv Kev ntsuas qhov ntsuas thiab 10k rau lub Circuit Court hauv Capacitance meter.
Kauj Ruam 2: Tus Kheej PIN
Qhov kev txiav txim uas peb yuav muab cov pins tso rau hauv daim duab:
Kauj Ruam 3: Ua haujlwm
R ntsuas
Txoj Cai
R 'meter' yog tsim los siv lub hauv paus ntsiab lus ntawm kev faib hluav taws xob. Nws hais tias Qhov hluav taws xob tau faib tawm ntawm ob qhov kev tawm tsam hauv qhov ncaj qha rau lawv qhov kev tiv thaiv.
Ua hauj lwm
Peb tau siv plaub lub voj voog MOSFETs uas muab kev hloov pauv. Thaum twg los xij uas tsis paub yuav tsum tau ntsuas, ua ntej ntawm txhua qhov hluav taws xob tau ntsuas hla qhov tsis paub tsis kam uas yog ib txwm rau txhua ntawm 4 qhov kev siv hluav taws xob faib txoj cai. Tam sim no ADC muab tus nqi ntawm qhov hluav taws xob hla txhua qhov kev paub tiv thaiv thiab qhia nws ntawm LCD. Daim duab hluav taws xob thiab PCB txheej txheem rau R meter tau qhia hauv daim duab.
Hauv peb qhov kev sib tw peb tab tom siv 5 tus pin tswj ntawm microcontroller piv txwv li PD2, PC7, PC6, PC5 thiab PC4. Cov pins no tau siv rau muab 0 lossis 3.3V rau cov kab lus sib xws. ADC tus pin piv txwv li PE2 ntsuas qhov hluav taws xob thiab LCD qhia nws ntawm qhov screen.
C ntsuas
Txoj Cai
Rau kev ntsuas C peb tab tom siv lub tswv yim ntawm lub sijhawm tas mus li.
Ua hauj lwm
Muaj ib qho yooj yim RC Circuit, cov tswv yim DC qhov hluav taws xob uas tau tswj hwm los ntawm peb piv txwv li yog siv tus pin PD3 ntawm tiv. Ntawm qhov peb muab 3.3Volts rau hauv Circuit Court. Sai li peb ua tus pin PD3 tso tawm, peb pib lub sijhawm ntsuas thiab tseem pib ntsuas qhov hluav taws xob hla lub capacitor siv Analog rau Digital hloov pauv, uas twb muaj tam sim no hauv tiva. rooj plaub yog 2.0856), peb nres lub sijhawm thiab peb tso tseg muab khoom rau peb cov khoom siv hluav taws xob. Tom qab ntawd peb ntsuas lub sijhawm siv tus nqi ntsuas thiab zaus. peb tab tom siv R ntawm kev paub tus nqi piv txwv li 10k, Yog li tam sim no peb muaj sijhawm thiab R peb tuaj yeem yooj yim thiab tus nqi ntawm lub peev xwm siv cov qauv hauv qab no:
t = RCA
Kauj ruam 4: CODING THIAB VIDEO
Nov yog Cov phiaj xwm phiaj xwm thiab cov ntaub ntawv teev tseg ntawm cov khoom siv.
Txoj haujlwm tau teev nyob hauv Keil Microvision 4. Koj tuaj yeem rub nws los ntawm lub vev xaib ntawm Keil 4. Rau cov ntsiab lus ntawm ntau kab ntawm cov lej, koj raug txhawb kom hla cov ntaub ntawv ntawm tiva micro-controller ntawm https:// www. ti.com/lit/gpn/tm4c123gh6pm
Kauj Ruam 5: RESULTS
Cov txiaj ntsig ntawm cov txiaj ntsig sib txawv ntawm cov resistors thiab capacitors tau raug qhia hauv daim ntawv ntawm cov ntxhuav thiab lawv qhov kev sib piv kuj tseem muaj nyob hauv daim duab.
Kauj Ruam 6: XAUS
Lub hom phiaj tseem ceeb ntawm txoj haujlwm no yog txhawm rau tsim lub microcontroller raws li LCR meter txhawm rau ntsuas Inductance, Capacitance thiab Resistance. Lub hom phiaj tau ua tiav raws li lub ntsuas ntsuas ua haujlwm thiab tuaj yeem pom qhov tseem ceeb rau tag nrho peb yam khoom thaum lub pob raug thawb thiab cov khoom tsis paub txuas nrog. Lub microcontroller yuav xa lub teeb liab thiab ntsuas cov lus teb ntawm cov khoom uas tau hloov pauv mus rau hauv daim ntawv digital thiab txheeb xyuas siv cov qauv txheej txheem hauv microcontroller kom muab tus nqi xav tau. Qhov txiaj ntsig tau xa mus rau LCD kom pom.
Kauj Ruam 7: Tshwj xeeb ua tsaug
Ua tsaug tshwj xeeb rau kuv cov tswv cuab thiab kuv tus Kws Qhia uas tau pab kuv dhau txoj haujlwm no. Kuv vam tias koj pom qhov kev qhia no nthuav. Nov yog Fatima Abbas los ntawm UET Kos Npe Tawm.
Vam tias yuav coj qee yam ntxiv rau koj sai sai no. Txog thaum ntawd saib xyuas:)
Pom zoo:
Meter Zaus Siv Microcontroller: 8 Kauj Ruam
Kev Siv Zis Siv Microcontroller: Phau ntawv qhia no tsuas hais qhia yuav ua li cas los xam qhov zaus ntawm lub plawv dhia siv lub microcontroller.High voltage qib ntawm qhov chaw mem tes yog 3.3 V thiab qis yog 0V.Kuv tau siv STM32L476, Tiva launchpad, 16x2 tus lej lej LCD qee cov xov tooj cua thiab 1K rov
Yuav Ua Li Cas Drone Siv Arduino UNO - Ua Ib Qho Quadcopter Siv Microcontroller: 8 Kauj Ruam (nrog Duab)
Yuav Ua Li Cas Drone Siv Arduino UNO | Ua Quadcopter Siv Microcontroller: Taw Qhia Mus Saib Kuv Youtube ChannelA Drone yog lub cuab yeej kim heev (khoom) yuav. Hauv kab ntawv no kuv yuav tham, kuv yuav ua li cas thiaj pheej yig ?? Thiab Koj tuaj yeem ua koj tus kheej li cas ntawm tus nqi pheej yig … Zoo hauv Is Nrias teb txhua cov ntaub ntawv (lub cev muaj zog, ESCs
Kab Tom Qab Neeg Hlau Siv TIVA Microcontroller TM4C1233H6PM: 3 Kauj Ruam
Kab Tom Qab Neeg Hlau Siv TIVA Microcontroller TM4C1233H6PM: Kab hauv qab cov neeg hlau yog lub tshuab muaj ntau yam siv los tshuaj xyuas thiab ua raws cov kab tsaus uas tau kos rau ntawm qhov dawb. Raws li tus neeg hlau no tau tsim los siv lub rooj noj mov, nws yuav yooj yim tshwj xeeb los tsim. Cov kab ke no tuaj yeem sib xyaw ua ke
Tsev Automation: Tsis Siv Neeg Hloov Board Nrog Dimmer Tswj Via Bluetooth Siv Tiva TM4C123G: 7 Cov Kauj Ruam
Kev Siv Lub Tshuab Hauv Tsev: Tsis Siv Neeg Hloov Lub Rooj Tswjhwm Saib Nrog Dimmer Tswj Via Bluetooth Siv Tiva TM4C123G: Tam sim no, peb muaj kev tswj chaw taws teeb rau peb cov TV thiab lwm yam tshuab hluav taws xob, uas tau ua rau peb lub neej yooj yim heev. Koj puas tau xav tsis thoob txog kev siv tshuab hauv tsev uas yuav muab lub chaw tswj cov raj teeb, kiv cua thiab lwm yam khoom siv
TIVA Tswj Kev Siv Cov Khoom Siv Raws Li Xim Sorter: 8 Cov Kauj Ruam
TIVA Kev Tswj Tus Kheej Tus Kheej Raws Li Xim Sorter: Cov khoom siv hluav taws xob muaj daim ntawv thov dav. Txhua daim ntawv thov xav tau ib qho kev sib txawv thiab ib qho software sib txawv nrog rau kho vajtse teeb tsa. Microcontroller yog tus qauv sib xyaw ua ke hauv lub nti uas cov ntawv thov sib txawv tuaj yeem ua haujlwm nrog