Cov txheej txheem:

Wireless Arduino Robot Siv HC12 Wireless Module: 7 Kauj Ruam
Wireless Arduino Robot Siv HC12 Wireless Module: 7 Kauj Ruam

Video: Wireless Arduino Robot Siv HC12 Wireless Module: 7 Kauj Ruam

Video: Wireless Arduino Robot Siv HC12 Wireless Module: 7 Kauj Ruam
Video: Wireless Tank with turret 2024, Hlis ntuj nqeg
Anonim
Wireless Arduino Robot Siv HC12 Wireless Module
Wireless Arduino Robot Siv HC12 Wireless Module
Wireless Arduino Robot Siv HC12 Wireless Module
Wireless Arduino Robot Siv HC12 Wireless Module

Hav cov neeg, txais tos rov qab. Hauv kuv qhov tshaj tawm yav dhau los, Kuv tau piav qhia tias H Choj Circuit yog dab tsi, L293D lub cev muaj zog tsav IC, piggybacking L293D Lub cev muaj zog tsav IC rau kev tsav tsheb tsav lub cev muaj zog tam sim no thiab yuav ua li cas koj tuaj yeem tsim thiab ua koj tus kheej L293D lub cev tsav tsheb tsav, uas tuaj yeem tswj tau txog 4 siab tam sim no DC motors ntawm nws tus kheej thiab tau txais koj tus kheej Arduino Motor Shield PCB tiav.

Hauv kab ntawv no, kuv yuav qhia koj yuav ua li cas thiaj ua tau Arduino Wirless Robot siv HC12 Wireless module. siv JLCPCB.

Kauj Ruam 1: Tus Nqi Qis Zoo PCBs Los Ntawm JLCPCB

Tus Nqi Qis Siab Zoo PCBs Los Ntawm JLCPCB
Tus Nqi Qis Siab Zoo PCBs Los Ntawm JLCPCB

JLCPCBIs 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.

Kauj Ruam 2: Cov Cheeb Tsam

Cov Cheeb Tsam
Cov Cheeb Tsam
Cov Cheeb Tsam
Cov Cheeb Tsam
Cov Cheeb Tsam
Cov Cheeb Tsam

H Choj

H Choj yog ib qho yooj yim Circuit Court uas tso cai rau siv hluav taws xob hla lub nra ntawm ib qho kev taw qhia. Lawv feem ntau siv rau kev tswj hwm DC lub zog hauv kev txav chaw ntawm cov neeg hlau. Qhov zoo ntawm kev siv DC lub cev muaj zog yog tias https://rootsaid.com/arduino-gesture-controller/, peb tuaj yeem thim rov qab qhov polarity ntawm kev siv hluav taws xob hla qhov thauj khoom yam tsis hloov kho qhov Circuit Court. Yog tias koj xav paub ntau ntxiv txog H Choj Circuit no, mus saib qhov txuas no.

L293D ua

L293D yog daim ntawv cog lus me me ntawm H Choj Circuit hauv daim ntawv ntawm IC uas ua haujlwm rau cov lus hais saum toj no. Nws yog IC nrog 8 tus pin ntawm txhua sab (16 tus pin nyob rau hauv tag nrho) uas muaj 2 ywj siab H Choj Circuit Court, uas txhais tau tias, peb tuaj yeem tswj ob lub cav ntawm nws tus kheej siv ib leeg IC.

L293D yog tus tsav lub cev muaj zog lossis Tsav Tsav IC uas tso cai rau DC lub cav tsav ntawm ib qho kev taw qhia. L293D yog 16-pin IC uas tuaj yeem tswj teeb tsa ob lub DC motors ib txhij hauv ib qho kev qhia. Nws txhais tau tias koj tuaj yeem tswj ob lub tshuab DC nrog tib L293D IC. Kawm paub ntau ntxiv txog L293D IC

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 tau 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.

Tus Neeg Hlau ChassisThis yog tus neeg hlau chassis Kuv siv los ua kuv li BLE Neeg Hlau. Kuv tau txais cov khoom siv no banggood.com. Tsis yog qhov no nkaus xwb, lawv muaj ntau hom neeg hlau thav duab, lub cev muaj zog thiab yuav luag txhua lub ntsuas ntsuas rau ua arduino, raspberry pi thiab lwm yam khoom siv hluav taws xob thiab cov haujlwm nyiam.

Koj yuav tau txais txhua yam no rau tus nqi pheej yig nrog kev thauj khoom sai thiab zoo. Thiab qhov zoo tshaj plaws txog cov khoom siv no yog lawv muab txhua yam cuab yeej uas koj xav tau los sib dhos ua ke.

Kauj Ruam 3: Tsim Circuit Court thiab PCB Kev Txhim Kho

Tsim Circuit Court thiab PCB Kev Txhim Kho
Tsim Circuit Court thiab PCB Kev Txhim Kho
Tsim Circuit Court thiab PCB Kev Txhim Kho
Tsim Circuit Court thiab PCB Kev Txhim Kho
Tsim Circuit Court thiab PCB Kev Txhim Kho
Tsim Circuit Court thiab PCB Kev Txhim Kho

Nta ntawm Pro Mini Tsav Shield PCB

  • Tswj 2 Motors ywj siab ntawm ib lub sijhawm
  • Kev tswj tus kheej ywj pheej siv PWM
  • Compact Design5 V, 12 V thiab Gnd Headers rau cov khoom siv ntxiv
  • Ua kom muaj zog los ntawm Piggybacking
  • Txhawb HC12 Wireless Module

Tam sim no cia peb tshuaj xyuas lub Circuit Court ntawm peb lub rooj tsav tsheb tsav. Zoo li ntxhov siab me ntsis? Tsis txhob txhawj, kuv yuav piav qhia rau koj.

Tus Tswj

Lub hwj chim tawm tswv yim 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.

Tam sim no cia kuv qhia Koj Li Cas Kuv tsim lub Circuit Court thiab tau txais PCB no los ntawm JLCPCB.

Kauj Ruam 1 - 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 - Schematics

Txhawm rau kos cov kab hluav taws xob thiab tsim PCBs, peb muaj online PCB tsim cov cuab yeej los ntawm EasyEDA, muab txhua qhov muaj peev xwm tsim nyog rau PCB Tsim Online thiab PCB Luam Ntawv ntawm Circuit Board nrog ntau pua yam khoom thiab ntau txheej nrog ntau txhiab txoj hauv kev.

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.

Tsis tas li, muaj 5V, 12V, Gnd, wireless module, digital thiab analog pin headers ua rau koj xav tau ntxiv cov ntsuas thiab ntsuas nyeem yav tom ntej. Ua tiav daim npav qhia tau piav qhia hauv ntu hauv qab no.

Tsav Tsheb 1

  • Enable 1 - 5 (PWM)
  • InM1A - 2InM1B - 3
  • Enable 2 - 6 (PWM)
  • InM2A - 7 Nyob rau hauv
  • M2B - 4

HC12

  • Vin - 5 V
  • Gnd - Yog
  • Tx/Rx - D10/D11

Kauj Ruam 3 - Tsim PCB Txheej Txheem

Tom ntej no, 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".

Cov Kev Xaiv PCB Hauv Online

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 4: Tau Txais PCBs Ua Los Ntawm JLCPCB

Tau PCBs Ua Los Ntawm JLCPCB
Tau PCBs Ua Los Ntawm JLCPCB
Tau PCBs Ua Los Ntawm JLCPCB
Tau PCBs Ua Los Ntawm JLCPCB
Tau PCBs Ua Los Ntawm JLCPCB
Tau PCBs Ua Los Ntawm JLCPCB

Kauj Ruam 4 - Tau Txais PCB Zoo Tshaj Plaws

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 5: 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.

Kauj Ruam 6: Tus Tswj Chaw Taws Teeb

Cov Chaw Taws Teeb
Cov Chaw Taws Teeb

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.

Kauj Ruam 7: Xeem Tsav

Kuaj Tsav
Kuaj Tsav
Kuaj Tsav
Kuaj Tsav

Tom qab rub tawm tag nrho cov lej, hauv tus xa nrog rau Robot. Fais fab nws.

Koj tuaj yeem siv lub roj teeb LiPo los ua lub zog rau tus neeg hlau thiab lub roj teeb 9V lossis USB los txhawb lub zog tswj chaw taws teeb. Yog tias txhua yam mus tau zoo, qhov taw qhia LEDs yuav ci.

Tam sim no sim txav tus joystick. Tus bot yuav tsum pib txav los ntawm tam sim no.

Pom zoo: