Cov txheej txheem:

Arduino Robot 4WR: 6 Kauj Ruam
Arduino Robot 4WR: 6 Kauj Ruam

Video: Arduino Robot 4WR: 6 Kauj Ruam

Video: Arduino Robot 4WR: 6 Kauj Ruam
Video: How To Make Arduino Human Following Robot 2024, Kaum ib hlis
Anonim
Image
Image
Daim duab Circuit Court
Daim duab Circuit Court

Hav guys! Kuv vam tias koj twb nyiam kuv cov lus qhia yav dhau los "ELECTRONIC CHRISTMAS TREE" thiab koj tau npaj rau qhov tshiab, raws li ib txwm kuv tau ua cov lus qhia no los qhia koj ib qib zuj zus thaum koj ua koj tus kheej neeg hlau thiab pib kawm paub tswj cov neeg hlau li cas thiab yuav tswj hwm lawv li cas ib yam, txoj haujlwm no tuaj yeem yog qhov pib zoo hauv ntiaj teb neeg hlau.

Thaum ua qhov haujlwm no, peb tau sim ua kom ntseeg tau tias cov ntawv qhia no yuav yog cov lus qhia zoo tshaj plaws rau koj txhawm rau pab koj yog tias koj xav ua koj tus kheej lub neeg hlau, yog li peb cia siab tias cov ntawv qhia no muaj cov ntaub ntawv xav tau. Txoj haujlwm no ua tau yooj yim los ua tshwj xeeb tom qab tau txais PCB tshwj xeeb uas peb tau xaj los ntawm JLCPCB txhawm rau txhim kho qhov pom ntawm peb cov cuab yeej siv hluav taws xob thiab tseem muaj cov ntaub ntawv txaus thiab cov lej hauv phau ntawv qhia no tso cai rau koj tsim koj li neeg hlau zoo nkauj. Peb tau ua txoj haujlwm no tsuas yog 4 hnub nkaus xwb, tsuas yog ib hnub kom tau txais txhua yam uas xav tau thiab ua tiav cov cuab yeej tsim khoom thiab sib sau ua ke, tom qab ntawd ib hnub los npaj cov cai kom haum rau peb tes num thiab ob hnub los tsim cov app hauv. peb tau pib qhov kev sim thiab kev hloov kho.

Koj yuav kawm dab tsi los ntawm cov lus qhia no:

  1. Ua qhov kev xaiv kho vajtse raug rau koj txoj haujlwm nyob ntawm nws txoj haujlwm.
  2. Nkag siab cov neeg hlau mecanisme.
  3. Npaj daim duab kab hluav taws xob txuas rau txhua qhov khoom siv uas tau xaiv.
  4. Muab cov khoom siv hluav taws xob tso rau PCB.
  5. Sib sau ua ke txhua qhov haujlwm (lub cev neeg hlau).
  6. Pib qhov kev sim thawj zaug thiab lees paub qhov haujlwm.

Kauj Ruam 1: Daim duab Circuit Court

Daim duab Circuit Court
Daim duab Circuit Court

Raws li ib txwm hais mav, Kuv sim khaws qee qhov haujlwm yooj yim rau cov neeg saib yog li txhua tus tuaj yeem sim nws thiab hnub no txoj haujlwm yog yooj yim ib yam, raws li 3D luam tawm ib feem ntawm SMARS neeg hlau uas yog lub tsheb me me nrog ob lub tshuab me me thiab muaj ntau tus qauv tsim uas koj tuaj yeem ua raws koj tus kheej neeg hlau, thiab tseem hais txog cov khoom siv ntxiv uas koj tuaj yeem ntxiv rau koj cov neeg hlau lawv muaj ntau tab sis rau peb txoj haujlwm peb yuav pib nrog tsim qauv yooj yim tsis muaj cov khoom siv ntxiv hauv nws, tab sis peb yuav tshaj tawm hauv cov vis dis aus los yuav ua li cas ntxiv cov yam ntxwv ntxiv rau peb cov neeg hlau me.

Tsiv mus rau qhov kev tswj hwm, raws li nws qhia pom daim duab kab lus saum toj no, peb yuav siv ATmega328 MCU uas koj tuaj yeem muaj los ntawm Arduino UNO pawg thawj coj, MCU no tau tsav ob lub tshuab me me los ntawm L293 H-tus tsav tsheb thiab raws li koj tuaj yeem pom kuv ntxiv ob lub tshuab tsav tsheb kom koj tuaj yeem siv daim duab kab hluav taws xob no yog koj tus neeg hlau yog plaub tus neeg hlau lub cev, peb kuj muaj lub tswb nrov tso tawm servo lub cev muaj zog tswj, Bluetooth txuas pins thiab ultrasonic sensor nkag, txhua qhov no yog cov yam ntxwv uas koj tuaj yeem ua tau ua si nrog thaum koj tsim tib daim duab qhia chaw.

Tsuas yog ib qho tivthaiv kawg yog 5V tus tswj hwm qhov hluav taws xob uas yuav tsum tau nyob ntawm no txij li peb tau siv lub roj teeb 9V los ua lub zog rau neeg hlau thiab peb yuav tsum dorp qis qhov hluav taws xob mus rau 5V rau lub hwj chim ntawm MCU thiab cov tshuab.

Kauj Ruam 2: Ua PCB

Kev Tsim PCB
Kev Tsim PCB
Kev Tsim PCB
Kev Tsim PCB
Kev Tsim PCB
Kev Tsim PCB

Txog JLCPCB

JLCPCB (Shenzhen JIALICHUANG Electronic Technology Development Co., Ltd.), yog lub tuam txhab PCB loj tshaj plaws hauv Suav teb thiab cov tuam txhab tsim khoom lag luam tshwj xeeb tshwj xeeb hauv PCB sai sai thiab tsim PCB me me. Nrog ntau dua 10 xyoo ntawm kev paub hauv PCB tsim khoom, JLCPCB muaj ntau dua 200, 000 tus neeg siv khoom nyob hauv tsev thiab txawv teb chaws, nrog ntau dua 8, 000 kev xaj online ntawm PCB tus qauv thiab muaj PCB ntau lawm ib hnub. Muaj peev xwm tsim khoom txhua xyoo yog 200, 000 sq.m. rau ntau yam ntawm 1-txheej, 2-txheej lossis ntau txheej PCBs. JLC yog cov kws tshaj lij PCB chaw tsim khoom tshwj xeeb ntawm cov nplai loj, cov cuab yeej zoo, kev tswj nruj thiab ua tau zoo dua.

Tham electronics

Tom qab npaj lub Circuit Court, Kuv hloov nws mus rau hauv PCB kev tsim tshwj xeeb thiab txoj haujlwm yooj yim tshaj plaws tam sim no yog tso qhov kev txiav txim rau PCBs yog li kuv xav tau yog txav mus rau JLCPCB qhov khoom lag luam PCB zoo tshaj plaws kom tau txais kev pabcuam PCB tsim khoom zoo tshaj plaws, ib txwm muaj tsuas yog qee qhov nyem yooj yim uas yog txhua yam koj xav tau txhawm rau upload GERBER cov ntaub ntawv ntawm kev tsim hluav taws xob tom qab ntawd kuv tau txav los teeb tsa qee qhov tsis yog thiab lub sijhawm no peb yuav siv cov xim xiav rau PCB no, Tsuas yog plaub hnub tom qab tso qhov kev txiav txim thiab kuv cov PCBs nyob rau kuv desktop.

Kev ntim khoom, xa khoom thiab txhua qib kev tsim khoom tau ua tiav zoo los tsim cov PCBs zoo nkauj no..

Lwm yam ntaub ntawv rub tawm

Raws li koj tuaj yeem pom hauv cov duab saum toj no PCB tau tsim tau zoo heev thiab kuv tau txais tib PCB kev tsim qauv uas peb tau ua rau peb lub rooj tsav xwm tseem ceeb thiab txhua daim ntawv lo, lub logo tau nyob ntawd los coj kuv thaum cov kauj ruam soldering. Koj tseem tuaj yeem rub tawm Gerberfile rau lub voj voog no.

Kauj ruam 3: Cov khoom xyaw

Cov khoom xyaw
Cov khoom xyaw
Cov khoom xyaw
Cov khoom xyaw

Ua ntej pib siv cov khoom siv hluav taws xob cia rov tshuaj xyuas cov npe khoom hluav taws xob rau peb txoj haujlwm yog li peb yuav xav tau:

  • PCB uas peb tau xaj los ntawm JLCPCB
  • Ib Arduino Uno:
  • ATmega328 MCU:
  • L293 tsav tsheb:
  • HC05 Bluetooth module:
  • L7805 tus tswj hluav taws xob:
  • 2 dhau-qhov capacitors 10 uF:
  • 16 Mhz oscillator:
  • Buzzer:
  • 2 DC micro-motors:
  • 9V roj teeb:

Thiab peb yuav xav tau cov neeg hlau tshuab luam ntawv 3D

Kauj ruam 4: Khoos phis tawj khoos phis tawj

Khoos phis tawj sib dhos
Khoos phis tawj sib dhos
Khoos phis tawj sib dhos
Khoos phis tawj sib dhos
Khoos phis tawj sib dhos
Khoos phis tawj sib dhos

Tam sim no txhua yam tau npaj lawm yog li cia peb pib siv peb cov khoom siv hluav taws xob rau PCB thiab ua li ntawd peb xav tau cov hlau txuas thiab cov hlau txuas txuas thiab lub chaw SMD rov ua haujlwm rau SMD cov khoom.

