Cov txheej txheem:
- Kauj ruam 1: Saib Video
- Kauj ruam 2: Tau txais tag nrho cov khoom xav tau
- Kauj Ruam 3: Program Arduino Microcontroller
- Kauj Ruam 4: Hloov Cov Neeg Koom Nrog Rail ntawm Kev Tawm
- Kauj Ruam 5: Teeb Tus Txheej Txheem
- Kauj Ruam 6: Txhim Kho Lub Cev Tsav Tsheb ntawm Arduino Board thiab Txuas Cov Hluav Taws Xob thiab Cov Hluav Taws Xob
- Kauj Ruam 7: Txuas lub Sensors
- Kauj Ruam 8: Txheeb Ob Zaug Txhua Qhov Txuas Hluav Taws Xob
- Kauj Ruam 9: Txuas Lub Teeb rau Fais Fab
- Kauj Ruam 10: Muab Tsheb nqaj hlau/tsheb ciav hlau tso rau ntawm Kab Kab
- Kauj Ruam 11: Fais fab Kev Teeb
- Kauj Ruam 12: Saib Koj Lub Tsheb ciav hlau Mus
- Kauj Ruam 13: Troubleshoot Yog Xav Tau
- Kauj Ruam 14: Mus Furthur
Video: Automated Model Railroad Layout With Reverse Loops: 14 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:25
Hauv ib qho ntawm kuv Cov Lus Qhia yav dhau los, Kuv tau qhia yuav ua li cas thiaj ua tau yooj yim Automated Point to Point Model Railroad. Ib qho ntawm qhov tsis zoo ntawm txoj haujlwm ntawd yog lub tsheb ciav hlau yuav tsum tau txav mus rau qhov rov qab rau rov qab mus rau qhov pib. Khiav lub tsheb ciav hlau hauv qhov kev teeb tsa txhais tau tias nws yuav tsum tau khiav rov qab nrog lub tsheb ciav hlau nyob tom qab. Yog li, hauv Cov Lus Qhia no, cia peb kawm ua tus qauv zoo sib xws nrog lub voj rov qab ntawm txhua qhov kawg yog li peb lub tsheb ciav hlau tuaj yeem khiav mus rau tom ntej txhua lub sijhawm. Cia peb pib!
Kauj ruam 1: Saib Video
Saib cov vis dis aus saum toj no kom nkag siab zoo dua ntawm txoj haujlwm no.
Kauj ruam 2: Tau txais tag nrho cov khoom xav tau
Rau qhov haujlwm no, koj yuav xav tau:
-
Cov khoom siv hluav taws xob:
- Arduino microcontroller sib xws nrog Adafruit Motor Shield V2. (1)
- Adafruit Motor Shield V2.
- 2 'Sensored' khiav.
- 10 tus txiv neej rau txiv neej jumper xov hlau.
- 12-volt DC fais fab tuag.
-
Qauv khoom siv tsheb ciav hlau:
- 2 kev tawm mus (Ib qho rau txhua lub voj rov qab).
- 3 txoj kev pub khoom noj (Ib qho rau lub ntsiab lus tseem ceeb thiab ob seem rau txhua lub voj rov qab).
- 4 cov tsheb nqaj hlau txuas nrog (Tau 4 ntxiv yog tias cov neeg siv tawm los tsis muaj "Power Routing" feature).
1. Txhua R3 Arduino board xws li UNO, Leonardo, thiab cov zoo sib xws tuaj yeem siv tau. Cov laug cam zoo li Mega kuj tseem tuaj yeem siv nrog kev hloov kho me ntsis (Tau txais kev pab ntawm no).
Kauj Ruam 3: Program Arduino Microcontroller
Kuv yuav pom zoo kom hla tus lej Arduino kom nkag siab tob dua ntawm txoj cai ua haujlwm li cas hauv kev ua kom lub tsheb ciav hlau khiav ncig qhov teeb tsa.
Kauj Ruam 4: Hloov Cov Neeg Koom Nrog Rail ntawm Kev Tawm
Yog tias qhov kev tawm mus siv tau muaj qhov "Lub Hwj Chim" qhov tshwj xeeb ces tsuas yog txoj kab sab nrauv yuav tsum tau muab hluav taws xob cais tawm uas siv cov tsheb nqaj hlau thaiv. Yog tias qhov kev siv tawm mus los tsis muaj qhov tshwj xeeb no, tag nrho 4 txoj kab yuav tsum raug cais tawm hluav taws xob.
Kauj Ruam 5: Teeb Tus Txheej Txheem
Txoj kab 'hnov qab' yuav raug teeb tsa ntawm qhov nkag ntawm txhua qhov rov qab. Cov kab tseem ceeb thiab ob lub voj rov qab txhua tus yuav muaj cov khoom sib cais.
Txiav txim siab qhov twg ntawm cov loops yuav yog loop A thiab B. Lub voj uas lub tsheb ciav hlau yuav nkag mus thawj zaug thaum pib yuav yog loop A thiab lwm qhov yuav yog loop B. hauv kab B yuav yog cov neeg tawm mus B.
Kauj Ruam 6: Txhim Kho Lub Cev Tsav Tsheb ntawm Arduino Board thiab Txuas Cov Hluav Taws Xob thiab Cov Hluav Taws Xob
Kev tawm:
Ob qhov kev tawm mus yuav tsum tau txuas nrog ua ke tab sis nyob hauv qhov tsis sib thooj sib txawv kom lawv ib txwm hloov pauv hauv cov lus qhia rov qab.
- Txuas qhov kev tawm tsam A mus rau lub cav thaiv raws li pom hauv daim duab 4.
- Txuas qhov kev tawm tsam B mus rau lub cav thaiv raws li qhia hauv daim duab 5.
Taug qab feeders:
Cov khoom noj khoom noj rau ob qho rov qab loops yuav tsum tau txuas nrog ua ke nrog tib qhov sib txawv kom lub tsheb ciav hlau txav mus rau tib qho kev coj ua hauv ob lub loops, piv txwv li, nkag los ntawm kab kab ntawm txoj kev tawm thiab tawm ntawm sab ncaj (Saib cov vis dis aus hauv Kauj Ruam 1 kom paub meej ntxiv).
- Txuas cov kab hluav taws xob txuas hluav taws xob txuas mus rau lub cev tiv thaiv kab mob raws li qhia hauv daim duab 5. Ua kom ntseeg tau tias qhov sib txuas ntawm qhov sib txuas yog qhov uas lub tsheb ciav hlau txav mus rau lub voj A thaum pib.
- Txuas cov kab hluav taws xob txuas hluav taws xob txuas mus rau lub cav thaiv raws li pom hauv daim duab 6.
Kauj Ruam 7: Txuas lub Sensors
Txuas cov ntsuas '-ve tus pin mus rau' GND 'header thiab +v pins rau +5 -volt header. 'IQREF' tus pin ntawm Arduino board kuj tseem tuaj yeem siv ua +5-volt kev txuas rau lub zog ntsuas hluav taws xob rau cov laug cam ua haujlwm ntawm lub logic voltage theem ntawm 5-volts.
Txuas lub sensor qhov tso tawm tus pin uas nyob ib sab rau thawj lub voj rov qab rau cov tswv yim 'A0' ntawm Arduino pawg thawj coj saib thiab tus pin tso tawm ntawm lub sensor nyob ib sab rau lub voj rov qab thib ob rau tus pin nkag 'A1' ntawm Arduino board.
Kauj Ruam 8: Txheeb Ob Zaug Txhua Qhov Txuas Hluav Taws Xob
Nco ntsoov tias txhua txoj hlua tau ua tiav kom raug thiab tsis muaj kev sib txuas xoob.
Kauj Ruam 9: Txuas Lub Teeb rau Fais Fab
Koj tuaj yeem txuas tus Adapter mus rau Arduino pawg thawj coj poj niam DC jack txuas lossis koj tuaj yeem siv lub davhlau ya nyob twg thaiv ntawm lub cav tiv thaiv kom muaj zog los teeb tsa.
Kauj Ruam 10: Muab Tsheb nqaj hlau/tsheb ciav hlau tso rau ntawm Kab Kab
Kev siv cov cuab yeej rerailer tau pom zoo heev, tshwj xeeb tshaj yog rau chav tso tsheb hlau luam. Nco ntsoov tias lub log ntawm lub tsheb ciav hlau thiab cov khoom thauj khoom (Yog tias siv) ua kom raug raws txoj kab.
Kauj Ruam 11: Fais fab Kev Teeb
Kauj Ruam 12: Saib Koj Lub Tsheb ciav hlau Mus
Tom qab fais fab tuag, qhov kev tawm suab hauv lub voj A yuav tsum hloov mus rau sab thiab cov neeg tawm hauv lub voj B yuav tsum hloov mus ncaj. Tom qab ntawd, lub tsheb ciav hlau/tsheb ciav hlau yuav tsum pib ua mus rau lub voj A.
Yog tias muaj qee yam tsis raug, tshem lub zog teeb tsa tam sim ntawd txhawm rau tiv thaiv cov tsav tsheb kom tsis txhob kib.
Kauj Ruam 13: Troubleshoot Yog Xav Tau
Yog tias qhov kev hloov pauv tshwj xeeb hauv txoj kev tsis raug, thim rov qab qhov sib txawv ntawm nws qhov kev sib txuas. Ua tib yam rau cov khoom siv hluav taws xob khiav yog tias lub tsheb ciav hlau pib txav mus rau qhov tsis raug.
Yog tias teeb tsa rov pib dua tom qab ib ntus tom qab pib ua haujlwm txawm tias qhov kev hloov pauv tau hloov pauv kom raug, txheeb xyuas qhov tsis sib xws ntawm kev sib txuas ntawm cov kab noj ntawm txoj kab rov qab thiab xyuas kom tseeb tias tam sim no ntws mus rau qhov raug, thim rov qab qhov tsis sib xws yog xav tau
Kauj Ruam 14: Mus Furthur
Tom qab koj tau txais koj txoj haujlwm ua haujlwm tiav, vim li cas ho tsis tinker nrog nws? Hloov cov cai Arduino kom haum rau koj cov kev xav tau, ntxiv cov yam ntxwv ntxiv, tej zaum yog hla dhau? Los yog khiav ntau lub tsheb ciav hlau? Txawm koj ua dab tsi, txhua qhov zoo tshaj plaws!
Pom zoo:
Yooj Yim Automated Point to Point Model Railroad: 10 Kauj Ruam (nrog Duab)
Yooj Yim Automated Point to Point Model Railroad: Arduino microcontrollers yog qhov zoo rau siv cov qauv kev tsheb ciav hlau. Kev siv tshuab txheej txheem muaj txiaj ntsig zoo rau ntau lub hom phiaj zoo li tso koj tus qauv teeb tsa ntawm cov zaub uas qhov kev teeb tsa kev teeb tsa tuaj yeem ua haujlwm kom khiav cov tsheb ciav hlau hauv ib qho kev ua haujlwm tsis siv neeg. Qhov l
Automated Model Railroad Layout Running Two Train (V2.0) - Arduino Raws: 15 Cov Kauj Ruam (nrog Duab)
Automated Model Railroad Layout Running Two Train (V2.0) | Arduino Raws: Kev siv tus qauv kev tsheb ciav hlau siv Arduino microcontrollers yog txoj hauv kev zoo ntawm kev koom ua ke microcontrollers, kev tsim qauv thiab qauv kev tsheb ciav hlau mus rau ib qho haujlwm. Muaj ib pawg ntawm cov haujlwm muaj nyob rau ntawm kev khiav tsheb ciav hlau ntawm tus qauv kev tsheb ciav hlau
Yooj Yim Automated Point to Point Model Railroad Running Two Trains: 13 Cov Kauj Ruam (nrog Duab)
Yooj Yim Automated Point to Point Model Railroad Khiav Ob Lub Tsheb ciav hlau: Arduino microcontrollers yog txoj hauv kev zoo ntawm kev siv tus qauv kev tsheb ciav hlau teeb tsa vim tias lawv muaj cov nqi qis, qhib kho vajtse thiab software thiab zej zog loj los pab koj. Rau cov qauv kev tsheb ciav hlau, Arduino microcontrollers tuaj yeem ua pov thawj los ua ib qho
Yooj Yim Automated Model Railroad Loop Nrog Yard Siding: 11 Kauj Ruam
Yooj Yim Automated Model Railroad Loop Nrog Yard Siding: Qhov haujlwm no yog kho dua tshiab ntawm ib qho ntawm kuv cov phiaj xwm yav dhau los. Qhov no siv Arduino microcontroller, qhov zoo qhib qhov chaw tsim qauv, kom siv tus qauv tsheb ciav hlau qauv. Cov txheej txheem suav nrog lub voj voos yooj yim thiab ib lub tiaj tiaj tiaj
Automated Point to Point Model Railroad With Yard Siding: 10 Kauj Ruam (nrog Duab)
Automated Point to Point Model Railroad Nrog Yard Siding: Arduino microcontrollers qhib qhov muaj peev xwm ua tau zoo hauv cov qauv kev tsheb ciav hlau, tshwj xeeb tshaj yog thaum nws los txog rau kev siv tshuab. Txoj haujlwm no yog piv txwv ntawm daim ntawv thov no. Nws yog qhov txuas ntxiv ntawm ib qho ntawm cov haujlwm yav dhau los. Qhov project no suav nrog qhov taw qhia