Cov txheej txheem:
- Kauj ruam 1: Yuav tsum tau ua
- Kauj Ruam 2: Pin-outs & thaiv
- Kauj ruam 3: Upload cov ntaub ntawv.bin
- Kauj Ruam 4: Tau Koj Cov Zis
Video: Laser Tripwire Siv ARM Cortex-M4: 4 Cov Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:29
Qhov no yog qhov phiaj xwm phiaj xwm uas siv ARM Cortex-M4 (Texas Instruments EK-TM4C123GXL) los ua Laser Tripwire system. Lub kaw lus ua haujlwm nrog lub suab nrov, sab nraud monochromatic lub teeb pom kev zoo hauv daim ntawv tsom mus rau lub teeb, LDR thiab NPN transistor.
BC547 siv los ua NPN transistor los tswj cov txiaj ntsig tau los ntawm LDR rau ARM Cortex-M4 (Texas Instruments EK-TM4C123GXL). Qhov kev nkag siab ntawm lub kaw lus tuaj yeem hloov kho los ntawm kev hloov kho ntawm BJT.
Cov zis tuaj yeem tau txais ntawm Serial Monitor of Energia IDE, Tera Team, Keil uVision lossis lwm yam software davhlau ya nyob twg. Tag nrho cov Circuit Court yog siv los ntawm +5V (VBUS) thiab +3.3V ntawm EK-TM4C123GXL.
.bin cov ntaub ntawv ntawm c99 code tau txuas nrog qhov muab txuas ntawm qhov kawg ntawm qhov kev qhia no..bin cov ntaub ntawv tuaj yeem xa mus rau lub microcontroller siv LM Flash Programmer.
Kauj ruam 1: Yuav tsum tau ua
Cov hauv qab no yuav tsum ua kom tiav txoj haujlwm no:
1- Texas Instruments EK-TM4C123GXL 2- Monochromatic Light Source
3- Lub suab nrov
4- LDR
5- NPN BJT (BC547)
6- LM Flash Programmer (software ntawm PC)
7- Virtual Terminal (software ntawm PC)
=> Yog tias koj tsis paub siv thiab teeb tsa LM Flash Programmer, tom qab ntawv thov txheeb xyuas kuv li Kev Qhia Ua Ntej dhau los, lossis nyem rau ntawm qhov txuas hauv qab no:
Rub tawm LM Flash Programmer
Upload.bin lossis.hex Cov Ntaub Ntawv Siv LM Flash Programmer
Kauj Ruam 2: Pin-outs & thaiv
Tus Pin-outs & Wiring ntawm ARM Cortex-M4 (Texas Instruments EK-TM4C123GXL) thiab lwm yam khoom siv txuas nrog cov kauj ruam no thiab tseem muab cov hauv qab no:
==================== TM4C123GXL => Buzzer
====================
PB0 => VCC
GND => GND
====================
TM4C123GXL => BC547
====================
+5V => Tus neeg sau khoom
PB5 => Emitter
============
BC547 => LDR
============
Base => Pin-1
==================
TM4C123GXL => LDR
==================
+5V => Pin-2
Kauj ruam 3: Upload cov ntaub ntawv.bin
Xa cov ntawv.bin txuas nrog cov kauj ruam no rau ARM Cortex-M4 (Texas Instruments EK-TM4C123GXL) siv LM Flash Programmer.
Kauj Ruam 4: Tau Koj Cov Zis
Tom qab xa cov ntaub ntawv.bin rau ARM Cortex-M4 (Texas Instruments EK-TM4C123GXL), koj tuaj yeem tau txais koj lub suab nrov lossis ib qho ntawm koj lub davhlau ya nyob twg xav tau. Energia IDE Serial Monitor, Keil uVision thiab Tera Team Virtual Terminal thiab lwm yam lossis ob qho tib si.
Pom zoo:
Cov Hais Lus Ua Los Ntawm Cov Khoom Siv Rov Los thiab Rov Siv Dua: 6 Cov Kauj Ruam
Cov Hais Lus Ua Los Ntawm Cov Khoom Siv Rov Los thiab Rov Los Siv Rov Los: " Suab paj nruag yog cov lus thoob ntiaj teb ntawm tib neeg. Thiab qhov zoo tshaj plaws-lawv tsis tau them kuv ib dime. Txhua yam nyob rau hauv no pr
Tuchless Hloov rau Cov Khoom Siv Hauv Tsev -- Tswj Koj Cov Khoom Siv Hauv Tsev Tsis Muaj Tuch Ib qho Hloov: 4 Cov Kauj Ruam
Tuchless Hloov rau Cov Khoom Siv Hauv Tsev || Tswj Koj Cov Khoom Siv Hauv Tsev Tsis Muaj Tuch Ib qho Hloov: Nov Yog Qhov Tuchless Hloov Rau Cov Khoom Siv Hauv Tsev. Koj Siv Tau Qhov No Mus Rau Txhua Qhov Chaw Hauv Pej Xeem Kom Pab Tau Tawm Tsam Ib Yam Kab Mob. Lub Circuit Court Raws Li Tsaus Sensor Circuit Ua Los Ntawm Op-Amp Thiab LDR. Qhov Tseem Ceeb Thib Ob Ntawm Qhov Circuit Court SR Flip-Flop Nrog Sequencell
Txawb Xov Tooj Siv Yooj Yim Siv STM32F407 Cov Khoom Siv Tshawb Pom thiab GSM A6 Module: 14 Cov Kauj Ruam (nrog Duab)
Kev Siv Xov Tooj Ntawm Lub Xov Tooj Siv STM32F407 Cov Khoom Siv Tshawb Pom thiab GSM A6 Module: Koj puas tau xav tsim qhov kev ua kom txias txias? Yog tias yog, ua li cas txog kev tsim ib qho ntawm cov neeg nyiam tshaj plaws thiab txhua tus nyiam cov khoom siv xws li Lub Xov Tooj Txawb !!!. Hauv Cov Lus Qhia no, Kuv yuav qhia koj yuav tsim lub xov tooj txawb yooj yim siv STM li cas
Tsheb Teeb Tswj Kev Siv ARM Cortex-M4: 3 Kauj Ruam
Cov Teeb Meem Teeb Meem Siv ARM Cortex-M4: Qhov no yog daim phiaj ua mov ci raws txoj haujlwm uas siv ARM Cortex-M4 (Texas Instruments EK-TM4C123GXL) los ua lub teeb pom kev khiav tsheb.Qhov sijhawm RED thiab XEEB LED tau teeb tsa rau 15 Thib Ob. Lub sijhawm ntawm Daj LED tau teeb tsa rau 1 Thib Ob. Ib qho "phiaj xwm"
Kev Sib Txuas Lus Txuas Siv ARM Cortex-M4: 4 Cov Kauj Ruam
Kev Sib Txuas Lus Sib Txuas Siv ARM Cortex-M4: Qhov no yog cov phiajcim raws qhov phiaj xwm uas siv ARM Cortex-M4 (Texas Instruments EK-TM4C123GXL) rau Kev Sib Txuas Lus siv Virtual Terminal. Cov zis tuaj yeem tau txais ntawm 16x2 LCD Screen thiab cov tswv yim rau Kev Sib Txuas Lus tuaj yeem muab hauv Serial Mo