Cov txheej txheem:

RC Taug Qab Neeg Hlau Siv Arduino - Kauj Ruam Ib kauj ruam: 3 Kauj Ruam
RC Taug Qab Neeg Hlau Siv Arduino - Kauj Ruam Ib kauj ruam: 3 Kauj Ruam

Video: RC Taug Qab Neeg Hlau Siv Arduino - Kauj Ruam Ib kauj ruam: 3 Kauj Ruam

Video: RC Taug Qab Neeg Hlau Siv Arduino - Kauj Ruam Ib kauj ruam: 3 Kauj Ruam
Video: $600 NYIAJ PAB CA * $3600 CHILD TAX * BIDEN SPEECH * INDIA KAB MOB HNYAV * TOP NEWS+ 04/29/2021 2024, Hlis ntuj nqeg
Anonim
RC Taug Qab Neeg Hlau Siv Arduino - Kauj ruam los ntawm Kauj Ruam
RC Taug Qab Neeg Hlau Siv Arduino - Kauj ruam los ntawm Kauj Ruam
RC Taug Qab Neeg Hlau Siv Arduino - Kauj Ruam Ib kauj ruam
RC Taug Qab Neeg Hlau Siv Arduino - Kauj Ruam Ib kauj ruam

Hav cov neeg, Kuv rov qab los nrog lwm tus neeg hlau txias chassis los ntawm BangGood. Vam tias koj tau dhau los ntawm peb cov phiaj xwm yav dhau los - Spinel Crux V1 - Tus Cwj Pwm Tswj Tus Neeg Hlau, Spinel Crux L2 - Arduino Xaiv thiab Muab Neeg Hlau nrog Robotic caj npab thiab Badland Brawler uas peb tshaj tawm lub hli tas los. Zoo li txias nrog nyob rau hauv qhov ci ci txoj cai?

Lub sijhawm no kuv muaj Cov Neeg Nyom Nyuaj Nyuaj Qhuav nrog 4 Log Tsav thiab mob siab rau ncua nws kom taug kev hla qhov av ntxhib. Txheeb nws tawm. Vim li cas ho tsis tsim ib qho rau koj tus kheej? Ntawm no peb yuav kawm paub yuav ua li cas Tsim Kev Tsis Txaus Siab Tsis Muaj Kev Nkag Nkag 4 Log Tsav Arduino Taug Qab Cov Neeg Hlau rau kev caij hla hla qhov av ntxhib - DIY Rough Terrain Wireless Crawler nrog Kev Ncua Sijhawm.

Peb yuav muab koj tus qauv tsim, tus lej, daim duab qhia chaw thiab txuas mus yuav koj tus kheej cov khoom siv neeg hlau, chassis thiab lub ntsuas qhov ntsuas uas siv hauv txoj haujlwm no.

Chaw Tsim Khoom PCB Online - JLCPCB

JLCPCB yog ib lub tuam txhab tsim khoom lag luam PCB Online zoo tshaj plaws los ntawm qhov uas koj tuaj yeem xaj PCBs online yam tsis muaj teeb meem. Lub tuam txhab ua haujlwm 24 teev nyob rau ib hnub, 7 hnub hauv ib lub lis piam tsis tu ncua. Nrog lawv cov cuab yeej siv thev naus laus zis siab thiab cov haujlwm ua haujlwm tsis siv neeg, lawv tuaj yeem tsim khoom ntau ntawm cov qib high-qib PCBs hauv ib teev.

JLCPCB tuaj yeem tsim PCBs ntawm ntau yam nyuaj. Lawv tsim PCBs yooj yim thiab pheej yig nrog ib txheej pawg thawj coj rau cov nyiam ua haujlwm thiab txaus siab nrog rau cov txheej txheem txheej nyuaj rau cov txheej txheem kev lag luam siab. JLC ua haujlwm nrog cov tuam txhab tsim khoom loj thiab tuaj yeem yog PCB ntawm cov khoom siv uas koj siv xws li lub khoos phis tawj lossis lub xov tooj ntawm tes tau tsim ntawm lub Hoobkas no.

HC12

HC 12 yog qhov pheej yig tiag tiag ntev ntau qhov wireless uas tuaj yeem siv rau kev sib txuas tsis sib txuas hauv xov tooj cua ntev li ntawm 1.7 KM. Tus qauv no yog qhov sib cog ntawm lub cev hnyav thiab cov phooj ywg zoo uas ua rau qhov no yog lub wireless zoo tshaj plaws rau peb tes num.

