Cov txheej txheem:
- Kauj Ruam 1: Cov Cuab Yeej thiab Cov Khoom
- Kauj Ruam 2: Qee Qhov Tseem Ceeb
- Kauj Ruam 3: Dip Hloov Chaw ntawm RS422 Shields
- Kauj Ruam 4: Jumper Settings ntawm RS422 Shields
- Kauj Ruam 5: Kev thaiv kab
- Kauj Ruam 6: Software thiab Xeem
Video: Yuav Ua Li Cas Siv Industrial Encoders Nrog Arduino: 6 Cov Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:26
Cov lej nkag mus ntau ntxiv feem ntau siv rau cov ntawv thov kev lag luam xws li neeg hlau lossis kev nrhiav chaw. Encoders rau daim ntawv thov kev lag luam los feem ntau nrog qhov sib txawv RS422 interface.
Kuv yuav qhia hauv qhov haujlwm me me no yuav siv lub tshuab tsim khoom ntxiv li cas - hauv peb qhov xwm txheej SICK DFS60 - nrog Arduino UNO.
Kauj Ruam 1: Cov Cuab Yeej thiab Cov Khoom
Khoom siv
- Arduino UAS
- 3x RS422 Shield rau Arduino
- nce tus lej nkag mus (Mob DFS60)
Cov cuab yeej
- Ntsia Hlau
- kuaj fais fab
Kauj Ruam 2: Qee Qhov Tseem Ceeb
RS422 cov zis ntawm tus lej nkag tsuas yog siv rau txheej txheej kho vajtse xwb. Tsis muaj cov txheej txheem sib txuas yuav raug xa hla RS422. Tsuas yog cov mem tes ntawm tus encoder nws tus kheej tau hloov ncaj qha los ntawm 3 qhov sib txawv RS422 raws: SIN, COS thiab Z (xoom txoj haujlwm).
Vim tias 3 txoj kev ywj pheej RS422 raws peb xav tau 3 RS422 cov tswv yim rau Arduino. Rau lub hom phiaj no kuv tau siv 3 pcs ntawm kuv Arduino RS422/RS485 cov ntaub thaiv npog - teeb ntawm ib qho Arduino.
Kauj Ruam 3: Dip Hloov Chaw ntawm RS422 Shields
Lub teeb hloov chaw rau txhua daim ntaub thaiv yog tib yam:
- S1: ON, OFF, OFF, OFF (txais ib txwm nyob ntawm / xa tawm ib txwm tawm)
- S2: OFF, OFF, ON, ON
- S3: ON, OFF, OFF, OFF (txiav tawm resistor rau)
Kauj Ruam 4: Jumper Settings ntawm RS422 Shields
Jumper teeb tsa rau ib qho thaiv yog txawv. Nyob ntawm qhov sib txuas channel RX tus pin tau teeb tsa rau:
- Z: D2 yog
- Qauv: D3
- SIB: D4
Qhov hluav taws xob jumper JP1 yuav tsum tau teeb tsa rau 5V.
Kauj Ruam 5: Kev thaiv kab
Tus lej nkag tuaj yeem siv tau los ntawm lub chaw kuaj hluav taws xob lossis ncaj qha los ntawm 5V ntawm Arduino UNO
Kauj Ruam 6: Software thiab Xeem
Thov sau cov ntawv INO txuas hauv qab Arduino IDE. Tom qab rub tawm txoj haujlwm mus rau Arduino koj yuav tsum qhib qhov ntsuas nrog 115200 baud.
Koj yuav pom tus nqi nce tam sim no (hloov kho tag nrho 0, 5s) thiab qhov xwm txheej tam sim no ntawm Encoder muaj….
Pom zoo:
YUAV UA LI CAS YUAV UA LI CAS YUAV TSUM MUAJ KEV LAG LUAM CIRCUIT Siv D882 Tus Neeg Soj Ntsuam: 3 Kauj Ruam
YUAV UA LI CAS YUAV UA LI CAS YUAV TSUM TAU LWM YAM CIRCUIT Siv D882 Tus Kws Tshaj Lij: HELLO phooj ywg, Zoo siab txais tos rau kuv CHANNEL, Hnub no kuv yuav qhia koj li cas kom ua tau CIRCUIT ntawm kev siv hluav taws xob tsis siv neeg lub teeb pom kev siv D882
YUAV UA LI CAS YUAV UA LI CAS YUAV TSUM ROBOT COOB SCARECROW: 16 Cov Kauj Ruam (nrog Duab)
YUAV UA LI CAS YUAV TSUM NYOB ROBOT COW SCARECROW: Kuv nyuam qhuav tsim Moo-Bot, tus neeg hlau nyuj scarecrow dhia hla lub hli, rau kev sib tw hauv zej zog scarecrow.Kuv kev tshoov siab yog los ntawm kuv tus tub hu nkauj "hey diddle diddle, miv thiab fiddle. .. " Txoj haujlwm zoo heev los ua haujlwm nrog kuv
Yuav Ua Li Cas Kom Muaj Kev Nyab Xeeb Desolder Cov Khoom Siv Hluav Taws Xob rau Kev Siv Rov Los: 9 Cov Kauj Ruam (nrog Duab)
Yuav Ua Li Cas Kom Muaj Kev Nyab Xeeb Desolder Cov Khoom Siv Hluav Taws Xob rau Rov Rov Los: Nyob zoo! Kuv yog cov khoom siv hluav taws xob nerd, yog li kuv nyiam ua si nrog cov khoom siv hluav taws xob sib txawv hauv kuv cov phiaj xwm. Txawm li cas los xij, Kuv yuav tsis tas li muaj cov khoom kuv xav tau kom ua tiav kuv txoj haujlwm. Qee zaum nws yooj yim dua los rub cov khoom kuv xav tau los ntawm cov khoom siv hluav taws xob qub
Yuav Siv Mac Terminal Li Cas, thiab Yuav Siv Li Cas Tseem Ceeb: 4 Kauj Ruam
Yuav Siv Mac Terminal Li Cas, thiab Yuav Siv Li Cas Cov Haujlwm Tseem Ceeb: Peb yuav qhia koj li cas qhib MAC Terminal. Peb kuj tseem yuav qhia koj ob peb yam hauv Terminal, xws li ifconfig, hloov cov npe, nkag mus rau cov ntaub ntawv, thiab arp. Ifconfig yuav tso cai rau koj los tshuaj xyuas koj tus IP chaw nyob, thiab koj li MAC ad
Yuav Ua Li Cas Tswj Cov Khoom Siv Hauv Tsev Nrog TV Chaw Taws Teeb Nrog Timer Ua Haujlwm: 7 Cov Kauj Ruam (nrog Duab)
Yuav Ua Li Cas Tswj Cov Khoom Siv Hauv Tsev Nrog TV Chaw Taws Teeb Nrog Lub Sijhawm Ua Haujlwm: Txawm tias tom qab 25 xyoo ntawm nws qhov kev qhia rau cov neeg siv khoom lag luam, kev sib txuas lus infrared tseem muaj feem cuam tshuam nyob rau hnub tsis ntev los no. Txawm hais tias nws yog koj li 55 nti 4K TV lossis koj lub suab lub tsheb, txhua yam xav tau IR chaw taws teeb tswj los teb rau peb