Cov txheej txheem:
- Kauj ruam 1: Saib Video
- Kauj ruam 2: Cov ntaub ntawv
- Kauj Ruam 3: Kev thaiv kab hlau
- Kauj Ruam 4: Tsim Lub Rooj Tswjhwm Saib Circuit
- Kauj ruam 5: Code
Video: Tswj DC Motors Nrog Arduino thiab L293: 5 Cov Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:26
Txoj hauv kev yooj yim los tswj DC lub cav. Txhua yam koj xav tau yog kev paub txog hluav taws xob thiab kev ua haujlwm
Yog tias koj muaj lus nug lossis teeb meem koj tuaj yeem tiv tauj kuv ntawm kuv tus email: [email protected]
Mus ntsib kuv tus youtube channel:
Yog li cia pib.
Kauj ruam 1: Saib Video
Koj tseem tuaj yeem pom tias txoj haujlwm no ua haujlwm li cas
www.youtube.com/watch?v=tm69V7npSg8
Kauj ruam 2: Cov ntaub ntawv
Txhua yam ntaub ntawv koj xav tau tuaj yeem nrhiav tau ntawm ebay lossis amazon. Tab sis yog tias koj muaj cov khoom siv hluav taws xob qub xws li tshuab luam ntawv lossis lwm yam koj tuaj yeem tau txais cov ntaub ntawv los ntawm qhov ntawd.
Tus Neeg Pab Txhawb Txuas: UTSource.net Xyuas Nws yog lub vev xaib ntseeg tau rau kev xaj cov khoom siv hluav taws xob nrog pheej yig
tus nqi thiab zoo heev
Rau qhov haujlwm no koj yuav xav tau:
-motor tsav L293D
-Arduino Mega 2560 lossis Uno
-daim ntawv qhia
-9V roj teeb
-DC lub cev muaj zog
-9V roj teeb rooj
-qee cov xov hlau
-Green thiab liab LED diodes
-Ob lub laub khawm
-two 10k ohm resistors
Tsav tsheb L293D
Koj tuaj yeem siv cov nti no los tswj ib lossis ob lub cav sib txawv Nws nyob hauv TTL tsev neeg, uas txhais tau tias nws khiav ntawm 5V+.
Nws muaj 16 tus pin
Pin 1 no connect
Pin 2 yog cov tswv yim
Pin 3 yog qhov tso tawm rau lub cev muaj zog
Pin 4 thiab 5 txuas nrog GND ntawm roj teeb
Pin 6 yog qhov tso tawm thib ob rau lub cev muaj zog
Tus Pin 7 yog lub tswv yim thib ob
Pin 8 yog V+ los ntawm roj teeb (9V)
Ntawm lwm sab yog tib yam tsuas yog:
Tus pin 16 yog Vcc+
Pin 9 no connect
Kauj Ruam 3: Kev thaiv kab hlau
Yog tias koj yuav muaj teeb meem nrog thaiv koj tuaj yeem pab koj tus kheej nrog cov duab. Ntau saum toj no muaj kev tswj hwm lub cev 1 lub zog thiab nqes qis yog kev tswj hwm 2 lub cav. Kuv ua piv txwv nrog tsuas yog ib lub cav.
Cov tswv yim digital 2 txuas nrog ON khawm (khawm nrog lub hau xiav)
Cov tswv yim digital 3 txuas nrog OFF khawm (khawm nrog lub hau liab)
Nrog ob lub khawm no koj tuaj yeem hloov kev taw qhia ntawm kev sib tw
Koj yuav tsum txuas 10k ohm resistor ntawm GND los ntawm Arduino kom thawb khawm tus pin.
Ntsuab LED diode txuas nrog cov khoom siv digital 5
Liab LED diode txuas nrog cov khoom siv digital 4
Txuas L293D
Pin 1 tsis txuas yog li koj cia nws khoob.
Tom ntej no yog Pin 2 uas yog txuas rau digital tso tawm ntawm Arduino (koj tuaj yeem xaiv ib qho digital tso tawm los ntawm 2 txog 53)
Pin 3 txuas ncaj qha rau lub cav
Pin 4 thiab 5 txuas nrog roj teeb GND
Pin 6 txuas ncaj qha rau lub cav
Tus Pin 7 yog txuas rau cov khoom siv digital ntawm Arduino
Pin 8 yog V+ los ntawm roj teeb. Kuv qhia koj kom siv roj teeb 9V yog li lub cav yuav ua haujlwm tau zoo
Yog tias koj xav tau sijhawm koj tuaj yeem tsim hluav taws xob.
Koj yuav tsum tau ceev faj tias koj txuas GND ntawm Arduino nrog GND ntawm roj teeb
Yog tias koj xav tswj ob lub cav koj yuav tsum xaim lwm sab ntawm L293D
Pin 16 yog Vcc+. Koj tau txais 5V qhov hluav taws xob los ntawm Arduino
Tus Pin 15 txuas nrog digital tso tawm ntawm Arduino
Tus Pin 14 txuas nrog ncaj qha rau lub cav
Pin 13 thiab tus pin 12 txuas nrog GND ntawm roj teeb
Tus Pin 11 txuas nrog ncaj qha rau lub cav
Tus Pin 10 txuas nrog digital tso tawm ntawm Arduino
Pin 9 no connect
Kauj Ruam 4: Tsim Lub Rooj Tswjhwm Saib Circuit
Kuv tau ua qhov Circuit no los ntawm kuv tus kheej. Rau qhov kos rau hauv Circuit yog siv SprintLayout. Qhov no yog qhov program rau kos cov kab hluav taws xob, hauv txoj haujlwm no koj muaj txhua qhov ntev ntawm cov khoom siv hluav taws xob yog li yooj yim koj tuaj yeem ua Circuit rau txhua yam uas koj xav tau.
Rau kev kos duab lub rooj tsavxwm no siv CNC engraving milling tshuab. Kuv siv lub rooj tsav xwm ib txwm rau cov kab hluav taws xob uas tau pom nrog tooj liab ntawm ib sab. Thaum lub rooj tsavxwm tiav kuv tau txhuam nws nrog cov xuab zeb zoo heev. Kuv siv cov cawv thiab cov paj ntoo ua hmoov. qhov sib xyaw no kuv tau coatted tooj liab sab los tiv thaiv nws.
Kauj ruam 5: Code
Kuv ua peb tus lej sib txawv.
Tsav tswj:
Tom qab txhua 5 vib nas this lub cev muaj zog hloov txoj hauv kev tig
Tsav tswj nrog 1 khawm:
Thaum koj ntaus khawm thawj zaug lub cev muaj zog tig rau hauv ib qho kev taw qhia, thaum koj tsoo lub pob thib ob lub cev muaj zog pib tig rau lwm sab
Tsav tswj nrog 2 khawm:
Thaum koj tsoo ON khawm lub cev muaj zog tig rau hauv ib qho kev taw qhia, thaum koj tsoo OFF khawm lub cev muaj zog tig rau lwm txoj kev.
Pom zoo:
Cov Duab Duab Duab thiab Cov Duab 1: 4 Cov Kauj Ruam (nrog Duab)
Cov Duab Duab Cubes thiab Cov Duab 1: Thaum sim nrog qee cov ntoo ntoo thiab cov duab los qhia, kuv pom ob peb txoj hauv kev los ua cov voos thiab lwm yam duab los ntawm cov khoom siv yooj yim. Los ntawm kev muab cov no los ua Cov Ntawv Qhia, Kuv vam tias yuav txhawb nqa kev ua si thiab kev kawm. Kev hloov pauv ntawm qhov kev qhia no
Tswj 3 Servo Motors Nrog 3 Potentiometers thiab Arduino: 11 Cov Kauj Ruam (nrog Duab)
Tswj 3 Servo Motors Nrog 3 Potentiometers thiab Arduino: Nyob zoo. Nov yog kuv thawj qhov kev qhia, yog li kuv vam tias koj yuav ua siab ntev nrog kuv yog tias kuv ua yuam kev teeb tsa nws. Nws tau sau rau cov pib tshiab, yog li ua tau zoo dua ntawm koj tuaj yeem hla ntau qhov no thiab tsuas yog tau txuas rau nws. Lub hom phiaj kuv tau teeb tsa
8 Relay Tswj Nrog NodeMCU thiab IR Txais Txais Siv WiFi thiab IR Chaw Taws Teeb thiab Android App: 5 Kauj Ruam (nrog Duab)
8 Relay Tswj Nrog NodeMCU thiab IR Txais Txais Siv WiFi thiab IR Chaw Taws Teeb thiab Android App: Tswj 8 qhov hloov pauv hloov siv nodemcu thiab ir tus txais tshaj wifi thiab ir chaw taws teeb thiab hauv app.the ir tej thaj chaw deb ua haujlwm ywj pheej ntawm wifi txuas. NTUJ
Wi-nkaus Tswj FPV Rover Robot (nrog Arduino, ESP8266 thiab Stepper Motors): 11 Kauj Ruam (nrog Duab)
Wi-nkaus Tswj FPV Rover Robot (nrog Arduino, ESP8266 thiab Stepper Motors): Cov lus qhia no qhia yuav ua li cas tsim kom muaj kev tswj xyuas ob lub log neeg tsav tsheb nyob deb dhau ntawm Wi-nkaus network, siv Arduino Uno txuas nrog ESP8266 Wi-nkaus module thiab ob lub tshuab hluav taws xob. Tus neeg hlau tuaj yeem tswj tau los ntawm kev siv internet zoo ib yam
Begging Neeg Hlau Nrog Saib Xyuas Lub Ntsej Muag thiab Tswj los ntawm Xbox Tus Tswj - Arduino: 9 Cov Kauj Ruam (nrog Duab)
Begging Robot Nrog Lub ntsej muag taug qab thiab Tswj los ntawm Xbox Controller - Arduino: Peb tab tom yuav ua tus thov neeg hlau. Tus neeg hlau no yuav sim ua rau khaus lossis ua rau pom kev dhau ntawm tib neeg. Nws yuav ntes lawv lub ntsej muag thiab sim tua lasers ntawm lawv. Yog tias koj muab tus neeg hlau ib npib, nws yuav hu nkauj thiab seev cev. Tus neeg hlau yuav xav tau