Joystick

Qhov no yog qhov siv dav tshaj plaws neeg hlau tswj uas tuaj nrog ntau yam neeg hlau DIY cov khoom siv neeg hlau/cov khoom siv caj npab uas tau tsim los ua haujlwm nrog arduino. Tus tsim yog qhov yooj yim heev thiab siv tau yooj yim heev. Nws siv ob lub zog ntsuas los ntsuas cov lus tsa suab hauv x axis thiab y axis thiab hloov pauv kom nkag siab lub pob nyem. Qhov no tuaj yeem txuas tau yooj yim rau arduino's analog pins thiab nyeem cov txiaj ntsig analog ncaj qha.

Txoj cai rau kev ntsuas tus joystick muaj nyob hauv qab no. Xav tias dawb los rub tawm/kho nws raws li qhov koj xav tau. Rub tawm Ua ntej rub tawm cov cai tseem ceeb, xyuas kom koj lub joystick ua haujlwm los ntawm kev siv tus lej no.

Rub tawm cov cai los ntawm qhov txuas saum toj no.

Hauv qhov piv txwv no, peb tab tom ua dab tsi tsuas yog khaws cov ntaub ntawv analog tawm los ntawm Joystick siv tus pin analog (A0, A1, A2) ntawm arduino. Cov txiaj ntsig no tau khaws cia hauv qhov sib txawv thiab tom qab ntawv luam tawm ntawm cov ntawv saib

Arduino Pro Mini

Pawg tub ntxhais hluas no tau tsim los rau cov ntawv thov thiab phiaj xwm qhov chaw zoo tshaj thiab kev teeb tsa ua tas mus li. Me me, muaj nyob hauv 3.3 V thiab 5 V versions, siv los ntawm ATmega328. Vim nws qhov me me, hauv txoj haujlwm no peb yuav siv lub rooj tsav xwm no los tswj Arduino Raws Tsav Tsheb Tsav Tsheb.

Kauj Ruam 1: Tsim Circuit Court thiab PCB Layout

Tsim Circuit Court thiab PCB Layout
Tsim Circuit Court thiab PCB Layout
Tsim Circuit Court thiab PCB Layout
Tsim Circuit Court thiab PCB Layout

Arduino Motor Shield Board Piav Qhia

Nta ntawm Pro Mini Motor Shield PCB Tswj 2 Lub Tshuab Ua Yeeb Yaj Kiab ntawm ib lub sijhawm Kev tswj tus kheej ywj pheej siv PWMCompact Design5 V, 12 V thiab Gnd Headers rau cov khoom ntxiv. Ua kom lub zog muaj zog los ntawm PiggybackingSupport HC12 Wireless Module Tam sim no cia peb tshuaj xyuas qhov Circuit Court ntawm peb lub rooj tsav tsheb tsav. Koj puas pom me ntsis?

Tsis txhob txhawj xeeb, kuv yuav piav qhia rau koj. Tus Tswj Tus Kheej Lub hwj chim nkag tau txuas nrog 7805 tus tswj hwm. 7805 yog tus tswj hwm 5V uas yuav hloov pauv qhov hluav taws xob ntawm 7- 32V mus rau qhov ruaj khov 5V DC. 5 V cov khoom siv txuas nrog rau qhov hluav taws xob nkag ntawm Arduino ntxiv rau kev ua haujlwm ntawm L293D IC.

Muaj qhov taw qhia LEDs hla 12V thiab 5V lub dav hlau kom yooj yim daws teeb meem. Yog li, koj tuaj yeem txuas cov tswv yim hluav taws xob ntawm txhua qhov chaw ntawm 7V txog 32 rau hauv Circuit Court no. Rau kuv tus bot, Kuv nyiam 11.1V Lipo Battery. Ua Koj Tus Kheej Arduino Motor Shield PCB Tam sim no cia kuv qhia Koj Li Cas Kuv tsim lub Circuit Court thiab tau txais PCB no los ntawm JLCPCB.

Tsim cov qauv

Ua ntej txuas txhua lub Cheebtsam ua ke ntawm daim ntawv qhia zaub mov kom kuv tuaj yeem daws teeb meem yooj yim yog tias muaj qee yam tsis raug. Thaum kuv tau txais txhua yam ua haujlwm tau zoo, Kuv sim nws ntawm Robot thiab ua si nrog nws qee lub sijhawm. Lub sijhawm ntawd, Kuv tau ua kom ntseeg tau tias Circuit ua haujlwm tau zoo thiab tsis ua kom sov.

Kauj Ruam 2 - Cov Txheej Txheem Kom kos cov kab hluav taws xob thiab tsim PCBs, peb muaj PCB hauv online tsim cov cuab yeej los ntawm EasyEDA, muab txhua qhov muaj peev xwm tsim nyog rau online PCB Tsim thiab PCB Luam Ntawv ntawm Circuit Boards nrog ntau pua yam khoom thiab ntau txheej nrog ntau txhiab txoj kab.

Kuv kos lub voj voog hauv EasyEDA uas suav nrog tag nrho cov khoom siv ntawm lub khob cij - ICs, Arduino Nano thiab HC12 module uas txuas nrog tus pin digital ntawm Arduino.

Kuv kuj tau ntxiv qee lub taub hau uas txuas nrog Analog Pins thiab Digital Pins ntawm Cov nyees khawm no yuav muaj txiaj ntsig yav tom ntej. Kev Sib Txuas Ntxiv, muaj 5V, 12V, Gnd, wireless module, digital thiab analog pin headers ua rau koj xav tau ntxiv cov ntsuas thiab nyeem yav tom ntej.

Ua tiav daim npav qhia tau piav qhia hauv ntu hauv qab no.

Tsav Tsheb 1

Pab kom 1 - A0

IB 1M - 2

IBM 1 - 3

Pab kom 2 - 8

IB 2M - 7

IB 2 - 4

HC12

Vin - 5 V

Gnd - Yog

Txc/Rx - D10

Txx/Rx - D11

Relay

Tshaj 1-12

Tshaj 2-13

Kuv kuj ntxiv 7805, tus tswj hwm uas yuav pab kuv muab qhov hluav taws xob nkag nruab nrab ntawm 7 volt thiab 35 volt hauv cov lus tawm, yog li kuv tuaj yeem siv 7 volt fais fab mov, 9-volt roj teeb lossis txawm tias 12 volt lithium polymer roj teeb tsis muaj tej teeb meem. Kauj Ruam 3 - Tsim PCB Txheej Txheem Tom ntej, tsim PCB. PCB Layout yog qhov tseem ceeb ntawm PCB Tsim, peb siv PCB Layouts los ua PCBs los ntawm kev qhia paub.

Kuv tsim PCB uas kuv tuaj yeem muab cov khoom sib xyaw ua ke. Txog qhov ntawd, thawj zaug khaws cov lej thiab los ntawm cov cuab yeej saum toj kawg nkaus, Nyem rau khawm hloov thiab xaiv "Hloov mus rau PCB".

Qhov no yuav qhib qhov rai. Ntawm no, koj tuaj yeem tso cov khoom siv sab hauv tus ciam thiab npaj lawv raws li qhov koj xav tau. Txoj hauv kev yooj yim txhua txoj hauv kev yog "pib-txoj kev" txheej txheem. Rau qhov ntawd, Nyem rau ntawm "Txoj Kev" Cov Cuab Yeej thiab Xaiv "Pib Router".

Qhov no yuav qhib qhov Auto Router Config Page uas koj tuaj yeem muab cov ntsiab lus xws li tshem tawm, taug qab dav, txheej txheej thiab lwm yam. Thaum koj ua tiav qhov ntawd, nyem rau "Run". Nov yog qhov txuas rau EasyEDA Schematics thiab Gerber Cov Ntaub Ntawv ntawm L293D Arduino Motor Shield Board. Thov koj xav tau rub tawm lossis hloov kho cov duab kos/PCB txheej txheem. Qhov ntawd yog cov menyuam, koj qhov kev teeb tsa tam sim no tiav. Qhov no yog txheej txheej ob txheej PCB uas txhais tau hais tias cov kev xa mus muaj nyob hauv ob sab ntawm PCB. Tam sim no koj tuaj yeem rub tawm Gerber cov ntaub ntawv thiab siv nws los tsim koj li PCB los ntawm JLCPCB.

Kauj Ruam 2: Tau Txais PCB Zoo Los ntawm JLCPCB

Tau Txais PCB Zoo Los Ntawm JLCPCB
Tau Txais PCB Zoo Los Ntawm JLCPCB
Tau Txais PCB Zoo Los Ntawm JLCPCB
Tau Txais PCB Zoo Los Ntawm JLCPCB
Tau Txais PCB Zoo Los Ntawm JLCPCB
Tau Txais PCB Zoo Los Ntawm JLCPCB
Tau Txais PCB Zoo Los Ntawm JLCPCB
Tau Txais PCB Zoo Los Ntawm JLCPCB

