Cov txheej txheem:

Super Yooj Yim Pib Pib Neeg Hlau !: 17 Cov Kauj Ruam (nrog Duab)
Super Yooj Yim Pib Pib Neeg Hlau !: 17 Cov Kauj Ruam (nrog Duab)

Video: Super Yooj Yim Pib Pib Neeg Hlau !: 17 Cov Kauj Ruam (nrog Duab)

Video: Super Yooj Yim Pib Pib Neeg Hlau !: 17 Cov Kauj Ruam (nrog Duab)
Video: Yim laus yim do hau _phees lauj _fullmusic MV 2023 2024, Kaum ib hlis
Anonim
Super Yooj Yim Pib Pib Neeg Hlau!
Super Yooj Yim Pib Pib Neeg Hlau!

'' 'ROBOT VIDEO' '' Ntawm no yog qhov txuas mus rau qhov vis dis aus thaum YouTube tab tom ua cov kab ke sib dhos … Kuv tau tsim Cov Lus Qhia no rau qhov tsis muaj n00by neeg hlau xav tau. Kuv tau pom qhov kev dhia loj hauv tus naj npawb ntawm cov pib nkag mus rau hauv kev nyiam ua thiab tus lej "Kuv yuav ua li cas" cov lus nug zoo li yuav nce. Tej zaum qhov txo hwj chim me Qhia Qhia yuav pab ib lossis ob tus tsim lawv thawj tus neeg hlau. Koj yuav pom cov hauv paus ntsiab lus ntawm qhov kawg ntawm Cov Lus Qhia no. Tsis txhob poob siab ntawm tus naj npawb ntawm cov kauj ruam… Kuv tsoo cov neeg hlau mus rau hauv ntau cov kauj ruam me me kom yooj yim ntawm kev ua raws. Tus neeg hlau me me no tsis muaj dab tsi ntau dua li txheej txheem plywood yooj yim uas nqa ob peb tus qauv hloov kho dav hlau servos ua lub zog tsav loj, lub tshuab tswj xyuas me me thiab IR sensor. Kuv tsim nyob hauv chav txaus kom nthuav dav thiab ntxiv rau. Koj yuav tsum tuaj yeem tsim nws li ntawm 3 teev yog tias koj muaj cov khoom ntawm tes. Lub microcontroller kuv xaiv yog OOPic R. Kuv khaws cov micro no vim tias kaum ob ntawm cov khoom tsim thiab cov lej piv txwv ua rau nws yooj yim rau tus pib kom sawv thiab khiav sai. Lawv tuaj yeem pom los ntawm ib qho ntawm cov neeg hlau loj qhov chaw xa khoom rau feem ntau tsawg dua 60 bucks. Tau txais cov khoom siv pib vim nws muaj lub program cable thiab roj teeb clip suav nrog. Koj tuaj yeem siv ib lub microcontroller ntev li ntev tau koj tuaj yeem ntsaws servo ncaj qha rau hauv nws (uas ua rau cov npe luv, lol) Cov kev pabcuam teev tseg yog txhua yam Hitec HS-311 tus qauv dav hlau servos pom ntawm yuav luag txhua lub khw nyiam ua rau tsawg dua 10 bucks hauv qee kis. IR sensor yog Sharp GP2D12 Analog chav muaj los ntawm Digikey (www.digikey.com). Ib qho ntawm GP2D12XXX analog series yuav ua txoj haujlwm. Tailwheel yog ib qho yooj yim Dubro.20-.40 qauv dav hlau 1 "log nrog mount. Xaiv ib qho ntawm lub khw nyiam ua haujlwm qhov twg koj tau txais koj cov kev pabcuam. Lub hauv paus ntoo yog ib qho seem ntawm 1/4 nti birch plywood thiab servo / sensor mount yog ib seem me me ntawm txhua yam ntoo. Tsis muaj SPECAIL ntxiv rau thaum kawg nws raug nqi kuv li $ 95.00 USD. Cov kauj ruam tshwj xeeb ntxiv txog 50 bucks.

