Cov txheej txheem:
- Kauj Ruam 1: Sib sau Cov Khoom Siv
- Kauj Ruam 2: Ua Lub Hauv Paus
- Kauj Ruam 3: Sib Sau Cov Neeg Hlau
- Kauj Ruam 4: Ntxiv Lub Hlwb Hluav Taws Xob
- Kauj ruam 5: Programming Walbot
- Kauj Ruam 6: Ntxiv Infrared Sensors
Video: Ua Phab Ntsa Zaum Tsis Txhob Neeg Hlau!: 6 Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:29
Lub Hom Phiaj: Txhawm rau tsim los ntawm kos tus neeg hlau ua haujlwm uas tuaj yeem zam cov phab ntsa thiab teeb meem. Puas tau xav ua tus neeg hlau uas tuaj yeem ua qee yam, tab sis tsis muaj lub sijhawm lossis kev paub ua nws? Tsis txhob ntshai ntxiv, cov lus qhia no tsuas yog rau koj! Kuv yuav qhia koj ib qib zuj zus yuav ua li cas ua txhua ntu tsim nyog, thiab cov haujlwm kom tau txais koj tus kheej lub neeg hlau thiab ua haujlwm. Kuv xub tau tshoov siab los tsim tus neeg hlau thaum kuv muaj kaum xyoo, thiab pom Poob hauv Qhov Chaw, nrog tus neeg hlau B-9 nto moo, kuv xav tau ib tus! Zoo rau xyoo tom qab thaum kawg kuv tau tsim lub tshuab ua haujlwm, nws lub npe- Walbot tau kawg! Kom paub ntau ntxiv … Mus rau qib ib.
Kauj Ruam 1: Sib sau Cov Khoom Siv
Tam sim no yog lub sijhawm zoo los xaj thiab sau qee yam uas koj xav tau rau txoj haujlwm no. "Hlwb" ntawm Walbot yog Microcontroller los ntawm Atmel hu ua Atmega168, nws nrawm heev, siv tau yooj yim thiab pheej yig, yog li ntawd yog qhov kuv yuav siv hauv txoj haujlwm no. Yog tias koj xav siv PIC, lossis lwm yam Microcontrollers uas zoo, txawm li cas los xij kuv tsis tuaj yeem pab koj nrog txoj cai ces! Txij li thaum kuv tsis xav tias zoo li nkim kuv lub sijhawm tsim lub rooj tsav xwm tsim qauv rau Atmega168, Kuv yuav USB Arduino; nws yog ib qho yooj yim siv, txhawb USB, muaj lub khau raj-loader twb tau hlawv hauv, pheej yig heev, thiab muaj software dawb software uas zoo ib yam li C ++. Zoo txaus ntawm qhov kev tham ntawd, cia mus nrog yam koj xav tau! nco tseg: cov no tsuas yog tus nqi kuv pom los ntawm kev tshawb nrhiav nrawm, yog tias koj saib nyuab dua tej zaum koj yuav pom tus nqi zoo dua lwm qhov, kuj tseem muaj DIgiKey cov txuas yuav tawg lossis tsis siv sijhawm, tsuas yog tshawb rau ntu kev piav qhia thiab yam twg tus nqi sib xws rau ib qho. teev nyob ntawm no. Qhov: Arduino USB board- $ 34.95LV-EZ1 Ultrasonic Rangefinder- $ 25.952X 54: 1 16mm Spur Gearmotor, FF-050- $ 13.802XPack ntawm 4 Energizer NiMH AA Roj teeb- $ 4.859Volt Energizer NiMH Roj teeb- $ 8.992X3mm Aluminium Bearing Block- $ 3.2X tus tuav lub roj teeb (DigiKey ib feem # SBH -331AS -ND - $ 0.982.1 x 5.5 x 9mm Txoj cai kaum DC Lub Hwj Huam Plug - $ 0.952X Lub suab nrov nrov Capacitors - $ 0.50L298 ob npaug H -Choj Dawb DAWB! 12 "X12" ntawv ntawm 1/ 4 "Lexan polycarbonate - $ 16.363X Aluminium 1" 8-32 standoffs - $ 0.454X 2-56 X 1/4 BUTTON CAP SCREW - $ 0.37BOX ntawm 100 4-40 X 3/8 BUTTON CAP SCREWS - $ 5.403X 8-32 X 3 /8 BUTTON CAP SCREWS - $ 0.29 Neoprene Foam Tyre - 3 "D x 0.75" W (khub) - $ 5.36Mounting Hub - 3mm (khub) - $ 8.009Volt roj teeb clip (DigiKey ntu # 234K -ND) So Tawm Headers - $ 2.952 liab 2 ntsuab thiab 1 daj 3mm LED-$ 2.20 total4X 1N5818 SCHOTTKY Diode (DigiKey ntu # 1N5818-E3/1GI-ND)-$ 0.152X 47k thiab 2X 2.2k thiab 1X 10k resistirs (digikey ib feem ntawm P47KBACT-ND thiab P2.2KBACT- ND thiab P10KBACT -ND) - $ 0.34 Ping Pong pob lossis lwm qhov kev sib txhuam me me rau tus caster- Dawb ???? Kev cai xaj Arduino daim phiaj thaiv kab thaiv pom cov kauj ruam 4Optional / Yog tias koj qhov pib ua tiav: 22AWG High Strand Count Silicone Wire Combo Pack - $ 16.80Polarized Connectors kom ua tej yam zoo, koj yuav xav tau tus pin crimp, 4X 2 tus pin header thiab vaj tsev, 4 tus pin header thiab vaj tsev - $ 6.45Velcro rau lo yam khoom rau hauv paus tib lub hom phiaj. Bandsaw rau txiav Lexan lub hauv paus thiab ntau qhov chaw. Drill Xovxwm rau drilling ncaj qhov hauv Lexan puag. Qhov thiab Tuag teeb rau tapping qhov nyob hauv Lexan puag. Qhov tooj hlau zoo rau soldering ntau qhov ntawm tus neeg hlau. Digital Multimeter rau debugging cov khoom siv hluav taws xob. Cov hlua hluav taws xob Noog lub qhov ntswg rau tuav thiab crimping cov txuas
Kauj Ruam 2: Ua Lub Hauv Paus
Zoo, tam sim no koj tau sau tag nrho cov ntu tsim nyog xav tau los tsim Walbot nws yog lub sijhawm los pib. Ua ntej tshaj plaws, kuv yuav tsum ceeb toom koj tias kev siv ntau yam cuab yeej siv zog yuav tsim nyog, Kuv yuav tsis nkag mus rau hauv kev siv kom raug ntawm kev ua haujlwm kom nyab xeeb raws li kuv xav tias koj twb paub yuav ua li cas lawm; Kuv tsis muaj lub luag haujlwm rau ib qho yuam kev ruam, xws li txiav koj tus ntiv tes ntawm txoj hlua khi, uas koj ua. Koj tau ceeb toom! Yuav pib tawm, Kuv tau ua haujlwm ntau rau koj! YAJ. Qhov ntawd yuav suav nrog ob peb lub hlis ntawm kev rov tsim kho thiab tsim qauv rau txoj haujlwm no, uas yuav tsum tau ua rau txhua tus neeg hlau koj npaj tsim koj tus kheej tom qab qhov no. Kuv tau ua qhov ntsuas 3D qauv ntawm Walbot hauv qhov kev pab dawb hu ua SketchUp los ntawm Google (ua tsaug rau Google), koj tuaj yeem rub tawm kuv tus qauv ntawm walbot los ntawm Google 3D lub tsev rau khoom ntawm no (ceeb toom: tej zaum yuav muaj qee qhov sib txawv hauv lub cav hom thiab qee qhov ntawm Cheebtsam ploj ib yam li daim phiaj thaiv hluav taws xob nyob rau sab saum toj ntawm Arduino, xov hlau … Kuv yuav hloov kho tus qauv thaum kuv muaj sijhawm). Qhov Kauj Ruam 1: Rub tawm Lo Lus cov ntawv ntawm kev txiav thiab drilling qhia ntawm no, thiab luam tawm. Thaum nws tau luam tawm kom ntseeg tau tias nws yog 6 "dav los ntawm 5.5" ntev. Tam sim no txiav tawm ib nrab hauv qab ntawm qhov tsis tau sau rau ntawm daim ntawv kom koj muaj tus qauv uas hais txog 8 1/2 "los ntawm 6", thiab siv qee yam ntawm cov nplaum lossis cov kua nplaum ib nrab lossis ob daim kab xev nplaum, txuas ob daim qauv ntawm Lexan ntawv Kauj Ruam 2: Txiav tawm Lexan lub hauv paus nrog cov saw saw, ua raws cov kab ntawv kom ze li sai tau. Txhawm rau ua kom yooj yim dua, txiav qhov nyem me me nyob ib puag ncig kom tsis txhob cuam tshuam thaj chaw uas koj tab tom ua haujlwm yam tsis tas yuav txhawj xeeb txog kev sib tsoo cov hniav. Thaum koj ua tiav, koj tuaj yeem siv qee cov ntawv xuab zeb los ua kom du rau ntawm ntug yog tias koj qhov kev txiav tsis tuaj tawm zoo meej. thiab #43 xyaum ua kom lub qhov rau 4-40 ntsia hlau loj lub cev muaj zog thaiv thiab sawv ntsug rau Arduino. Thaum drilling nco ntsoov siv me ntsis WD-40 lossis dej raws li cov roj nplua nyeem kom cov polycarbonate (Lexan) txias. Optional: nws tsis nyob ntawm tus qauv, tab sis ua kom zoo dua qub, yog tias koj muaj qhov loj 1 "forstner me lossis lwm qhov laum loj, nws yog qhov muaj txiaj ntsig txhawm rau txhawm rau qhov yog qhov uas ob kab hla ntawm TOP txheej. saib hauv daim duab, tab sis nws tsis tsim nyog. Kauj Ruam 4: Siv 4-40 kais koj tau yuav hauv txheej, ua tib zoo coj mus rhaub qhov uas koj tau hlais nrog #43 laum. qhov 3 qhov koj tau siv rau qhov kev tsis pom zoo nrog #29 laum. Yog tias koj tsis paub yuav ua li cas xov cov ntaub ntawv nrog tus kais, kawm paub yuav ua li cas nyob ntawm no. Kuv siv lub laum tsis siv xov tooj, tab sis nws tsis pom zoo yog tias koj tsuas yog tus pib. Kauj Ruam 5: Siv goo ploj mus lossis lwm yam tshuaj nplaum tshem tawm, tshem cov qhov drilling thiab txiav cov qauv thiab ntxuav cov lexan dawb ntawm txhua tus ntiv tes thiab roj.
Kauj Ruam 3: Sib Sau Cov Neeg Hlau
Tam sim no nws yog lub sijhawm los muab cov neeg hlau ua ke, siv cov khoom peb tau yuav ua ntej thiab cov hauv paus uas koj tau ua dhau los. Hauv daim duab kuv tso lub kaus mom ib ntus rau qhov kawg ntawm qhov tsis pom kev vim tias lawv ntev dhau lawm, tab sis kuv xav kom koj txiav lawv nrog cov cuab yeej Dremel. 32 tus ntsia hlau uas koj tau txais, txuas rau sab saum toj rau qhov tsis pom kev. Nco tseg: kev sim xov hlau ntsia hlau rau hauv yas tuaj yeem nyuaj, txhawm rau ua kom yooj yim dua, txhuam me ntsis paraffin (tswm ciab) siv quav ciab rau ntawm cov xov thiab lawv yuav tsum nkag mus zoo. Kauj Ruam 3: Tam sim no yuav yog lub sijhawm zoo rau cov laug txuas thiab lub tshuab hluav taws xob rau lub cav, mus ntawm no kom paub yuav ua li cas txhawm rau txhawm rau lub tshuab hluav taws xob. Nco ntsoov siv 2 lub qhov kab rov tav kom lub log yuav sib dhos ua ke ib leeg (yog tias koj tso cov ntsia hlau ntsug lub taub hau lub taub hau tuaj yeem tig rov qab thiab tawm los me ntsis, tab sis txaus uas nws tuaj yeem ua rau nws tsis ncaj). Kauj Ruam 5: Yuav tsum muaj chav txaus los sawv ntsug cov kabmob thaiv kab rov tav thiab swb/qoj lawv mus rau hauv qhov chaw nruab nrab ntawm txheej saum thiab hauv qab. Tam sim no muab lawv tso rau hauv qhov chaw los ntawm kev ntxig thiab ntswj rau hauv txhua 4-40 lub hau ntswj rau hauv lawv qhov sib xws. GND qhov. Tam sim no nrhiav lossis ua 90 degree mounting bracket rau nws. Kuv siv cov khoom seem ntawm Lexan, txiav ib txoj hlua 1 "los ntawm 2", rhaub nws hauv qhov cub me me kom txog thaum nws pliable thiab khoov lub kaum sab xis 90 degree hauv nruab nrab. Tom qab ntawd koj tuaj yeem xaum qee qhov ntxiv hauv qhov khoo, sib haum rau lub qhov sib dhos hauv Sonar module, txhawm rau txhim kho nws; lossis koj tsuas tuaj yeem siv qee qhov ua ob sab ua npuas ncauj; lossis siv Velcro txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau lub hauv paus neeg hlau. Yog li ntawd txhais tau tias yog tias koj tau txais lub log thiab lub hauv paus los ntawm cov npe khoom, koj tus neeg hlau yuav zoo li txawv me ntsis. Yog tias koj tuaj yeem pom/ua lub log sib zog nrog lub hli 3 hli, kuv txhawb kom koj ua li ntawd. Xijpeem, coj lub log thiab teeb lub hub rau nws nrog cov ntsia hlau uas lawv muab, thiab tom qab ntawd txuas rau 3mm lub cev muaj zog siv superglue lossis epoxy. Step 8: Mount Arduino board rau saum lub hauv paus siv 4-40 screws. Yog tias koj tuaj yeem tau txais qee qhov 4-40 qhov kev sawv ntsug uas yuav siv tau zoo tshaj plaws, yog tias tsis yog siv qee lub tshuab ntxhua khaub ncaws lossis ntu quav me me kom tsa nws tawm ntawm lub hauv paus sab saum toj ob peb millimeters. cov neeg tuav mus rau lawv qhov chaw siv Velcro. Kuv siv Velcro vim tias nws muaj zog tseem tseem tso cai rau koj tshem lawv thaum lawv xav tau them nqi. Lub 9Volt yuav tsum tau teeb tsa nyob rau qib siab tshaj plaws pem hauv ntej ntawm Arduino. 2 AA cov neeg tuav lub roj teeb yuav tsum mus tom qab lub cav (tsuas yog saib ntawm tus qauv 3D hauv SketchUp kom pom txhua yam mus qhov twg). Sau ntawv ceev ntawm lub roj teeb, nco ntsoov tias koj siv 1.2volt AA roj teeb uas tau them rov qab (feem ntau NiMH tuaj yeem them tau yog 1.2V), yog tias koj siv tus qauv 1.5volt alkalies uas tuaj yeem ua rau lub cav puas vim tias lawv tsis ntsuas rau 9 volts (6batteries * 1.5) volts = 9 qhov twg yog 6*1.2 = 7.2 volts) Kauj Ruam 10: Lub sijhawm ntxiv "lub log thib peb" AKA caster AKA ib nrab ntawm pob ping pong lossis lwm yam nplaim nplaim dej uas zoo ib yam li ping pong pob. Ua ib yam ntawm ob yam uas tau hais los saum toj no thiab faib nws ua ob qho, koj tuaj yeem siv qhov koj nyiam tshaj tawm cov cuab yeej ua nws hacksaw lossis guillotine… Tam sim no txhua yam uas tshuav yog sau nws nrog qee yam zoo li kua nplaum kub (qhov kuv tau siv) thiab lo rau lub hauv paus txheej hauv qab. Koj tuaj yeem tsim tawm hauv daim duab uas kuv tso rau kuv, nws tsis muaj teeb meem tsuas yog tsuav nws muab kev txhawb nqa rau ob lub log ntxiv. koj nyob ntau tshaj ib nrab txoj kev. Nyob rau hauv electronics!
Kauj Ruam 4: Ntxiv Lub Hlwb Hluav Taws Xob
OK, yog li koj tau ua tiav nrog cov tshuab ib feem ntawm txoj haujlwm no, lub sijhawm los muab franken-neeg hlau nws lub hlwb! Koj yuav pom hauv qib ib uas kuv tau xa koj mus rau theem no rau daim phiaj thaiv hluav taws xob. Arduino los ntawm nws tus kheej tsis tuaj yeem ua dab tsi rau tus neeg hlau no ntxiv rau cov txheej txheem thiab cov ntaub ntawv tso tawm hauv siab (1) lossis qis (0) 0-5volt teeb liab. Tsis tas li ntawd, microcontrollers tsis tuaj yeem muab khoom xws li lub cav thiab xa tawm qhov siab tam sim no uas lawv xav tau. Yog tias koj sim ua lub zog tsav nrog Atmega168, feem ntau yuav yog txhua yam koj yuav tau txais yog haus luam yeeb thiab tso cov foob pob hluav taws pub dawb. Yog li ntawd yuav ua li cas peb thiaj tswj tau cov iav-lub taub hau lub cav koj yuav nug? Surveyyyyy hais tias- H-Choj! Kuv yuav tsis siv sijhawm nyob ntawm no los piav qhia meej tias H-Choj yog dab tsi, yog tias koj xav kawm paub ntau ntxiv txog lawv mus ntawm no. Txog tam sim no txhua yam koj yuav tsum paub yog H-Choj yuav siv lub teeb liab siab lossis qis los ntawm mircocontroller, thiab txhawb peb lub cav los ntawm AA roj teeb muab qhov hluav taws xob qhov peb muab rau nws. Cov ntaub thaiv hluav taws xob raws li Arduino zej zog hu lawv, yuav yog PCB (luam tawm Circuit board) uas yuav so saum lub Arduino thiab ntsaws rau hauv nws nrog tus pin header. Rau daim ntaub thaiv no peb yuav ntxiv cov khoom xws li L298 H-Choj, qee qhov LED, thiab Ultrasonic sensor xov hlau. Ib zaug ntxiv kuv tau ua tiav feem ntau ntawm cov haujlwm rau koj, los ntawm kev siv sijhawm teev ua PCB ntawm peb daim phiaj thaiv hauv PCB PCB program hu ua Eagle. Txhawm rau kom tau txais koj tus kheej txoj haujlwm tshaj lij ua cov thaiv hluav taws xob mus rau BatchPCB. BatchPCB yog tua tawm ntawm Spark Fun Electronics, thiab lawv tshwj xeeb hauv kev xaj me me los ntawm tib neeg zoo li koj thiab kuv ntawm tus nqi tsim nyog. Tom ntej no ua koj tus kheej tus lej nyob ntawd kom koj tuaj yeem xaj kuv daim thaiv, tom qab ntawv tau txais https://www.instructables.com/files/orig/FSY/LZNL/GE056Z5B/FSYLZNLGE056Z5B.zip Gerber Zip File (tseem nyob hauv qab ntawm daim duab no) teeb) uas muaj cov kub 7 cov ntaub ntawv lawv xav tau: GTL, GTO, GTS, GBL, GBO, GBS, thiab TXT kev qhia drilling. Saib ob daim duab hauv qab no raws li kev siv, tab sis pib nyem "Upload Tshiab Tsim" nyob rau sab saum toj ntawm lub luag haujlwm ntawm lub xaib, thiab los ntawm qhov ntawd koj tsuas yog pom thiab upload tag nrho Zip cov ntaub ntawv, thiab tom qab ntawd kos daim duab kom ntseeg tau tias txhua qhov cov khaubncaws sab nraud povtseg nyob hauv qhov chaw lawv xav tau, nyem xa tom qab ntawd xaiv Eagle PCB npuas thiab tom qab ntawv xa rov tuaj. Nws yuav xa koj thiab email uas hais tias nws hla DRC bot thiab nws yuav muaj qhov txuas uas koj tuaj yeem nyem txhawm rau ntxiv nws rau koj lub laub yuav khoom, tom qab ntawd tsuas yog xaj nws. Nws raug nqi li $ 30 thiab siv sijhawm li 1-2 lub lis piam nyob ntawm seb thaum koj xa nws mus rau lawv thiab xa khoom dab tsi uas koj tau txais. Tam sim no yog tias koj tau zoo nrog cov khoom siv hluav taws xob twb tau ua lawm, thiab xav tias koj tuaj yeem tsim koj tus kheej ntawm lub rooj tsav xwm tsab (Kuv tau ua qhov no ib ntus), lossis yog tias koj nyiam kos koj tus kheej PCB's, tom ntej no tab sis kuv tsis tham txog yuav ua li cas nov vim nws yuav nkim sijhawm thiab chaw. Yog tias koj xaiv los ua koj tus kheej ces koj tuaj yeem tau txais cov txheej txheem ntawm no, nws yog me ntsis neeg coob thiab tsis meej li yog khoom. Auj, thiab ntawv ceeb toom ntxiv ntawm PCB nws muaj qee yam ntawm kuv cov duab ntxig ntxig rau ntawm qhov ntawd, yog li tsis txhob xav tias cov hais mav ntawm PCB lub Hoobkas tau sau Chuck Norris qhov tseeb ntawm koj lub rooj tsav xwm! Yog li cia ceev mus txog ib lub lim tiam thiab xav tias koj tuav lub rooj tsav xwm txheej tam sim no … Kauj Ruam 1: Xyuas kom lub qhov rau Arduino lub taub hau kab nrog lub qhov rau lub taub hau pins ntawm daim ntaub thaiv. Tam sim no los ntawm qhov kuv ua yuam kev, koj yuav tsum khoov qee tus pin ntawm L298 H-Choj rov qab yog li lawv yuav ua rau lub qhov nyob ntawm daim ntaub thaiv. Thov txim txog qhov ntawd. Ua kom sov koj cov hlau txuas thiab npaj rau qee qhov kev siv loj! Yog tias koj tsis paub lossis tsis xeb yuav ua li cas txhawm rau txheeb xyuas nplooj ntawv no los ntawm Spark Fun. Kauj Ruam 2: Muab tus txiv neej lub taub hau khawm rau ntawm lub rooj tsavxwm. Kom paub tseeb tias lawv haum zoo, Kuv hais qhia koj kom rub tus txiv neej lub taub hau rau hauv Arduino ua ntej, tom qab haum daim ntaub thaiv lawv; thiab solder lawv rau. Kauj Ruam 3: Tam sim no muab L298 H-Choj txuas rau daim ntaub thaiv thiab cov khoom seem (LED's, cov kab sib txuas sib txuas sib txuas, cov tiv thaiv, thiab diodes). PCB yuav tsum piav qhia tus kheej zoo li txhua yam mus qhov twg, vim tias txheej silkscreen nyob saum. Txhua qhov diodes yog 1N5818, thiab nco ntsoov ua kom haum cov kab txaij ntawm cov diode mus rau kab txaij ntawm daim iav. R1 thiab R2 yog 2.2K resistors, R3 thiab R4 yog 47K resistors, thiab R5 yog 10K resistor. LED tus 1 thiab 3 yog ntsuab los qhia tias cov motors yuav mus tom ntej, thiab LED 2 thiab 4 yog liab los qhia tias cov motors yuav rov qab los. LED 5 yog qhov taw qhia qhov teeb meem thiab qhia thaum lub sonar khaws cov teeb meem hauv nws qhov phiaj xwm txwv. Cov chaw jumper ntxiv nyob ntawd tso peb txoj kev xaiv hloov kho Walbot nrog cov ntsuas sib txawv yav tom ntej. Kauj Ruam 4: Yog tias koj tab tom xaim cov xov hlau ncaj qha rau ntawm lub rooj tsav nkoj ces hla qib 5. Yog tias koj tab tom siv tus pin txuas txuas polarized ces hla cov kauj ruam no. Soldering cov xov hlau ncaj qha rau daim ntaub thaiv tsis zoo li tab sis nrawm dua thiab pheej yig dua. Tam sim no koj yuav tsum muaj 4 lub xov hlau rau ob lub cav, 4 xov hlau los ntawm koj cov roj teeb AA, thiab 4 xaim tawm ntawm lub suab. Cia ua lub pob roj teeb ua ntej. Saib daim duab thib ob rau daim duab ntawm qhov chaw yuav xaim cov xov hlau. Tam sim no qhov ntawd tau ua tiav, muab lub LEFT lub cev muaj zog txuas rau MOT_LEFT daim ntawv lo rau ntawm PCB, thiab RIGHT lub cev muaj zog txuas rau MOT_RIGHT qhov (kev txiav txim tsis muaj teeb meem, peb tuaj yeem kho qhov ntawd nrog software tom qab). Rau lub sonar, yuav tsum muaj cov ntawv me me nyob rau hauv pem hauv ntej ntawm SONAR qhov ntawm PCB. Sib dhos koj li GND xaim mus rau GND qhov, 5V xaim rau VCC qhov, RX xaim mus rau Enab qhov thiab AN xaim mus rau Ana1 qhov. Tom qab ntawd koj yuav tsum ua tiav nrog cov xov hlau! Kauj Ruam 5: Yog tias koj tab tom siv tus pin polarized txuas rau cov xov hlau ntawm lub rooj tsavxwm thiab tsis paub siv lawv li cas, tom qab ntawv nyeem rau ntawm no. Tam sim no muab tshuaj txhuam rau hauv txhua tus txiv neej polarized txuas rau lawv tus lej sib xws ntawm qhov. Saib ntawm daim duab hauv qab no kom pom qhov twg los lo rau cov kab xaum nyob hauv qhov chaw nyob, kom lawv kab raws li qhia. Tom ntej no ua lub tsev sib txuas sib txuas rau sab laug thiab sab xis lub cev muaj zog, nws tsis muaj teeb meem uas xaj cov xov hlau mus rau hauv tsuas yog ntev li sab laug mus rau MOT_LEFT, thiab sab xis mus rau MOT_RIGHT (peb tuaj yeem kho qhov twg tus neeg hlau mus rau hauv software). Thaum kawg ua Sonar cov xov hlau kom ntseeg tau kab / taw qhia cov xov hlau kom koj GND xaim ua rau GND qhov, 5V xaim mus rau VCC qhov, RX xaim mus rau Enab qhov thiab AN xaim mus rau Ana1 qhov. Thaum koj crimp, xaim, thiab txuas cov ua ke, koj yuav tsum tau ua tiav nrog cov xov hlau! Kauj Ruam 6: Tam sim no koj xav tau lub hwj chim Arduino siv koj li 9Volt (nws tiag tiag 7.2 volts) roj teeb. Siv lub 9Volt clip txuas, qhib lub hwj chim txuas thiab txuas POSITIVE RED WIRE mus rau Lub Tsev TAB TAB thiab muab cov xaim dub gorund xaim txuas rau lub tab uas mus rau sab nrauv hlau. Qhov no yog qhov tseem ceeb kom ntseeg tau tias lub hauv paus / sab hauv yog qhov zoo, yog tias koj thim rov qab lub Microcontroller no feem ntau yuav tsis ua dab tsi tsuas yog cua sov, haus luam yeeb lossis tawg. Yog tias raug xwm txheej koj kib koj lub Atmega168 koj tuaj yeem tau txais ib qho tshiab ntawm no tab sis koj yuav tau hlawv lub khau raj rov qab. Txhawm rau kom paub yuav ua li cas txheeb xyuas Arduino lub rooj sab laj. Txhua yam khoom siv hluav taws xob yuav tsum ua tiav nrog rau tam sim no! Tsuas yog cov khoom yooj yim tam sim no!
Kauj ruam 5: Programming Walbot
Yog li koj tau ua tiav txhua qhov ua haujlwm sab nrauv thiab hluav taws xob, tam sim no nws yog lub sijhawm los qhia Walbot kom tsis txhob muaj phab ntsa. Rub tawm qhov program Arduino pub dawb, thiab teeb nws nrog rau USB tsav tsheb hauv Drivers folder. Rub tawm qhov program kuv tau sau rau Walbot ntawm no thiab qhib qhov ntawd hauv Arduino program. Tom ntej no koj xav sau cov cai los ntawm txhaj qhov ua si (ib sab daim duab peb sab) khawm uas hais tias txheeb xyuas mus rau sab laug thaum koj hla nws. Thaum nws ua tiav kev suav sau, siv USB cable los ntsaws rau hauv Arduino. Arduino nws tus kheej tuaj yeem siv tau los ntawm USB cables tswj 5Volts. Txoj cai nyob ib sab ntawm cov nyiaj USB ntsaws rau ntawm Arduino, yuav tsum muaj tus jumper tus pin (me me dub cov yas thiab hlau uas txuas ob ntawm peb tus pin txuas), xyuas kom tseeb tias thaum ua lub rooj tsav xwm dhau los ntawm USB uas tus pin tau teeb tsa ze tshaj plaws USB ntsaws (yuav tsum muaj ob daim ntawv nyob hauv qab tus jumper tus pin sab xis yog USB sab laug yuav tsum hais EXT, koj xav tau nws ntawm USB ib qho tam sim no). Yog li tam sim no thaum koj ntsaws USB cable rau hauv Arduino pawg thawj coj saib lub zog ntsuab LED hauv qab PCB daim thaiv peb tau ua yuav tsum nyob rau, thiab qhov taw qhia daj LED nyob rau sab saum toj yuav tsum teeb ib zaug lossis ob zaug. Nco tseg: Yog tias lub hwj chim ntsuab LED ntawm Arduino pawg thawj coj saib tsis tuaj, nqa lub USB cable tawm thiab tshawb xyuas tus jumper pin dua, thiab tias USB cable tau txuas rau hauv koj lub computer! Koj yuav tsum tau suav sau cov cai hauv Arduino program, yog li tam sim no nyem lub pob upload thiab nws yuav tsum pib xa mus rau Arduino board (koj tuaj yeem pom cov txiv kab ntxwv TX thiab RX LED ci ntawm lub Arduino board yog tias qhov no tshwm sim). Yog tias koj tau txais qhov yuam kev uas nws tsis teb ua ntej thawb lub khawm pib dua ib lub Arduino board (qhov hloov DIP me ntsis, tom qab koj thawb qhov no koj muaj li 6 vib nas this txhawm rau xa cov lej ua ntej nws rov pib dua), yog tias nws tseem tsis ua haujlwm, xyuas kom tseeb tias koj teeb tsa USB tsav tsheb kom raug (lawv nyob hauv daim nplaub tshev tsav tsheb hauv daim nplaub tshev Arduino koj rub tawm). Yog tias koj tseem tsis tuaj yeem ua haujlwm, sab laj nrog Arduino Rooj Sib Tham thiab thov kev pab, lawv tuaj yeem coj koj los ntawm yam koj xav tau ua. Yog tias txhua yam ua tau zoo koj lub khoos phis tawj yuav tsum tau pib li ntawm 10 vib nas this, thiab yog tias lub roj teeb AA raug them thiab teeb tsa, lub cav yuav tsum qhib thiab yog tias Sonar pom qee yam tsis pub dhau 16 ntiv tes qhov taw qhia daj yuav qhib thiab lub log raug yuav thim rov qab rau ib nrab ib pliag. Tam sim no koj tuaj yeem tshem lub USB cable, hloov lub jumper rau EXT, ntsaws rau hauv Power Jack thiab muab tso rau hauv av. Yog tias koj tau ua txhua yam kom raug tam sim no, tam sim no koj yuav muaj koj tus kheej qhov teeb meem zam kev siv neeg hlau! Yog tias koj muaj lus nug lossis lus pom (lossis yog tias kuv tso qee yam tseem ceeb tawm uas kuv tej zaum tau ua) tsuas yog tso kuv cov lus hauv kab lus. Tsis tas li yog tias koj muaj cov lus nug ntsig txog neeg hlau Kuv qhia tias koj koom nrog Society of Robots Forum uas kuv yog tus tswv cuab, thiab ib tus ntawm cov neeg yuav muaj kev zoo siab los teb koj cov lus nug! Zoo siab Robots!
Kauj Ruam 6: Ntxiv Infrared Sensors
Yog li tam sim no koj muaj neeg hlau ua haujlwm… tab sis nws tsuas tuaj yeem tig mus rau sab xis, thiab nws tseem muaj txoj hauv kev zoo ntawm kev ua haujlwm. Peb yuav kho qhov no li cas? Los ntawm kev siv ob sab sensors. Txij li tau txais ob lub tshuab ntsuas hluav taws xob ntau dua yuav kim heev, thiab tsis hais txog overkill, peb yuav siv ob lub ntsej muag ntse GP2Y0A21YK Kev Ntsuas Kev Ntsuas Siab. Cov no yog lub kaum ntse ntse yog li nws yuav muab rau peb pom dav dua. Thaum peb tsuas yog siv lub Ultrasonic sensor, qhov pib yog 16 ntiv tes, qhov no yog chav ntau, tab sis nws tsim nyog. Raws li koj tuaj yeem pom hauv daim duab hauv qab no, lub sonar yuav pom thaj tsam dav ntawm Walbot thaum nws nyob deb li 16 ntiv tes. Tab sis yog tias Walbot nyob hauv ib lub ces kaum (nrog rau phab ntsa nyob ntawm sab xis) nws yuav txheeb xyuas phab ntsa ua ntej tab sis tig mus rau hauv phab ntsa ntawm nws sab xis, thiab tau nyam. Txawm li cas los xij, yog tias peb muaj ob lub teeb pom kev deb deb ntawm ob sab ntawm lub sonar, peb tuaj yeem tshem tawm qhov sonars qhov muag tsis pom. Yog li tam sim no thaum Walbot nkag mus rau hauv ib lub ces kaum nws tuaj yeem txiav txim siab: 1. yog tias muaj teeb meem ua ntej thiab sab xis, lem sab laug. 2. yog tias muaj teeb meem ua ntej thiab sab laug, tig sab xis 3. yog tias muaj teeb meem ua ntej, ntawm sab xis thiab sab laug tig mus. Kuj tseem muaj qee yam uas peb tseem tsis tau hais txog, thiab qhov ntawd yog txhua qhov kev ntsuas tsis muaj zog. Sonar siv lub suab los laij dab tsi ua ntej ntawm nws, tab sis yuav ua li cas yog tias nws taw tes rau qee yam uas tsis cuam tshuam txog lub suab zoo, xws li hauv ncoo? Infrared siv lub teeb (peb tsis tuaj yeem pom nws) kom pom tias muaj dab tsi nyob ntawm nws xub ntiag, tab sis yuav ua li cas yog tias nws taw tes ntawm qee yam pleev xim dub? (Qhov ntxoov ntxoo dub yog qhov tsis muaj lub teeb, nws qhov kev xav tsis cuam tshuam rau lub teeb.) Ua ke ob lub ntsuas no tuaj yeem hais daws qhov tsis muaj zog, yog li tsuas yog txoj hauv kev Walbot yuav plam ib yam dab tsi nyob rau hauv nws, yuav yog nws yog lub suab dub nqus khoom Koj tuaj yeem pom yuav ua li cas ob qhov kev ntxiv me me no tuaj yeem pab Walbot zoo kawg. Tam sim no cia ntxiv cov ntsuas no rau Walbot. Step 1. Tau txais cov ntsuas! Kuv tso qhov txuas kom tau txais lawv saum toj no. Kuv kuj qhia koj kom tau txais 3-tus pin JST Cable rau Sharp Sensors vim tias lawv zoo nkauj heev mus nrhiav lwm qhov. Tam sim no hla ib lub lim tiam ua ntej thaum UPS tus txiv neej xa lawv, thiab cia ua haujlwm. Ua ntej koj xav tau ib txoj hauv kev rau mount lawv. Koj yuav tsum tau ua tus ncej rau lawv, Kuv tau ua kuv li ntawm ib txoj hlua ntawm txhuas, tab sis nws tsis muaj teeb meem tiag. Koj tuaj yeem sim theej cov duab ntawm kuv lub bracket, txhua yam ua haujlwm ntev li nws haum thiab tuav nws nyob hauv qhov chaw. Kauj Ruam 2: Txuas lub sensor rau lub bracket. Ntsia rau sab xub ntiag ob lub 8-32 lub hau ntswj kom txaus thiaj li muaj qhov chaw nyob nruab nrab ntawm qhov sawv ntsug thiab lub hauv paus. Ntsuas lub sensor rau hauv qhov chaw thiab ntsia nws rov qab ua ke. Kauj Ruam 3: rub cov xov hlau hla mus rau saum. Ntawm koj daim ntawv tiv thaiv PCB muaj ob txheej ntawm 3 qhov nyob rau sab xub ntiag ntawm lub rooj tsav xwm sau npe INFRA1 thiab INFRA2. Muab cov xaim liab txuas rau lub qhov uas sau tias VCC (lub qhov ze rau IN hauv INFRA), xaim cov xaim dub mus rau nruab nrab qhov, thiab xaim cov xaim dawb mus rau lub qhov kawg sau tias Ana2 lossis Ana3 (qhov ze rau RA hauv INFRA). Koj kuj tseem tuaj yeem xaiv siv cov kab sib txuas sib txuas uas tsis siv cov xov hlau txuas ncaj qha mus rau pawg thawj coj saib. Ua ke thiab xa qhov no rau koj li Walbot, thiab nws yuav tsum ntse dua li yav tas los! Nco tseg: Kuv tsis tau muaj sijhawm ntau los ntsuas cov cai tshiab, yog li yog tias ib tus neeg pom dab tsi tsis raug nrog nws lossis pom ib txoj hauv kev los ua kom nws zoo dua tsuas yog tawm lus tawm.
Pom zoo:
Arduino - Cov Maze Solving Robot (MicroMouse) Phab Ntsa Tom Qab Neeg Hlau: 6 Cov Kauj Ruam (nrog Duab)
Arduino | Cov Maze Solving Robot (MicroMouse) Phab Ntsa Tom Qab Neeg Hlau: Txais Tos Kuv Isaac thiab qhov no yog kuv thawj tus neeg hlau " Striker v1.0 " .Qhov Robot no tau tsim los daws qhov yooj yim Maze. muaj peev xwm txheeb xyuas lawv.Yog lwm qhov kev hloov pauv hauv qhov tshawb nrhiav yuav xav tau kev hloov pauv hauv
Cov Neeg Tsis Txaus Ntseeg Phab Ntsa hauv Tus Kheej (Sau Koj Tus Kheej Cov Lus!): 8 Kauj Ruam (nrog Duab)
Cov Neeg Tsis Txaus Ntseeg Phab Ntsa hauv Tus Kheej (Sau Koj Tus Kheej Cov Lus!): Kuv tau lub ntsiab lus ua qhov no tau ntau lub hlis tom qab pom kev qhia siv Christmas teeb (nws zoo heev tab sis dab tsi yog lub ntsiab lus uas tsis qhia ib qho lus, puas yog?). Yog li kuv tau ua Tus Neeg Tsis Zoo Phab Ntsa qee lub sijhawm dhau los thiab nws coj kuv mus ntev
Phab Ntsa-E Neeg Hlau: 50 Kauj Ruam (nrog Duab)
Wall-E Robot: Nov yog kuv qhov Wall-E project uas kuv tab tom ua haujlwm tam sim no nws yog 150mm x 150mm x 160 siab, nws siv Mattracks ib khub http://www.litefootatv.com/html/litefoot_in_the_news.htm rau qhov laj thawj lub zog thiab ob lub tshuab robosapienV2. Nws yuav raug tswj los ntawm
Yuav Ua Li Cas Zaum Ib Lub Hlau Nrog Rau Cov Phab Ntsa Carpeted: 3 Kauj Ruam
Yuav Ua Li Cas Zaum Ib Lub Hlau Nyob Ntawm Cov Phab Ntsa Carpeted: Cov lus qhia no qhia yuav ua li cas nkaum ib lub xov hlau sab hauv phab ntsa nrog cov ntaub pua tsev. nws tsis koom nrog cov kws ntoo, kav dej, lossis dev yug menyuam txhua. nws yog qhov tshwj xeeb tshaj yog ua rau chav zoo nkauj, ua kom huv tu poj niam/ niam/ hluas nkauj
Yuav Ua Li Cas PowerPoint Game (Tsis Txhob kov Cov Phab Ntsa): 11 Kauj Ruam
Yuav Ua Li Cas PowerPoint Game (Tsis Txhob kov Cov Phab Ntsa): Hauv Phau Ntawv Qhia no kuv yuav qhia koj paub yuav ua li cas thiaj yooj yim ua "Tsis txhob kov cov phab ntsa" PowerPoint game. Koj tuaj yeem ua ntau qib raws li koj xav tau tab sis kuv yuav qhia koj yuav ua li cas ua ib qho nrog 2 qib