Kev nyab xeeb ua ntej

Soldering Iron Tsis txhob kov cov hlau ntawm cov hlau….400 ° C! Tuav cov xov hlau kom sov nrog tweezers lossis clamps. Ib txwm xa cov hlau txuas rau nws sawv thaum tsis siv. Tsis txhob muab nws tso rau ntawm lub rooj ua haujlwm. Tua lub tsev thiab tshem tawm thaum tsis siv. Raws li koj tuaj yeem pom, siv PCB no yooj yim heev vim nws ua tau zoo heev thiab tsis hnov qab cov ntawv uas yuav coj koj cov txiv neej thaum siv tshuaj txhuam ib feem vim tias koj yuav pom nyob rau sab saum toj txheej txheej lo lo lo ntxhuav ntawm txhua qhov qhia tias nws tso rau lub rooj tsavxwm thiab txoj hauv kev no koj yuav 100% paub tseeb tias koj yuav tsis ua ib qho yuam kev soldering. Kuv tau muab cov khoom sib txuas rau nws qhov kev tso kawm thiab koj tuaj yeem siv ob sab ntawm PCB los txhuam koj cov khoom siv hluav taws xob.

Kauj Ruam 5: Lub Rooj Sib Tham Neeg Hlau

Neeg Hlau Lub Rooj Sib Tham
Neeg Hlau Lub Rooj Sib Tham
Neeg Hlau Lub Rooj Sib Tham
Neeg Hlau Lub Rooj Sib Tham
Neeg Hlau Lub Rooj Sib Tham
Neeg Hlau Lub Rooj Sib Tham

Peb txuas ntxiv kev sib dhos ntawm peb cov neeg hlau thiab peb yuav pib nrog lub log log peb xav tau cov 32 ntu ntu 16 ntu rau txhua sab thiab peb siv cov yas yas uas peb tau txiav 30 feem ntawm nws, txhua ntu muaj 15 mm ntev. thiab peb tuav cov saw txuas ua ke, koj tuaj yeem siv qee cov kua nplaum kom ntseeg tau tias cov saw txuas nrog, tam sim no peb nqa tus neeg hlau chassis thiab ob lub log dawb thiab peb sib sau ua ke, tom qab ntawd peb tso lub 9V roj teeb thiab lub micro motors rau lawv qhov kev tso kawm thiab peb sib sau cov log uas muaj zog rau lub cav, kawg tab sis tsis muaj tsawg kawg peb muab cov saw txuas txuas lub log rau ib leeg, cov kauj ruam kawg yog ntswj lub log hlau thiab 9V roj teeb ces peb ntxig PCB rau nws lub qhov (socket) thiab peb neeg hlau npaj txav tam sim no.

Kauj Ruam 6: Software Tshooj & Kev Xeem

Software Tshooj & Kev Xeem
Software Tshooj & Kev Xeem
Software Tshooj & Kev Xeem
Software Tshooj & Kev Xeem
Software Tshooj & Kev Xeem
Software Tshooj & Kev Xeem

nws yog lub sijhawm txav mus rau software ntu kuv tau ua tus lej Arduino uas koj tuaj yeem tau txais los ntawm rub tawm txuas hauv qab no, nws yog qhov yooj yim code, tsuas yog qee cov lus qhia kom tau txais los ntawm Android app txhawm rau tswj kev txav ntawm cov neeg hlau, tam sim no txhua yam peb xav tau yog tso MCU rau hauv Arduino UNO pawg thawj coj thiab peb tso cov cai rau lub microcontroller ces peb coj nws rov mus rau nws lub qhov (socket) ntawm peb PCB.

Peb yuav tshaj tawm hauv cov vis dis aus uas yuav los tom ntej muaj cov yam ntxwv ntxiv rau peb cov neeg hlau, raws li koj pom cov txiv neej niaj hnub no txoj haujlwm yog qhov yooj yim los ua thiab qhov zoo kawg thiab peb pom zoo rau koj cov txiv neej yog tias koj xav pib ua si nrog cov neeg hlau tswj tau. Tab sis tseem muaj qee qhov kev txhim kho kom ua tau zoo hauv peb txoj haujlwm txhawm rau ua kom muaj butter ntau, yog vim li cas kuv yuav tos koj cov lus los txhim kho nws, tsis txhob hnov qab mus ntsib peb hauv YouTube channel rau lub sijhawm los ua tus yeej lub hli ntawm peb qhov kev pab cuam pub dawb.

Ib qho kawg, nco ntsoov tias koj ua hluav taws xob txhua hnub.

Nws yog BEE MB los ntawm MEGA DAS pom koj lub sijhawm tom ntej.

Pom zoo: