Cov txheej txheem:
- Kauj Ruam 1: Daim Ntawv Teev Npe
- Kauj Ruam 2: Arduino: Teeb Fais Fab
- Kauj Ruam 3: Pin Mapping: ATMEGA328/168
- Kauj ruam 4: Bootloading thiab Programming
- Kauj Ruam 5: Tes Taw Tsheb: Lub Tsev Qauv
- Kauj Ruam 6: Kev Tshaj Tawm Circuit Court
- Kauj Ruam 7: Txais Circuit
Video: Tus Cwj Pwm Neeg Hlau Nrog Hauv Tsev Arduino: 7 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:26
Hauv kab ntawv no peb yuav piav qhia yuav ua li cas txhim kho ib qib zuj zus Kev Tswj Lub Cev Nrog Peb Tus Kheej Hauv Tsev Arduino. Qhov no suav nrog nws ua haujlwm li cas; tag nrho cov tshuab, cov khoom siv, thiab lwm yam.
Peb vam tias koj nyiam nws peb ntau peb tau nrhiav pom dab tsi yog kev tshawb fawb tom qab Arduino
Arduino yog dab tsi?
Arduino yog lub platform siv hluav taws xob qhib raws qhov yooj yim-rau-siv-kho vajtse thiab software. Cov laug cam Arduino tuaj yeem nyeem cov tswv yim, zoo li, teeb ntawm lub ntsuas pa, ntiv tes ntawm lub pob lossis ntau txoj haujlwm nyuaj dua.
Koj tuaj yeem qhia koj pawg thawj coj ua dab tsi los ntawm kev xa cov txheej txheem qhia rau microcontroller ntawm lub rooj tsavxwm. Txhawm rau ua li ntawd koj siv Arduino cov lus programming (raws li thaiv), thiab Arduino Software (IDE), raws li Kev Ua Haujlwm. Nws yog siv los ntawm tus kws kos duab, cov tub ntxhais kawm, cov kws tshaj lij thiab cov kws tshaj lij, siv feem ntau rau cov khoom siv tab sis kuj tseem tuaj yeem siv peb qhov kev sim lom zem me ntsis.
Tau qhov twg los:
Nws Ua Haujlwm Li Cas:
Tom qab ua tiav kev tsim peb Homemade Arduino thiab Lub Cev Tswj Lub Tsheb, peb yuav teeb tsa Arduino kom paub txog lub ntsuas cua thiab peb txav mus los ntawm txhais tes.
Arduino yuav muab txuas rau lub hnab looj tes kom nws yooj yim los tuav, koj kuj tseem tuaj yeem pom hauv txoj haujlwm twg uas ua rau koj muaj qhov tsawg tshaj plaws.
Kauj Ruam 1: Daim Ntawv Teev Npe
Homemade Arduino:
- Breadboard (440 rau 840 Tie Point)
- 22 AWG Hlau (Ntau Yam Xim)
- 2 LEDs (Txhua Xim)
- 2220 Ohm Resistors (Liab, Liab, Xim av)
- 7805 Voltage Regulator
- 1 10k Ohm Resistors (Xim av, Dub, Liab)
- 2 10 uF Capacitors
- 16 MHz Clock Crystal
- 222 pF Cov Capacitors
- Me Momentary Tact Hloov
- TTL - 232R3V3 USB. Serial Converter Cable
- ATMEGA328 lossis ATMEGA 168
- Roj teeb 9v
Lub Cev Tswj Lub Tsheb:
- Arduino Lilypad lossis Hauv Tsev Arduino
- Acceloremeter
- RF 433 Qauv
- HT12E thiab HT12D
- Tsav Tsheb L293DNE
- BO Tsav thiab Log
- Pawg Thawj Tswj Hwm
- 29v Roj teeb
- Ntoo
- Roj teeb
- 7805 Voltage Regulator
- Hlau
- 2 330k Ohm Resistors
Ntxiv:
- USB 2 Hlau
- Txiv neej thiab poj niam Hlau
- Hnab looj tes
- Tin
- Hluav Taws Xob Cov Hluav Taws Xob
- Arduino
- Phom phom
Kauj Ruam 2: Arduino: Teeb Fais Fab
Ua ntej tshaj, peb yuav tsum teeb tsa Lub Hwj Huam tsis muaj dab tsi yuav ua haujlwm. (Liab = hwj chim, Dub = hauv av)
1. Ntxiv lub zog thiab hauv av rau hauv qab ntawm BroadBoard, qhov Voltage Regulator yuav yog.
2. Ntxiv lub zog thiab hauv av rau hauv qab ntawm Broadboard, txuas txhua txoj kev tsheb nqaj hlau.
3. Muab Voltage Regulator los ntawm sab xis, tom qab ntawd ib qho 10 uF Capacitors rau nws sab laug thiab lwm qhov ntawm txoj kev tsheb nqaj hlau.
4. Ntxiv cov LED los ntawm ib sab ntawm Cov Lus Taw Qhia, yog peb lub zog ntsuas; thiab 220 Ohm Resistor nruab nrab ntawm txoj kab tsheb nqaj hlau thiab nruab nrab.
Tam sim no peb muaj Lub Hwj Huam Teeb.
Kauj Ruam 3: Pin Mapping: ATMEGA328/168
Tam sim no peb yuav nqes mus rau tag nrho peb cov khoom.
Txhawm rau tiv thaiv ib qho RESET thaum txheej txheem tso 10k Ohm Capacitor rau RESET Pin.
1. Ntxiv 16MHz Clock Crystal ntawm Pin 9 thiab 10, thiab ntxiv Ob 22 pF Capacitors khiav mus rau hauv av ntawm txoj kev tsheb nqaj hlau sab laug.
2. Ntxiv khawm Me me kom koj tuaj yeem rov pib dua Arduino thaum twg koj xav tau thiab npaj nws rau kev ua haujlwm, thiab ntxiv cov xaim me me rau hauv qab sab laug ceg ntawm Hloov mus rau RESET.
3. Thaum kawg ntxiv lub xaim hluav taws xob rau tus Pin 19, txuas nws mus rau LED (ceg ntev rau Hlau) thiab tso lwm 220 Ohm Resistor mus rau txoj kev tsheb nqaj hlau. (Sim ntsais muag LED)
Koj tab tom pom yuav luag ua haujlwm Arduino.
Kauj ruam 4: Bootloading thiab Programming
Bootloader yog dab tsi?
Bootloader yog ib qho ntawm cov cai uas ua ntej ib qho kev ua haujlwm khiav haujlwm; yeej tsis muaj nws tsis muaj dab tsi wouls tshwm sim.
Arduino Bootloading:
Yog tias koj muaj ATMEGA328 tshiab koj yuav tsum tau hlawv lub bootloader rau nws.
Nov yog qhov txuas uas koj tuaj yeem ua raws:
Txoj Haujlwm:
Txuas lub TTL-232R3V3 USB mus rau lub protoboard, tom qab ntawd muab nws ua ke nrog cov xov hlau mus rau ATMEGA328; xyuas tias koj lub roj teeb 9v tsis txuas nrog.
Qhib Arduino IDE thiab hauv Cov Piv Txwv kos duab cov ntaub ntawv, hauv qab Digital, thauj Blink sketch
Hauv qab cov ntawv xaiv Serial Port, xaiv COM chaw nres nkoj uas koj siv nrog koj lub USB cable.
Tam sim no nias lub cim upload thiab tom qab ntawd ntaus lub khawm pib dua; yog tias txhua yam ua haujlwm raug tha tha LED ntawm tus Pin 13 yuav ntsais muag, beacuse yog programm rau qhov ntawd.
Thaum koj ua tiav txoj haujlwm nyob qhov twg koj xav tau, hauv qhov no Lub Cev Tswj Lub Tsheb, koj tuaj yeem txuas nws thiab koj li koj li 9v Roj teeb rau lub zog.
Kauj Ruam 5: Tes Taw Tsheb: Lub Tsev Qauv
Pib tsim cov qauv ntawm lub tsheb nrog cov ntoo, cov ntoo me me, 2 thaiv rau pem hauv ntej thiab tom qab (qhov log mus) thiab ib qho loj nyob nruab nrab rau kev txhawb nqa; muab tshuaj txhuam nws nrog rab yaj phom
Tom qab ntawd muab cov motors tso rau ntawm txhua sab thiab ntsaws 4 lub log. Weld lub zog npau taws hauv av rau txhua lub cav.
Txiav 15x15cm Saquare, txiav nws kom nws haum rau tus qauv (hauv paus)
Kauj Ruam 6: Kev Tshaj Tawm Circuit Court
Tam sim no peb tab tom pib ua haujlwm tsim cov Transmitter Circuit thiab Programming.
Txheeb xyuas cov vis dis aus los ntawm 3.36 txog 6.17: Kev Tshaj Tawm Circuit Court
Coding rau Tus Cwj Pwm Tsheb:
Download Npaj:
Kauj Ruam 7: Txais Circuit
Tam sim no pib carfting tus txais Circuit
Txheeb cov vis dis aus txij li 6:18 txog 8:34: Lub Circuit Reciever
Download Npaj:
Thaum kawg txhuam txhua yam rau lub hauv paus thiab nws npaj txhij ua haujlwm tiav.
Proyect thawj tsim los ntawm Tapendra Mandal; Channel Txuas
Pom zoo:
Tsis muaj Pee Tam sim no, Tus Cwj Pwm Coj Tus Cwj Pwm Cuam Tshuam Cov Tsiaj Rau Cov Menyuam Pee Nyob Hauv Koj Lub Tsev: 4 Kauj Ruam
Tsis Muaj Tus Menyuam Tam Sim No, Tus Cwj Pwm Coj Tus Cwj Pwm Cuam Tshuam Tus Menyuam Mus Pee Nyob Hauv Koj Lub Tsev: Kuv tau ntxhov siab los ntawm kuv tus miv tias nws nyiam ua pee ntawm kuv lub txaj, Kuv tshuaj xyuas txhua yam nws xav tau thiab kuv kuj coj nws mus rau tus kws kho tsiaj. Tom qab kuv daws txhua yam kuv tuaj yeem xav thiab mloog tus kws kho mob cov lus, Kuv paub tias nws tsuas muaj qee tus cwj pwm tsis zoo. Yog li ntawd
Txoj hauv kev yooj yim tshaj plaws los ua Tus Cwj Pwm Tswj Neeg Hlau: 7 Kauj Ruam (nrog Duab)
Txoj hauv kev yooj yim tshaj plaws los ua Tus Cwj Pwm Tswj Neeg Hlau: Tswj cov khoom ua si zoo li superHero. Kawm paub yuav ua li cas thiaj tswj tau lub tsheb no. Yeej qhov no yog daim ntawv thov yooj yim ntawm MPU-6050 3-axis Gyroscope, Accelerometer. Koj tuaj yeem ua ntau yam ntxiv
Yuav Tsim Li Cas 2d Tus Cwj Pwm Nrog Tus Cwj Pwm Tus Cwj Pwm hauv Unreal Engine 4 Siv Cov Ntawv Pom Zoo rau PC: 11 Kauj Ruam
Yuav Ua Li Cas Tsim Tus 2d Tus Cwj Pwm Nrog Tus Tswj Tus Cwj Pwm hauv Unreal Engine 4 Siv Cov Ntawv Pom Zoo rau PC: Yuav ua li cas los tsim 2d Tus Cwj Pwm nrog tus cwj pwm tswj hauv Unreal cav 4 siv cov ntawv pom rau PC Nyob zoo, Kuv yog Jordan Steltz. Kuv tau tsim kho cov vis dis aus ua si txij li thaum kuv muaj 15. Phau ntawv qhia no yuav qhia koj li cas los tsim tus yam ntxwv yooj yim nrog rau hauv
Ellie Qhia Tus Cwj Pwm Tus Cwj Pwm: 4 Kauj Ruam
Ellie Ment the Element Identifier: Ellie yog Roomba uas tau ua haujlwm kom muaj peev xwm txheeb xyuas ntau yam xim siv nws lub koob yees duab, paub yog tias nws tab tom hla lub pob tsuas kom nws tuaj yeem nres nws tus kheej los ntawm kev sib tsoo, thiab yuav txav tawm ntawm txoj kev teeb meem thaum nws lub pob tw tsoo qee yam
Obstacle-Zam Tus Neeg Hlau Nrog Tus Cwj Pwm!: 7 Kauj Ruam (nrog Duab)
Obstacle-Zam Tus Neeg Hlau Nrog Tus Cwj Pwm!: Tsis zoo li feem ntau roaming 'bots, qhov no yeej ua tau zoo li no uas nws zoo li yog' xav '! Nrog BASIC Stamp microcontroller (Basic Atom, Parallax Basic Stamps, Coridium Stamp, thiab lwm yam), chassis ntawm qee yam, ob peb lub cim, thiab qee qhov