Kauj Ruam 1: Cov Cuab Yeej thiab Cov Khoom

Cov Cuab Yeej thiab Cov Khoom
Cov Cuab Yeej thiab Cov Khoom

Nov yog cov npe ntawm yam koj yuav xav tau los tsim Super SImple Robot!

Daim ntawv teev npe: -ooPic R Microcontroller (https://www.thebotshop.com/) (ceeb toom -Koj tuaj yeem siv qhov twg microcontroller koj nyiam nrog) -Sharp GP2D12 Nrog wired JST txuas -Billet Aluminium Log/Log (lossis equivelent) - Hitec HS -311 Servos, Hloov Kho -Super Glue -.5 X 1 nti Ob Chav Sided Daim Kab Xev -1/4 nti Plywood thiab ib qho ntawm cov ntoo ntoo -Dubro.20 -.40 RC Lub dav hlau Tailwheel assmbly -Misc. qhov chaw/sawv ntsug thiab ntsia hlau/txiv ntseej -9 Volt roj teeb -Cov cua sov ntsws tubing 1/16 x 3 ntiv tes -3 tus qauv poj niam crimp pins (tsis txhob ntshai yog tias koj tsis tuaj yeem tau txais lawv) -Paint *yeem -9 volt roj teeb Cov Cuab Yeej: -Misc Me Screwdrivers -Needle Nose Pliers -Drill thiab cov khoom -Saw -Soldering Iron -Solder -Sandpaper -Sharp Pencil -Ruler Total Cost approx. $ 95.00 USD Lub Sijhawm Tsim Kho kwv yees. 2.5 - 3 teev

Kauj ruam 2: Hloov kho Servos

Hloov kho Servos
Hloov kho Servos

Koj yuav tsum tau hloov kho koj cov servos siv super kua nplaum lub zog potentiometer. Kuv xaiv tsis txhob nkim qhov chaw los ntawm kev nthuav tawm nws ntawm no vim tias muaj kaum ob ntawm kab lus ntawm Kev Qhia thiab Google qhia koj li cas. Yog hais tias xav tau hu rau nws Kuv yuav ntxiv nws ntawm no tom qab. Qhov tseem ceeb koj yuav tsum rhuav lawv sib nrug, nrhiav qhov 90 (tsis muaj kev txav chaw) txoj haujlwm, super kua nplaum lub lauj kaub sab saum toj thiab hauv qab, muab nws tag nrho rov qab ua ke, hloov cov khoom tso tawm, tshem tawm. sab saum toj ntawm lub lauj kaub ncej yaug nrog cov ntaub ntawv pwm. Hitec HS-311 muaj lub lauj kaub yas uas ua kom yooj yim rau sau. Yog tias koj siv qhov sib txawv servo uas muaj lub lauj kaub hlau koj yuav tsum hloov pauv sab hauv qab ntawm cov iav tso tawm xwb.

Kauj Ruam 3: Txiav Qhov Ntoo

Txiav Ntoo Qhov
Txiav Ntoo Qhov

Txiav ib qho ntawm 1/4 nti birch plywood lossis sib npaug, rau hauv 3.25 nti square rau lub hauv paus.

** Tshwj xeeb ** Txiav daim thib ob ntawm 1/4 plywood sib piv thawj zaug kom yooj yim ntxiv rau tom qab. Txiav ib qho ntoo seem rau hauv 2 5/16 nti ntev, 3/4 nti siab, 1/2 nti tuab GP2D12 mount. Qhov seem servo / IR mount tuaj yeem ua los ntawm laminating 2 daim ntawm 1/4 nti birch plywood ua ke. Thaum txhua yam raug txiav tawm muab nws ua kom maj mam txhuam kom huv ib qho ntxhib lossis tsis meej.

Kauj Ruam 4: Laum Qhov

Laum Qhov
Laum Qhov

Siv koj lub microcontroller los ua phau ntawv qhia, teeb tsa lub qhov rau ntawm lub plywood nyiam rau pem hauv ntej raws li qhia. Siv lub tailwheel mount raws li phau ntawv qhia, teeb tsa lub qhov ntawm lub plywood nyiam lub nraub qaum raws li qhia pom. Yog tias koj tau xaiv los ua cov khoom seem ntawm ** Tshwj xeeb ** hauv qib 3, tom qab ntawd kaw ob lub hauv paus ua ke thiab laum cov microcontroller qhov nyob rau tib lub sijhawm. Cais ob daim thiab laum cov log log hauv ib ntawm lawv nkaus xwb.

Kauj Ruam 5: Nruab Servo / IR Mount

Nruab qhov Servo / IR Mount
Nruab qhov Servo / IR Mount

Super kua nplaum rau servo / IR mount los ntawm Kauj Ruam 2 mus rau hauv qab ntawm cov plywood kom ntseeg tau tias nws nruab nrab nws sab laug thiab sab xis nrog rau yaug nws nrog rau pem hauv ntej ntug ntawm plywood raws li qhia.

Kauj Ruam 6: Laum Qhov rau Servo Wires

Laum Qhov rau Servo Hlau
Laum Qhov rau Servo Hlau

Ib ntus tso koj cov servos rau hauv lawv txoj haujlwm mounting tom qab servo / IR mount thiab koj yuav pom tias cov xov hlau tsoo rau sab nraub qaum. Peb yuav xav tau qee qhov kom tso cai rau cov xov hlau hla mus. Servos yuav tsum tau taw qhia kom cov zis tawm ze dua rau pem hauv ntej ntawm lub hauv paus, tsis yog tom qab.

Siv cov servo los ua phau ntawv qhia, txiav txim siab thiab cim qhov twg lub qhov yuav tsum tau muab hlais rau ntawm lub qhov rooj. Siv koj tus cwj mem thiab tus pas ntsuas, hloov cov ntsiab lus ntawd rau pem hauv ntej ntawm lub roob raws li qhia hauv qib 4. Laum qhov nrog 5/16 laum ntsis. Ceev faj, koj tuaj yeem faib ntoo. Tsis txhob ntshai, yog tias koj ua super kua nplaum nws ua ke. XYOO TSHIAB koj tuaj yeem rov qab hla cov kab xev servo los ntawm lub qhov me me hauv qhov hauv qab ntawm qhov kev pabcuam thaum hloov kho thiab zam cov kauj ruam no tag nrho.

Kauj Ruam 7: Tailwheel

Tailwheel
Tailwheel

Txhim kho lub rooj sibtham ntawm lub log tom qab ntawm lub hauv paus raws li qhia siv ob peb 4-40 X 1/2 nti tshuab ntsia hlau thiab txiv ntseej.

Xyuas kom tseeb tias lub hau ntswj, lossis cov txiv ntseej nyob ntawm qhov taw qhia, tau txais countersunk rau hauv plywood kom lawv tsis cuam tshuam nrog kev teeb tsa servo. Tsis txhob txhawj txog qhov siab tam sim no, peb yuav kho nws tom qab.

Kauj ruam 8: Nruab Standoffs

Nruab Standoffs
Nruab Standoffs

Nws yog qhov zoo tshaj kom tau txais koj lub rooj sawv ntsug sawv ntsug tam sim no ua ntej servo nkag mus.

Siv 4-40 X 1 nti ntsia hlau, 4-40 x 1/4 nti sawv ntsug thiab 4-40 txiv ntoo, teeb tsa ib qho hauv txhua lub microcontroller qhov raws li qhia. Ua kom ntseeg tau tias lub taub hau ntsia hlau tau txais countersunk rau hauv plywood kom lawv tsis cuam tshuam nrog kev teeb tsa servo.

Kauj ruam 9: Nruab Servos

Nruab Servos
Nruab Servos

Super nplaum cov servos rau sab hauv qab ntawm plywood puag thiab nce tawm tsam servo / IR mount. Nws tsuas yog siv ib los lossis ob..

Ua raws cov xov hlau servo hla lub qhov hauv servo / IR mount raws li qhia.

Kauj ruam 10: Nruab Microcontroller

Nruab Microcontroller
Nruab Microcontroller

Nruab ib lub microcontroller ntawm qhov sawv ntsug raws li tau qhia. Nws yuav tsim nyog tso lub tshuab ntxhua khaub ncaws ntawm txhua qhov sawv ntsug kom nqa lub microcontroller hla lub rooj sib dhos lub tog raj kheej nyob ntawm koj li kev txawj teeb tsa. (pom) rau ** Tshwj xeeb ** ntxiv rau tom qab.

Kauj Ruam 11: Txhim Kho Cov Log

Nruab Log
Nruab Log

Cov kauj ruam no yog qhov loj heev … Nruab koj lub log uas koj xaiv thiab kho lub tailwheel ua qhov chaw hauv paus theem lossis qis qis me ntsis.

Tsis yooj yim sua: Kuv muaj cov khoom ntxiv ntawm lub log tawm hauv khw, email kom paub meej.

Kauj Ruam 12: Ntxiv Roj Teeb

Ntxiv roj teeb
Ntxiv roj teeb

Muab ob daim kab xev nplaum roj teeb tso rau hauv qhov chaw tom qab cov servos thiab nyob rau pem hauv ntej ntawm lub tog raj kheej rau hauv qab ntawm lub hauv paus. Lub roj teeb yuav tsum zaum ntawm ntug kom haum. Yog tias koj tab tom tsim ** Tshwj xeeb ** version koj tuaj yeem tos thiab siv qhov chaw sab saud los teeb lub roj teeb.

Kauj Ruam 13: Txuas rau Servos

Txuas rau hauv Servos
Txuas rau hauv Servos

Plug sab laug servo rau hauv oopic servo chaw nres nkoj 31. Txoj cai feem ntau 3 tus pin chaw nres nkoj.

Ntsaws txoj cai servo rau hauv qhov chaw nres nkoj oopic 30. Saib rau ob lub servo txuas nrog cov xov hlau daj hauv cov duab sau tseg tom qab ntawm daim duab.

Kauj Ruam 14: Nruab IR

Nruab IR
Nruab IR

Super kua nplaum Sharp GP2D12 hla lub qhov/xov hlau ntawm sab xub ntiag.

Mount IR kom siab li koj tuaj yeem ua kom txo qis hauv pem teb. Muab nws xaim thiab koj tuaj yeem pom me ntsis nyem rau hauv cov ntaub ntawv yas rau cov xov hlau servo kom haum tom qab.

Kauj Ruam 15: Hlau IR

Hlau IR
Hlau IR

Qhov nyuaj tshaj plaws ntawm txhua tus neeg hlau, ntseeg kuv.

Ntawm txhua ntawm cov xov hlau rau GP2D12 tso 1 nti ntawm cov cua sov ntsws ntsws. Xaub nws txoj kev tawm ntawm txoj kev. Solder (lossis crimp) ib tus poj niam nkaus xwb tus pin txuas rau ntawm txhua lub xov hlau. YOOJ YIM - Tsis RECOMMENDED rau NON SOLDERERS! Koj tuaj yeem txuas qhov kawg ntawm cov xaim tsuas yog mus rau qhov kawg ntawm qhov xav tau microcontroller pins thiab xaub lub cua sov kom qis dua nws los tiv thaiv kom luv. Nws yuav tsum tau ua tiav nrawm thiab ua tib zoo. Xaub lub tshav kub ntsws tubing yaug mus rau lub ntsej muag ntawm lub qhov taub. Siv rab phom cua sov sib zog ntsais lub tubing. Thov txim, Kuv tsis tuaj yeem tau txais daim duab zoo tag nrho txhua yam khoom me me no. Pom ib qho qhib 5 volt tus pin ntawm oopic thiab ntsaws liab GP2D12 xaim rau hauv. Muaj ntau ntawm lawv. Kuv siv cov khoom seem 5 volt los ntawm 12C chaw nres nkoj. Qhia hauv daim duab sau tseg. Pom ib qho qhib GND tus pin ntawm lub oopic thiab ntsaws dub GP2D12 xaim rau hauv. Muaj ntau ntawm lawv. Kuv siv cov khoom seem GND los ntawm 12C chaw nres nkoj. Qhia hauv daim duab sau tseg. Nrhiav tus pin3 thiab ntsaws cov hlau GP2D12 dawb rau hauv. Muaj ib tus xwb lol.

Kauj ruam 16: Source Code

Qhov Code
Qhov Code

Hloov kho 2/16/09SOURCE CODE RAU KEV SONAR OPTION IN THE NEXT STEP (SPECIAL STUFF) Ua raws cov lus qhia rau koj lub microcontroller thiab txiav thiab muab cov cai no tso rau hauv tus editor. Sau thiab xa mus rau tus neeg hlau. Qhov chaws yog yooj yim heev tab sis bot zam ntau yam teeb meem uas nws pom. Nws yog qhov yooj yim coj kuv tus lej thiab nthuav tawm rau nws.'SuperSimpleBeginnersRobot'www.instructables.com'Ted Macy'[email protected]'2/16/09'-------------- ----------------------------------------------------------------------- -'Tsim thiab teeb tsa Cov Hom Phiaj' ------------------------------------------- ---------------------- Dim Servo_Right Raws Li Tshiab oServoDim Servo_Left Raws Li Tshiab oServoDim SRF04Servo Raws Li Tshiab oServoDim GP2D12 Raws li oIRRange (3, 8, cvOn) Dim SRF04 Raws li oSonarDV (8, 9, cvOn) SRF04Servo. IOLine = 29 'Teem servo siv I/O Kab 30. SRF04Servo. Center = 28' Teem lub chaw pabcuam servos rau 28. (saib phau ntawv) SRF04Servo. Operat = cvTrue 'Qhov kawg uas yuav tsum tau ua, Qhib Servo rau. Servo_Right. IOLine = 30 'Teem servo siv I/O Kab 30. Servo_Right. Center = 28' Teem lub chaw pabcuam servos rau 28. (saib phau ntawv qhia) Servo_Right. Operate = cvTrue 'Qhov kawg ua, Qhib Servo rau. Servo_Left. IOLine = 31 'Teem servo siv I/O Kab 31. Servo_Left. Center = 28' Teem lub chaw pabcuam servo rau 28. (saib phau ntawv) Servo_Left. Operate = cvTrue 'Qhov kawg uas yuav tsum tau, Tig lub Servo rau. '------------------------------------------------------- ---------------- 'Xaus Tsim thiab Teeb Cov Hom Phiaj' Lub hauv paus tseem ceeb yog koj li kev niaj hnub hu ua lub zog! '--------------- ----------------------------------------------------------------------- Sub lub ntsiab () Ua Hu IR Hu Rau Forward_All Hu SServo Loop End Sub '----------------------------------- ------------------------------ 'Xaus Txoj Haujlwm Tseem Ceeb' Pib ntawm Tsav System Subroutines '-------- ----------------------------------------------------------------------- ------- Sub Spin_Left () Servo_LeftInvert = 0 Servo_Left = 62 Servo_Right = 60End SubSub Spin_Right () Servo_RightInvert = 1 Servo_Left = 62 Servo_Right = 60End SubSub Forward_All () Servo_RightInvert = 0 Servo_Lightft 1 Servo_Right = 60 Servo_Left = 62End SubSub REVERSE () Servo_RightInvert = 1 Servo_LeftInvert = 0 Servo_Right = 60 Servo_Left = 62E nd SubSub STOP () Servo_Left = 0 Servo_Right = 0 Hu SServoEnd Sub '----------------------------------- ------------------------------ 'Xaus Kev Tsav Tsheb Subroutines' Pib ntawm Sensor Subroutines '-------- ----------------------------------------------------------------------- ------- Sub SServo () SRF04Servo. Position = 15 SRF04. Operat. Pulse (1, 1, 250) Yog SRF04. Value <128 Ces Hu Spin_Right Lwm Yam Hu Rau Forward_Txhua Yog Yog ooPIC. Delay = 600 SRF04Servo. Position = 31 SRF04. Operat. Pulse (1, 1, 250) Yog SRF04. Value <64 Ces Hu REVERSE Lwm Qhov Hu Rau Forward_Txhua Yam Yog Yog ooPIC. Delay = 600 SRF04Servo. Position = 46 SRF04. Operat. Pulse (1, 1, 250) Yog SRF04. Value <128 Ces Hu Spin_Left Lwm Qhov Hu Rau Forward_All End Yog ooPIC. Delay = 600 SRF04Servo. Position = 31 SRF04. Operat. Pulse (1, 1, 250) Yog SRF04. Value <64 Ces Hu REVERSE Lwm Yam Hu Rau Forward_Txhua Yog ooPIC. Delay = 600End SubSub IR () Yog GP2D12. Value <64 Ces Hu Nres Nres End IfEnd Sub '---------------------------- ------------------------------------- 'Xaus ntawm Sensor Subroutines' ------- ----------------- ---------------------------------------------- Ua Tsaug Ntau

Kauj Ruam 17: KEV QHIA TSHAJ PLAWS

Tshwj xeeb STUFF
Tshwj xeeb STUFF

Siv cov hauv paus ntxiv ntu txiav thaum pib koj tuaj yeem ntxiv cov khoom siv servo thiab sonar kom muaj peev xwm ntau dua.

Koj yuav xav tau: Servo (tsis hloov kho) SRF04 lossis 08 nrog servo mount los ntawm Acroname (www.acroname.com) Tshooj ntu seem Txiav lub qhov nyob rau sab xub ntiag ntawm plywood tsuas yog loj txaus rau servo kom haum rau. Nruab plywood hla qhov sawv ntsug ntev thiab ruaj ntseg nrog qee 4-40 txiv ntoo. Koj yuav tsum tau countersink sab hauv qab ntawm lub qhov tso cai rau tag nrho txoj kab uas hla sawv ntsug kom haum rau hauv lawv li 1/8 ntiv tes kom cov xov lo nyob deb txaus. Nruab qhov servo, sonar mount thiab sonar. Nqa tus servo mus rau oopic chaw nres nkoj servo 29 thiab xaim lub sonar rau tus pin raws li qhia hauv phau ntawv siv oopic. Koj yuav tsum tau siv tus lej piv txwv hauv IDE los sim nws raws li kuv tseem tsis tau sau ib qho twg … Roj teeb tuag. Koj tuaj yeem ntxiv ntau qib ntxiv rau ntxiv yog tias koj xav tau yooj yim los ntawm kev txiav thiab drilling ntau daim plywood thiab ntxiv rau qhov tsis pom kev. Ntxiv ntau lub cim zoo li QRB1134 kom ua rau koj tus bot ua raws kab. Muaj kev lom zem thiab tsim ntau bots! Koj tuaj yeem xa email rau kuv lossis sau npe rau kev pab. Kuv yuav ntxiv video sai sai no. Kuv nyob ntawm kev sib tham thiab yuav tsum tsav 20 mais mus rau lub nroog kom tau txais kev kub ceev. theo570 AT yahoo DOT com Ted (BIGBUG)

Pom zoo: