Cov txheej txheem:

Dhau Butter Robot: 13 Kauj Ruam
Dhau Butter Robot: 13 Kauj Ruam
Anonim
Dhau Butter Robot
Dhau Butter Robot

Ntsiab lus

Hauv txoj haujlwm no, peb yuav ua tus neeg hlau butter ntawm Rick thiab Morty. Yuav tsis muaj lub koob yees duab thiab lub suab nrov hauv tus neeg hlau. Koj tuaj yeem saib cov vis dis aus hauv qhov txuas hauv qab no.

www.youtube.com/embed/X7HmltUWXgs

Cov Metarial List

  • Arduino UAS
  • Arduino Tsav Tsav Tsheb Shield
  • Zumo Chassis Khoom
  • 6V Reducer Micro DC Tsav (2 daim)
  • 7.4 V Lipo Roj teeb 850 mAh 25C
  • HC-05 lossis HC-06 Bluetooth Module
  • SG-90 Mini Servo Tsav
  • Jumper Cables
  • Ntawv Ntawv (1 daim)
  • 3D Qhov

Kauj Ruam 1: Qhov Chaw Luam Ntawv

Qhov Chaw Luam Ntawv
Qhov Chaw Luam Ntawv
Qhov Chaw Luam Ntawv
Qhov Chaw Luam Ntawv
Qhov Chaw Luam Ntawv
Qhov Chaw Luam Ntawv
  • Hauv qhov haujlwm no peb yuav siv Arduino daim npav hluav taws xob thiab 3D tshuab thev naus laus zis. Ua ntej tshaj plaws, peb yuav luam tawm cov khoom 3D.
  • Koj tuaj yeem nkag mus rau ntu 3D los ntawm GitHub txuas.

Lub luag haujlwm ntawm cov ntu yog raws li hauv qab no.

  • chassis: Nws yog lub cev tseem ceeb ntawm tus neeg hlau.
  • lub cev qis: Daim uas yuav pab txav tus neeg hlau lub taub hau. Lub cav servo yuav raug kho rau ntu no.
  • lub cev: Nws yog ib feem ntawm lub cev thiab lub cev qis.
  • pob khawm: Qhov no ua rau lub cev qhib thiab kaw.

Lub Sijhawm Luam Ntawv (Tshuab Luam Ntawv Qauv: MakerBot Replicator2)

  • Lub Sijhawm Luam Ntawv ntawm Yam hauv Daim Duab_1: 5h 13m. (Yog tias koj teeb tsa cov ntawv luam tawm raws li qhia hauv daim duab_3.)
  • Luam Ntawv Ntev Li Cas Hauv Daim Duab_2: 5h 56m. (Yog tias koj teeb tsa cov ntawv luam tawm raws li qhia hauv daim duab_3.)
  • NCO TSEG: Lub sijhawm luam ntawv nyob ntawm tus qauv luam ntawv.

Kauj ruam 2: Solder thiab Servo Hack

Solder thiab Servo Hack
Solder thiab Servo Hack
Solder thiab Servo Hack
Solder thiab Servo Hack
Solder thiab Servo Hack
Solder thiab Servo Hack
Solder thiab Servo Hack
Solder thiab Servo Hack
  • DC motors nyob hauv Zumo chassis.
  • Jumper cables raug siv rau DC motors.
  • Ob peb qhov kev hloov pauv yuav tsum tau ua ntawm servo, uas yuav ua rau lub taub hau neeg hlau txav mus, ua ntej nws tau nkag mus rau qis dua. Lub hom phiaj ntawm qhov kev hloov pauv no yog ua kom lub cav servo du dua.
  • Koj tuaj yeem siv qhov txuas hauv qab no.

www.youtube.com/watch?v=I-sZ5HWsGZU

  • Servo motor tau tsau rau sab qis dua raws li qhia hauv daim duab_4.
  • Lub cev qis thiab sab nraub qaum tau kho ib leeg nrog cov ntsia hlau raws li qhia hauv daim duab_5.

Kauj Ruam 3: Kev Sib Txuas Tsav Tsheb thiab Tsav Tsheb

Tsav thiab Tsav Tsheb Txuas Txuas
Tsav thiab Tsav Tsheb Txuas Txuas
Tsav thiab Tsav Tsheb Txuas Txuas
Tsav thiab Tsav Tsheb Txuas Txuas
Tsav thiab Tsav Tsheb Txuas Txuas
Tsav thiab Tsav Tsheb Txuas Txuas
  • Arduino Tsav Tsav Tsheb Shield tau tsau rau Arduino Uno raws li qhia hauv daim duab_6.
  • DC lub cev muaj zog ntawm sab xis yog tsau rau M3 chaw nres nkoj ntawm tus tsav tsheb.
  • DC lub cev muaj zog ntawm sab laug tau tsau rau M4 chaw nres nkoj ntawm tus tsav tsheb.

Kauj Ruam 4: Kev Sib Txuas Bluetooth Module

Bluetooth Module Kev Sib Txuas
Bluetooth Module Kev Sib Txuas
  • RX thiab TX pins tau muab muag rau tus pin 2 thiab 3 ntawm Arduino board, feem.
  • VCC thiab GND pins tau muab muag rau Arduino board's 5V thiab GND pins feem.

Kauj Ruam 5: Kev Sib Txuas ntawm Servo Motor rau Tus Tsav Tsheb

Kev sib txuas ntawm Servo Motor rau Tus Tsav Tsheb
Kev sib txuas ntawm Servo Motor rau Tus Tsav Tsheb
Kev sib txuas ntawm Servo Motor rau Tus Tsav Tsheb
Kev sib txuas ntawm Servo Motor rau Tus Tsav Tsheb
  • Lub cav servo tau teeb tsa rau M1 chaw nres nkoj ntawm tus tsav tsheb.
  • Arduino UNO tau muab tso rau ntawm lub chassis.

Kauj Ruam 6: Kev Sib Tham Roj Teeb

Roj teeb los ua ke
Roj teeb los ua ke
Roj teeb los ua ke
Roj teeb los ua ke
  • Zumo Kit lub roj teeb tuav tau hloov kho raws li qhia hauv daim duab. Tom qab ntawd lub roj teeb lipo tau txuas rau qhov hloov pauv no nrog daim kab xev ob tog.
  • Yog tias tus pin liab ntawm lub roj teeb lipo tau muag rau Arduino's Vin tus pin thiab tus pin dub rau GND tus pin, Arduino Uno tau siv. Yog tias koj xav tau, koj tuaj yeem ntxiv qhov hloov me me rau hauv Circuit. Koj tuaj yeem ua lub qhov me me hauv qhov chassis rau qhov no.

Kauj Ruam 7: Ua Lub Taub Hau thiab Caj Npab

Ua Lub Taub Hau thiab Caj Npab
Ua Lub Taub Hau thiab Caj Npab
Ua Lub Taub Hau thiab Caj Npab
Ua Lub Taub Hau thiab Caj Npab
  • Lub taub hau thiab caj npab ntawm tus neeg hlau tau txuas rau qhov tsis tseem ceeb.
  • Tus neeg hlau lub taub hau tau txuas rau sab qis dua.
  • Lub pob khawm tau teeb tsa raws li qhia hauv daim duab.

Kauj Ruam 8: Kawg

Kawg
Kawg
  • Thaum kawg, tus neeg hlau yuav tsum zoo li raws li qhia hauv daim duab.
  • Koj tuaj yeem siv qhov txuas hauv qab no rau 3d qhov chaw luam tawm thiab sib dhos.

www.thingiverse.com/thing 1878565

Kauj Ruam 9: Arduino Programming (Ntxiv Lub Tsev Qiv Ntawv Shield)

Arduino Programming (Ntxiv Lub Tsev Qhua Tsav Tsheb)
Arduino Programming (Ntxiv Lub Tsev Qhua Tsav Tsheb)
  • Ua ntej nkag mus rau cov lej, peb yuav tsum ntxiv qee lub tsev qiv ntawv rau Arduino IDE program.
  • Ua ntej tshaj koj yuav tsum ntxiv "AFMotor.h" lub tsev qiv ntawv kom muaj peev xwm tswj tau lub cav. Rau qhov no koj yuav tsum ua raws cov theem hauv qab no.
  • ZIP cov ntaub ntawv npe "Adafruit Motor Shield Library" yog rub tawm los ntawm GitHub txuas.
  • Nyem rau ntawm "Sketch> suav nrog Tsev Qiv Ntawv> Ntxiv. ZIP Library ntawm Arduino IDE. Xaiv qhov rub tawm Adafruit Motor Shield Library thiab nyem lub pob qhib. Ua li no, lub tsev qiv ntawv hu ua AFMotor.h tau ntxiv rau txoj haujlwm.
  • Txawm li cas los xij, rau kev txuas bluetooth koj yuav tsum ntxiv "SoftwareSerial.h" lub tsev qiv ntawv.

Kauj Ruam 10: Cov Lus Qhia-1

Cov lus piav qhia-1
Cov lus piav qhia-1

hauv ntu ua ntej tsis muaj teeb tsa;

Cov khoom uas yog tus lej tus lej uas lub tshuab thiab lub bluetooth sensor txuas nrog tau tsim. (mySerial, motor1, motor2, motor3)

Kauj Ruam 11: Cov Lus Qhia-2

Cov lus piav qhia-2
Cov lus piav qhia-2

nyob rau hauv seem void teeb;

Kev sib txuas lus pib

Kauj Ruam 12: Cov Lus Qhia-3

Cov lus piav qhia-3
Cov lus piav qhia-3
Cov lus piav qhia-3
Cov lus piav qhia-3
Cov lus piav qhia-3
Cov lus piav qhia-3

nyob rau hauv seem seem void;

Hauv seem cim cim liab, xyuas seb cov ntaub ntawv tau txais los ntawm bluetooth module. Cov ntaub ntawv tuaj raug xa mus rau qhov sib txawv c.

Piv txwv li, yog tias cov ntaub ntawv nkag los yog “F”, lub cav tau txav mus rau tom ntej.

  • Tom qab ntu voidloop, subprograms tau tsim. Kev sib hloov ceev thiab tig sab ntawm lub cav tau teeb tsa hauv cov kab ntawv me me.
  • "Forward", "Back", "Left", "Right" thiab "Stop" yog cov npe ntawm cov ntawv sau npe

Kauj Ruam 13: Project Cov Ntaub Ntawv thiab Yees Duab

GitHub Txuas:

github.com/yasinbrcn/Pass-The-Butter-Robot.git

Pom zoo: