Cov txheej txheem:
- Kauj Ruam 1: Sau tag nrho Cov Khoom Uas Xav Tau
- Kauj ruam 2: Program Arduino Board
- Kauj Ruam 3: Rho Tawm Sab Hauv Loop Tracks
- Kauj Ruam 4: Ua Tus Txheej Txheem
- Kauj Ruam 5: Txuas daim Shield ntawm Arduino Board thiab Ua Kev Txuas Hluav Taws Xob
- Kauj Ruam 6: Txuas qhov 'hnov qab' Taug qab mus rau Arduino Board
- Kauj Ruam 7: Tso lub Locomotive rau ntawm Txoj Kev
- Kauj Ruam 8: Fais Fab Qhov System
- Kauj ruam 9: Saib Nws Ua Haujlwm
- Kauj Ruam 10: Dab Tsi Ntxiv?
Video: Automated Tsheb ciav hlau Rov Qab Siv Arduino: 10 Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:28
Ua rov qab loops tuaj yeem pab ua qauv qhia kev tsheb ciav hlau los hloov cov kev taw qhia ntawm cov tsheb ciav hlau, uas tsis tuaj yeem ua tiav nrog turntables. Txoj hauv kev no, koj tuaj yeem tsim cov kab ib leeg-kab uas muaj lub voj rov qab ntawm txhua qhov kawg kom khiav cov tsheb ciav hlau yam tsis muaj kev ncua lossis cuam tshuam. Yog li, yam tsis muaj ado ntxiv, cia peb pib!
Kauj Ruam 1: Sau tag nrho Cov Khoom Uas Xav Tau
Rau txoj haujlwm no, ntawm no yog cov npe ntawm cov khoom xav tau thiab cov khoom siv:
- Ib lub Arduino microcontroller board, pom zoo sawv daws yog UNO, Leonardo, MEGA.
- Ib daim ntaub thaiv tsav tsheb Adafruit.
- 12-volt DC lub zog siv hluav taws xob (tuaj yeem yog lub roj teeb lossis lub adapter nrog lub peev xwm tso tawm tam sim no tsawg kawg 1.5 amp)
- Rau txiv neej rau txiv neej jumper xov hlau:
- Ib khub los txuas cov neeg tawm mus rau tus tsav tsheb.
- Thib ob los txuas lub zog ntawm txoj kab sab nraud rau tus tsav tsheb.
- Thib peb los txuas lub voj sab hauv rau tus tsav tsheb.
- Ib qho 'sensored' khiav.
- 3 poj niam rau poj niam jumper xov hlau (txuas lub sensor rau Arduino pawg thawj coj saib).
Kauj ruam 2: Program Arduino Board
Yog tias koj tsis muaj Arduino IDE hauv koj lub computer, rub tawm los ntawm no. Lub tsev qiv ntawv rau Adafruit lub tshuab tsav tsheb tuaj yeem pom ntawm no, yog tias koj tsis muaj nws hauv koj li IDE. Nco ntsoov tias koj teeb tsa qhov no hauv koj li IDE ua ntej sau cov program. Yog tias koj xav tau kev pab txhim kho lub tsev qiv ntawv, txheeb xyuas qhov txuas no.
Kauj Ruam 3: Rho Tawm Sab Hauv Loop Tracks
Siv 4 txoj hlua hluav taws xob txuas nrog, cais cov kab sab hauv ntawm txoj kab los ntawm txoj kab sab nraud. Nyem rau ntawm daim duab kom paub ntxiv.
Kauj Ruam 4: Ua Tus Txheej Txheem
Kuv siv N-gauge Kato Unitrack los ua qhov txheej txheem no. Koj tuaj yeem siv lwm txoj hauv kev tsuav yog txhua yam ua haujlwm tau zoo.
Kauj Ruam 5: Txuas daim Shield ntawm Arduino Board thiab Ua Kev Txuas Hluav Taws Xob
Ua ntej yuav txuas tus tsav tsheb daim thaiv, xyuas kom txhua tus pins sib dhos thiab tom qab ntawd thawb daim ntaub thaiv kom ruaj nws mus rau Arduino board. Thaum ua kom lub rooj tsavxwm nyob hauv qhov chaw ncaj (saib daim duab saum toj no) xws li cov pins analog input nyob ntawm koj ib sab, ua cov kev sib txuas hauv qab no:
- Txuas cov xov hluav taws xob mus rau lub davhlau ya nyob twg thaiv cim 'M4' los ntawm kev txuas lub +ve lossis cov xaim liab mus rau lub davhlau ya nyob twg sab saud thiab -v lossis xaim dub mus rau lub dav hlau qis dua.
- Txuas cov xov hluav taws xob ntawm ntu sab hauv ntawm lub voj mus rau lub davhlau ya nyob twg thaiv cim 'M2'. Txuas nws rau tam sim no thiab hloov pauv qhov sib txawv tom qab yog tias lub tsheb ciav hlau lossis lub tsheb txav mus rau qhov tsis raug hauv lub voj lossis tsuas yog nres.
- Txuas cov kab hluav taws xob sab nraud mus rau lub davhlau ya nyob twg thaiv cim 'M1'. Ua tib yam tom qab uas koj yuav ua rau lub zog khiav hauv lub voj sab hauv.
Kauj Ruam 6: Txuas qhov 'hnov qab' Taug qab mus rau Arduino Board
Txuas cov pins ntawm lub sensor raws li hauv qab no:
- VCC rau +5-volts tus pin ntawm Arduino board.
- GND rau GND tus pin ntawm Arduino board.
- Tawm mus rau A0 tus pin ntawm Arduino board.
Kauj Ruam 7: Tso lub Locomotive rau ntawm Txoj Kev
Muab lub locomotive tso rau sab nraud ntawm txoj kab kom kuaj qhov teeb tsa.
Kauj Ruam 8: Fais Fab Qhov System
Fais fab Arduino pawg thawj coj thiab tus tsav tsheb los ntawm kev txuas ob VIN thiab GND tus pin raws li 12-volt zog thiab hauv av feem lossis los ntawm kev txuas lub txuas txuas ntawm lub adapter rau lub qhov hluav taws xob ntawm Arduino board. Txheeb xyuas ob zaug ntawm txhua qhov txuas txuas thiab qhib lub zog.
Kauj ruam 9: Saib Nws Ua Haujlwm
Yog tias txhua yam mus zoo, tom qab ntawv koj teeb tsa yuav tsum ua haujlwm zoo ib yam li tau hais hauv cov vis dis aus saum toj no.
Kauj Ruam 10: Dab Tsi Ntxiv?
Tam sim no koj tau txais qhov piv txwv teeb tsa ua haujlwm, koj tuaj yeem txuas ntxiv lwm lub voj rov qab los ntawm lwm qhov kawg ntawm txoj kab sab nraud kom lub tsheb ciav hlau khiav mus rau ob qho kev qhia ntawm ib txoj hauv kev yam tsis muaj kev cuam tshuam (koj yuav xav tau hloov kho Arduino program rau qhov ntawd). Qhia tawm koj cov txuj ci los ntawm kev hloov kho Arduino program txhawm rau txhawm rau ua haujlwm ntawm txoj haujlwm no lossis tsuas yog qhia rau kuv paub tias koj tau ua dab tsi nrog qhov no. Qhia rau kuv paub yog tias koj tau ua txoj haujlwm no los pab kuv paub tias qhov no muaj txiaj ntsig rau koj txhua lub sijhawm.
Kuv xav koj zoo siab kev tsheb ciav hlau. Txhua yam zoo tshaj plaws!
Pom zoo:
Arduino Tsheb Rov Qab Chaw Nres Tsheb Ceeb Toom - Cov Kauj Ruam ntawm Kauj Ruam: 4 Kauj Ruam
Arduino Tsheb Rov Qab Chaw Nres Tsheb Ceeb Toom | Cov kauj ruam ib kauj ruam: Hauv txoj haujlwm no, kuv yuav tsim qhov yooj yim Arduino Tsheb Rov Qab Tsheb Nres Tsheb Nres Sensor Siv Arduino UNO thiab HC-SR04 Ultrasonic Sensor. Qhov no Arduino raws Lub Tsheb Rov Qab ceeb toom tuaj yeem siv rau Kev Tshawb Fawb Txog Tus Kheej, Robot Ranging thiab lwm yam
Rov Qab Rov Qab PC Cov Khoom Siv Hluav Taws Xob: 12 Cov Kauj Ruam (nrog Duab)
Rov Qab Rov Qab PC Cov Khoom Siv Hluav Taws Xob: Txij li xyoo 1990, lub ntiaj teb tau raug ntxeem los ntawm PCs. Qhov xwm txheej tseem niaj hnub no. Cov khoos phis tawj qub, txog xyoo 2014 … 2015, feem ntau tsis siv lawm. Raws li txhua lub khoos phis tawj muaj lub zog siv, muaj ntau ntawm lawv tso tseg hauv daim ntawv pov tseg.Li
YUAV UA LI CAS ROV QAB ROV QAB NYOB RAU HAUV QAB NTUJ NTUJ Siv MS Lo Lus YOOJ YIM: 12 Kauj Ruam
YUAV UA LI CAS ROV QAB ROV QAB NYOB RAU HAUV NTUJ NTAWV Siv MS Lo Lus YOOJ YIM: nyob zoo cov phooj ywg !! kuv rov !!!!! Kuv nco koj txhua tus :) kuv muaj cov lus qhia tshiab uas yooj yim heev !!! koj puas paub koj tuaj yeem kho cov duab hauv microsoft lo lus ?? yog koj tuaj yeem tshem rov qab lossis txhim kho daim duab ,,, yog tias koj tsis tau sim lwm cov apps koj tuaj yeem siv
Qauv tsheb ciav hlau - DCC Chaw Hais Kom Siv Chaw Siv Arduino :: 3 Kauj Ruam
Qauv Kev Siv Hluav Taws Xob - DCC Cov Chaw Nres Nkoj Siv Arduino :: Hloov Kho Lub Yim Hli 2018 - Saib Cov Lus Qhia Tshiab: https: //www.instructables.com/id/Model-Railroad-DC…Update 28th Plaub Hlis 2016: Tam sim no 16 qhov kev tawm/cov ntsiab lus tswj lub peev xwm mus rau Command Station. Kev tawm mus T1 - T8 muaj nyob ntawm 'B' qhov tseem ceeb Qhov kev tawm mus T9 - T1
Yuav Ua Li Cas Teeb Lub Tsheb ciav hlau Hi-rail Tsheb ntawm Txoj Kev: 10 Kauj Ruam (nrog Duab)
Yuav Ua Li Cas Teeb Txoj Kev Tsheb Ciav Hlau Hi-rail rau ntawm Txoj Kev: Ceev faj Txog Kev Nyab Xeeb: Tus neeg teeb tsa lub tsheb ciav hlau hi-rail ntawm txoj kev tsheb nqaj hlau thiab tus neeg pab yuav tsum hnav khaub ncaws kom pom kev zoo (ex. Tsho khuam, tsho loj, tsho loj) thiaj li pom los ntawm kev tuaj yeem tuaj yeem khiav tsheb. Lub hardhat thiab hnab looj tes yuav tsum tau hnav rau