Cov txheej txheem:
- Kauj Ruam 1: Kev Npaj Khoom
- Kauj ruam 2: Tus Pin Txuas
- Kauj ruam 3: Coding
- Kauj Ruam 4: Xeem DC Tsav
- Kauj ruam 5: Qhov tshwm sim
- Kauj ruam 6: Yees duab
Video: DC Tsav thiab Encoder rau Txoj Haujlwm thiab Kev Tswj Ceev: 6 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:25
Taw qhia
Peb yog pab pawg UQD10801 (Robocon I) cov tub ntxhais kawm los ntawm Universiti Tun Hussei Onn Malaysia (UTHM). Peb muaj 9 pab pawg hauv chav kawm no. Kuv pab pawg yog pab pawg 2. Our pab pawg ua haujlwm yog DC lub cev muaj zog thiab tus lej nkag mus rau txoj haujlwm thiab tswj nrawm. Peb pab pawg lub hom phiaj yog tswj DC lub cav tig nrog qhov nrawm peb xav tau.
Nqe lus piav qhia
Tsav tsheb electromotors xav tau lub siab tam sim no. Ib qho ntxiv, kev taw qhia tig thiab nrawm yog ob yam tseem ceeb uas yuav tsum tau tswj. Cov kev xav tau no tuaj yeem ua tiav los ntawm kev siv lub microcontroller (lossis pawg tswj hwm kev txhim kho zoo li Arduino). Tab sis muaj teeb meem; Microcontrollers tsis tuaj yeem muab tam sim no txaus los ua lub cav thiab yog tias koj txuas lub tshuab rau lub microcontroller ncaj qha, koj yuav ua rau lub microcontroller puas tsuaj. Ua piv txwv, Arduino UNO pins raug txwv rau 40mA ntawm qhov tam sim no uas tsawg dua 100-200mA tam sim no tsim nyog tswj lub zog me me. Txhawm rau daws qhov no, peb yuav tsum siv tus tsav tsheb. Tsav tsheb tuaj yeem txuas nrog lub microcontroller kom tau txais cov lus txib thiab khiav lub cav nrog lub siab tam sim no.
Kauj Ruam 1: Kev Npaj Khoom
Cov Khoom Siv Tau
Txhawm rau ua qhov haujlwm no, peb yuav tsum npaj:
-Arduino UNO R3
-2 Potentiometer nrog 10kOhm
-2 DC tsav nrog encoder
-Power mov nrog 12V thiab 5A
-H-choj tsav tsheb
-2 laub khawm
-8 resistor nrog 10kOhm
-Jumper xov hlau
-Breadvroad me me
Kauj ruam 2: Tus Pin Txuas
1. For sab laug lub cev txuas mus rau Arduino UNO 3:
-Channel A rau tus pin 2
-Channel B rau tus pin 4
2. For txoj cai tsav txuas rau Arduino UNO 3:
-Channel A rau tus pin 3
-Channel B rau tus pin 7
3. For cov potentiometer 1 txuas rau Arduino UNO 3:
-Wiper rau A4 analog
4. For potentiometer 2 txuas rau Arduino UNO 3:
-Wiper rau A5 analog
5. For laub khawm 1 txuas rau Arduino UNO 3:
-Terminal 1a rau tus pin 8
6. For laub khawm 2 txuas rau Arduino UNO 3:
-Terminal 1a rau tus pin 9
7. For H-Choj Tsav Tsav txuas rau Arduino UNO 3:
-Pab 1 rau tus pin 11
-Pab tswv yim 2 rau tus pin 6
Kauj ruam 3: Coding
Koj tuaj yeem rub lub coding los ntsuas DC lub cav uas tuaj yeem tig tau. Qhov coding no tuaj yeem pab koj ua kom DC lub cav tig thiab ua haujlwm. Koj yuav tsum rub tawm qhov coding no rau koj lub PC rau qib tom ntej.
Kauj Ruam 4: Xeem DC Tsav
Yog li, ua ntej koj rub tawm cov lej los ntawm cov kauj ruam dhau los, koj yuav tsum qhib nws hauv koj li Arduino IDE uas twb tau teeb tsa hauv koj lub PC lossis siv Tinkercad hauv online. Tinkercad hauv online, koj tsuas yog tso qhov coding no mus rau "Code" uas tau qhia hauv daim duab. pib qhov system no.
Kauj ruam 5: Qhov tshwm sim
Tom qab peb pib qhov kev sim, peb tuaj yeem pom ob qho ntawm DC lub cev muaj zog tig tab sis cov lus qhia sib txawv. Thaum peb pom "Serial Monitor", M1 kev taw qhia yog clockwise thiab M2 qhov kev taw qhia yog anti-clockwise.
Pom zoo:
Siv Kev Cia Siab Lub Hauv Paus txuas ntxiv txhawm rau Nrhiav Lub Tuam Tsev Tsis Ua Haujlwm Txoj Cai Ua Haujlwm Hauv Koj Tsev Neeg Tsob Ntoo ntawm Kev Tshawb Nrhiav Tsev Neeg: 11 Kauj Ruam
Siv Kev Cia Siab Lub Hauv Paus Txuas Ntxiv kom Nrhiav Lub Tuam Tsev Tsis Ua Haujlwm Ua Haujlwm Hauv Koj Tsev Neeg Tsob Ntoo ntawm Kev Tshawb Nrhiav Tsev Neeg: Lub hom phiaj ntawm cov lus qhia no yog los qhia seb yuav tshawb nrhiav koj tsev neeg tsob ntoo li cas hauv Tsev Neeg Nrhiav rau cov poj koob yawm txwv nrog kev ua haujlwm hauv lub tuam tsev tsis tiav siv Kev Cia Siab lub hauv siab txuas ntxiv. Siv Kev Cia Siab Lub Hauv Paus tuaj yeem ua rau koj qhov kev tshawb nrhiav tsis tiav
24v DC Tsav mus rau Kev Kub Ceev Universal Tsav (30 Volts): 3 Kauj Ruam
24v DC Tsav mus rau Kev Kub Ntxhov Universal Tsav (30 Volts): Nyob zoo! Hauv qhov haujlwm no kuv yuav qhia koj yuav hloov pauv khoom ua si li cas 24V DC Tsav mus rau hauv 30V Universal Motor.Kuv tus kheej kuv ntseeg tias daim vis dis aus piav qhia zoo tshaj plaws ntawm qhov project. . Yog li hais mav kuv xav kom koj saib cov vis dis aus ua ntej.Project V
Peb Txoj Hauv Kev Ua LED Chaser Circuit Nrog Kev Tswj Ceev + Rov Qab thiab Ua Haujlwm Zoo: 3 Kauj Ruam
Peb Txoj Hauv Kev Ua LED Chaser Circuit Nrog Kev Tswj Ceev + Rov Qab thiab Ua Haujlwm Zoo: LED Chaser Circuit yog Circuit uas LEDs teeb ib los ntawm ib qho rau lub sijhawm thiab lub voj voog rov ua dua muab lub teeb pom kev khiav. Ntawm no, kuv yuav qhia koj peb txoj hauv kev sib txawv los ua LED Chaser Circuit: -1. 4017 Ib. 555 Timer IC3
Yuav Ua Li Cas Siv Drone Quadcopter Brushless DC Tsav los ntawm Kev Siv HW30A Brushless Tsav Ceev Tswj thiab Servo Tester: 3 Kauj Ruam
Yuav Ua Li Cas Siv Drone Quadcopter Brushless DC Motor los ntawm Kev Siv HW30A Brushless Motor Speed Controller thiab Servo Tester: Nqe lus piav qhia: Cov cuab yeej no hu ua Servo Motor Tester uas tuaj yeem siv los ua haujlwm servo lub cev los ntawm kev ntsaws yooj yim hauv servo lub cev muaj zog thiab muab lub zog rau nws. Cov cuab yeej kuj tseem tuaj yeem siv ua lub cim hluav taws xob rau kev tswj hluav taws xob ceev (ESC), tom qab ntawd koj tuaj yeem
Peb Txoj Kev thiab Plaub Txoj Kev Hloov-Lawv Ua Haujlwm Li Cas: 6 Kauj Ruam
Peb Txoj Kev thiab Plaub Txoj Kev Hloov-Lawv Ua Haujlwm Li Cas: Thaum txoj kev hloov peb txoj hauv kev yog qhov yooj yim heev rau ntau tus neeg uas mus ntsib Instructables.com, nws yog qhov paub tsis meej rau ntau lwm tus. Nkag siab tias kev ua haujlwm hauv Circuit Court puas txaus siab xav paub. Nws kuj tseem tuaj yeem pab kuaj mob peb-txoj kev hloov pauv uas tsis ua haujlwm vim tias ib tus neeg