JLCPCB yog lub tuam txhab tsim khoom lag luam PCB nrog lub voj voog tsim khoom tag nrho. Uas txhais tau tias lawv pib los ntawm "A" thiab ua tiav nrog "Z" ntawm PCB txheej txheem kev tsim khoom. Los ntawm cov ntaub ntawv raw mus rau cov khoom tiav, txhua yam yog ua tiav hauv qab lub ru tsev.

Mus rau JLCPCBs lub vev xaib thiab tsim tus as khauj dawb. Thaum koj tau ua tiav kev tsim tus as khauj, Nyem rau "Hais Tam Sim No" thiab xa koj li Gerber File.

Gerber Cov Ntaub Ntawv muaj cov ntaub ntawv hais txog koj li PCB xws li PCB txheej xwm txheej, Cov ntaub ntawv txheej, cov ntaub ntawv sib nrug, cov npe rau ob peb tus.

Hauv qab PCB saib ua ntej, koj yuav pom ntau txoj kev xaiv xws li PCB Quantity, Texture, Thickness, Color etc. Xaiv txhua yam uas tsim nyog rau koj. Thaum txhua yam ua tiav, nyem rau "Txuag Rau Lub Laub".

Hauv nplooj ntawv tom ntej, koj tuaj yeem xaiv kev xa khoom thiab them nyiaj xaiv thiab Txheeb Xyuas Kom Ruaj Ntseg. Koj tuaj yeem siv Paypal lossis Credit/Debit Card los them. Nws yog cov txiv neej. Nws Ua Tiav.

PCB yuav raug tsim thiab xa nrog hauv hnub thiab yuav xa mus rau koj lub qhov rooj tsis pub dhau lub sijhawm teev tseg.

Kauj Ruam 3: Xeem Tsav

Kuaj Tsav
Kuaj Tsav
Kuaj Tsav
Kuaj Tsav

Thaum koj tau txais PCB hauv tes, txhua yam koj yuav tsum tau ua yog siv lub taub hau taub hau thiab tag nrho lwm yam khoom siv. Thaum ua tiav, txuas lub hwj chim hloov pauv thiab koj yuav pom LED1 yuav ci tuaj.

Qhov no txhais tau tias nws ua haujlwm.

Txoj Cai

Ntawm no, kuv yuav qhia qhov chaws rau HC12 Cov Chaw Taws Teeb thiab RC Neeg Hlau. Cias upload cov cai no rau koj cov chaw taws teeb xws li koj li DIY RC Robot.

Nov yog tus lej rau DIY RC Off Road Robot.

Cov chaw taws teeb tswj

Hauv cov ntawv tshaj tawm dhau los, Kuv tau qhia koj li cas koj tuaj yeem teeb tsa thaj chaw deb deb rau koj li RC Robot. Koj tuaj yeem siv tib lub chaw taws teeb tswj nrog tib tus lej rau txoj haujlwm no.

Piggybacking L293D (Cov Lus Qhia Tshwj Xeeb)

L293D piggyback teeb tsa yog Txoj Kev Yooj Yim rau Ob npaug (lossis hauv kuv qhov xwm txheej triple) Tam sim no ntxiv rau lub zog L293D Tsav Tsheb Tsav IC kom tsav lub zog loj/ lub zog tam sim no/ siab ua haujlwm siab. (Lub tswv yim no yuav tsum ua haujlwm rau ib qho L293D chips). L293D Piggyback yog cov txheej txheem nrawm thiab yooj yim kom muab ob npaug tam sim no tso rau lub cev muaj zog.

Yog li tag nrho cov kev xav yog txhawm rau lwm L293D nti ncaj qha rau tam sim no. Pin to Pin. Qhov no tso ob daim npav ua ke ua ke kom qhov hluav taws xob yuav zoo ib yam li ua ntej tab sis tam sim no nce ntxiv. Cov chips no tau tshuaj xyuas ntawm kwv yees li 600ma tas li lossis txog 1.2A rau lub sijhawm luv luv. Tom qab piggybacking ob ntawm lawv ua ke, lawv yuav muab cov zis nrog 1.2A txuas ntxiv tam sim no thiab 2.4A rau lub sijhawm luv luv.

Pom zoo: