Cov txheej txheem:

MXY Board - Tsawg -Nyiaj XY Plotter Teeb Duab Neeg Hlau: 8 Kauj Ruam (nrog Duab)
MXY Board - Tsawg -Nyiaj XY Plotter Teeb Duab Neeg Hlau: 8 Kauj Ruam (nrog Duab)

Video: MXY Board - Tsawg -Nyiaj XY Plotter Teeb Duab Neeg Hlau: 8 Kauj Ruam (nrog Duab)

Video: MXY Board - Tsawg -Nyiaj XY Plotter Teeb Duab Neeg Hlau: 8 Kauj Ruam (nrog Duab)
Video: The Real Story of Paris Hilton | This Is Paris Official Documentary 2024, Kaum ib hlis
Anonim
MXY Board - Tsawg -Nyiaj XY Plotter Teeb Duab Neeg Hlau
MXY Board - Tsawg -Nyiaj XY Plotter Teeb Duab Neeg Hlau

Kuv lub hom phiaj yog tsim mXY lub rooj tsavxwm kom siv nyiaj tsawg XY tus kws kos duab tshuab. Yog li kuv tsim lub rooj tsavxwm uas ua rau nws yooj yim dua rau cov uas xav ua txoj haujlwm no. Hauv qhov haujlwm dhau los, thaum siv 2 pcs Nema17 stepper motors, pawg thawj coj no siv 2 pcs 28YBJ-48 DC 5V 4 Phase 5 Hlau Stepper Motors. Tsis tas li hauv qhov haujlwm dhau los, Arduino Uno R3 tau siv los ua microcontroller thiab Adafruit Motor Shield ua tus tsav tsheb. Pawg thawj coj no siv Atmega328P thiab ULN2003 tus tsav tsheb. Yog li koj yuav tuaj yeem ua txoj haujlwm no nrog ib lub rooj tsavxwm nkaus xwb. 5V 1A adapter lossis lub txhab nyiaj txaus yog txaus rau txoj haujlwm no kom siv hluav taws xob. Qhov siab tshaj tam sim no tau pom raws li 0.4A thaum ob lub cav tau khiav.

Lub rooj tsavxwm uas qhia hauv daim vis dis aus yog daim ntawv xeem, hloov kho dua tshiab thiab hloov kho tshiab ntawm pawg thawj coj yog ntawm qhov txuas hauv qab no. Tsis tas li ntawd, rau cov uas tsis xav tau cov laug cam, mXY board yuav raug muag ntawm PCBWay Bazaar nrog txhua qhov khoom sib dhos ua ke. Ua tsaug ntau rau PCBWay rau qhov kev txhawb nqa no.

$ 0 Rau Cov tswv cuab tshiab ua ntej xaj & Tus nqi qis rau PCB Stencil ntawm

Kauj Ruam 1: Tau txais PCB

Tau txais PCB
Tau txais PCB

Hauv qhov haujlwm no peb yuav ua XY Plotter Drawing tshuab nrog mXY Board. Nrog Drawing Robot koj tuaj yeem kos duab ntawm phab ntsa, vaj huam sib luag lossis ntawv A4. Koj tuaj yeem luam cov duab lossis luam ntawv. Lub tshuab yog cov cuab yeej yooj yim, uas kos duab siv tus cwj mem ib txwm muaj, qee lub cav thiab qee txoj hlua. Txhua qhov yuav tsum tau kho vajtse rau txoj haujlwm no tau teev tseg hauv qab no. Peb yuav kawm paub yuav teeb tsa thiab siv Polargraph program rau kev kos duab tswj hwm.

Tau txais PCB - Schematic - Gerber files - BOM List:

www.pcbway.com/project/shareproject/mXY_Board_Low_Budget_XY_Plotter_Drawing_Robot_Board.html

Kauj Ruam 2: Cov Cheeb Tsam Xav Tau rau PCB

Cov Cheeb Tsam Xav Tau rau PCB
Cov Cheeb Tsam Xav Tau rau PCB

Lub mXY sib sau ua ke yuav muaj sai sai no ntawm PCBWayer Bazaar:

1x ATmega328P-PU nrog Bootloader:

2x ULN2003 DIP16:

2x 28YBJ-48 5V 5 Hlau Stepper Tsav:

1x CH340G SOP16:

Hom B USB Qhov (Socket):

DIP Socket 28/16 Pins:

12/16 MHz Crystal:

L7805 TO-220:

10uF Capacitor:

22pF/0.1uF/10nF Ceramic:

LED:

Resistor 10K/1K:

Lub Hwj Chim Lub Hwj Chim:

2 Pin Terminal Block:

Txiv neej Pin Header:

2x JST B5B-XH Txuas:

1x MG90S Servo Motor:

GT2 Pulley 16 Hniav Teeb:

GT2 Roj Hmab Siv (5M):

3 hauv 1 Jumper Wire:

Cov Cuab Yeej Cuab Yeej:

Kauj Ruam 3: Kev Sib Txuas

Kev sib txuas
Kev sib txuas

Yuav tsum muaj xaim txuas ntxiv rau stepper motors thiab servos.

5M Extension Hlau Cable:

Yog xav paub ntxiv:

Kauj Ruam 4: Gondola & Bracket

Gondola & Bracket
Gondola & Bracket

Koj tuaj yeem pom gondola thiab stepper lub cev muaj zog mounting bracket 3D qauv hauv ZIP cov ntaub ntawv 'Gondola_Bracket_Models'

github.com/MertArduino/mXY-board-xy-plotter-drawing-machine

JGAURORA A5S 3D tshuab luam ntawv tau siv rau 3D qauv:

Kauj ruam 5: Source Code

Qhov Code
Qhov Code
  • Nws ua haujlwm zoo hauv Arduino IDE v1.8.5 & Ua v2.2.1
  • Rub tawm thiab teeb tsa Arduino IDE v.1.8.5
  • Rub tawm thiab teeb tsa Kev Ua Haujlwm v2.2.1
  • Rub tawm mXY-Plotter-Drawing-Machine

Kauj Ruam 6: Arduino Source Code

Arduino Source Code
Arduino Source Code
  • Mus rau mXY-Plotter-Drawing-Machine / arduino-source-code-libraries / libraries nplaub tshev.
  • Luam cov ntsiab lus ntawm arduino-source-code-libraries / libraries rau hauv koj li C: / Users / YourPCname / Documents / Arduino / libraries folder.
  • Mus rau mXY-Plotter-Drawing-Machine / arduino-source-code-libraries nplaub tshev.
  • Luam cov ntawv polargraph_server_a1 thiab muab nws tso rau koj C: Cov Neeg Siv Koj Lub Npe Npe Cov Ntaub Ntawv Arduino.
  • Cov ntaub ntawv "polargraph_server_a1.ino" yog cov ntawv theej rau ULN2003 tus tsav tsheb thiab 28YBJ-48 stepper motor. Koj tuaj yeem tau txais cov ntawv qub ntawm no

  • Qhib Arduino IDE
  • Mus rau Cov Ntaub Ntawv -> Sketchbook -> polargraph_server_a1 | Qhib polargraph_server_a1 qhov chaws.
  • Mus rau Cov Cuab Yeej -> Pawg Thawj Coj -> Arduino/Genuino Uno | Xaiv Pawg Thawj Coj
  • Nias lub pob "txheeb xyuas" hauv lub cuab yeej los sim thiab suav nws.
  • Yog tias nws ua ke, nias lub pob "upload" hauv qhov toolbar txhawm rau upload nws.
  • Thaum koj ua qhov ntawd, koj yuav tsum lees paub tias nws ua haujlwm tau zoo - siv lub ntsuas saib hauv lub rooj tsav xwm, teeb tsa rau 57600 baud kom paub tseeb tias nws tau tshaj tawm "READY" txhua ob peb feeb.

Kauj Ruam 7: Ua Raws Li Txoj Cai

Ua Cov Cai
Ua Cov Cai
  • Mus rau mXY-Plotter-Drawing-Machine / processing-source / Processing libraries folder.
  • Luam cov ntsiab lus ntawm kev ua-qhov chaw / Ua cov tsev qiv ntawv rau hauv koj li C: Cov Neeg Siv Koj Lub Npe Npe Cov Ntaub Ntawv Ua Haujlwm cov tsev qiv ntawv.
  • Luam cov kab ntawv polargraphcontroller thiab muab nws tso rau koj C: Cov Neeg Siv Koj Lub Npe Npe Cov Ntaub Ntawv Ua Haujlwm.
  • Qhib Ua
  • Mus rau Cov Ntaub Ntawv -> Sketchbook -> polargraphcontroller | Qhib lub polargraphcontroller app qhov chaws.
  • Nias lub pob Khiav hauv lub cuab yeej los khiav cov duab.

Kauj Ruam 8: Tus Tswj Tus Kheej

Polargraphcontroller
Polargraphcontroller

Polargraph controller Copyright Sandy Noble 2018 -

Stepper Tsav Specifications

  • Nias lub khawm SETUP hauv qhov toolbar.
  • Txhais tus nqi rau MM PER REV li 64
  • Txhais tus nqi rau STEPS PER REV li 4076
  • Txhais tus nqi rau MOTOR MAX SPEED li 1000
  • Txhais tus nqi rau MOTOR ACCELERATION li 200
  • Yog xav paub ntxiv txog 28BYJ-48 Stepper Motor:

Tshuab Qhov ntev

  • Nco ntsoov tias koj lub tshuab loj tsis zoo ib yam li koj qhov loj me.
  • Koj PAGE lossis kos duab AREA loj yuav me dua.
  • Tshuab Dav - Qhov no yog qhov nrug nruab nrab ntawm ob lub ntsiab lus nyob ze ntawm lub sprockets (nruab nrab ntawm ob lub pulleys). Kho qhov loj me ntawm ob lub pulleys ntawm Lub Tshuab Dav
  • Tshuab Qhov Siab - Qhov no yog qhov deb ntawm sprocket axis mus rau hauv qab ntawm koj daim duab (pawg thawj coj saib) thaj tsam. Kho lub Tshuab Qhov Siab (qhov siab nruab nrab ntawm lub pluaj thiab qhov kawg ntawm lub vaj huam sib luag)
  • Tom qab tshuab qhov ntev, kho qhov loj me uas koj yuav kos. (Yog tias koj yuav kos rau ntawm daim ntawv A4, teeb A4 loj.)
  • Lub Ntsiab Lus Hauv Tsev - Qhov no yog lub ntsiab lus khawv koob cim rau ntawm kab nruab nrab, raws nraim 120mm (12cm) nqes los ntawm ntug saum toj kawg nkaus ntawm koj lub tshuab.
  • Tom qab ntawd, thawj qhov hais txog Center Page thiab tom qab ntawd teeb tsa Page Pos Y tus nqi 120.
  • Thib ob nyem rau Center Home Point thiab teeb tsa Tsev Pos Y tus nqi 120.

Servo motor (Cwj mem) teeb tsa

  • Tus Cwj Pwm Ntawm Txoj Haujlwm thiab Tus Cwj Pwm Down Txoj Haujlwm qhov tseem ceeb yog lub kaum ntse ntse ua haujlwm ntawm servo motor.
  • Nyem Serial Port thiab xaiv Arduino qhov chaw nres nkoj los ntawm cov npe khoom siv sib txuas.
  • Thaum xaiv qhov chaw nres nkoj raug, qhov 'Tsis Muaj Kev Sib Txuas' cov zaub yuav tig GREEN thiab tus lej chaw nres nkoj uas nws tau txuas nrog yuav tshwm.
  • Nyem rau 'Command Queue' thiab hais kom ua kis tau tus mob.
  • Nyem Upload Lift Range, tom qab ntawd nyem Test Lift Range thiab ntsuas lub kaum sab xis servo motor.

Cov Chaw Kawg - Upload duab vector thiab pib luam tawm

  • Txuag koj qhov chaw. Thauj khoom koj teeb tsa txhua lub sijhawm koj qhib lub program.
  • Nyem rau tab tab thiab hloov mus rau lub vijtsam tseem ceeb ntawm txoj haujlwm.
  • Tom qab ntawv peb yuav teeb tsa lub gondola rau 'Teeb Tsev' manually. Tsiv lub gondola los ntawm tus kheej thiab txav nws mus rau lub ntsiab lus tsev yav tas los. Lub gondola yuav tsum tau hloov kho txoj hauv kev no ua ntej txhua daim duab ua ntej nyem 'Teeb Tsev'.
  • Tom qab qhov kev hloov kho no tiav, Teeb Tsev thiab Teeb Tus Cwj Pwm txoj haujlwm tau nyem.
  • Nyem Teeb Cheeb Tsam kom qhia meej tias koj daim duab yog. Tom qab ntawd nyem Teeb Teeb rau Cheeb Tsam txhawm rau ua txhua qhov tsim nyog rau teeb duab.

Kos Vector

  • Nrhiav ib qho duab kos duab vector. Hloov cov duab rau SVG hom los ntawm txhua lub platform hloov pauv.
  • Tom qab xaiv Load Vector los ntawm qhov program. Kho cov duab me me nrog Resize Vector. Tsiv cov duab mus rau thaj chaw xav tau nrog Tsiv Vector. Tom qab ntawd kho thaj tsam kom luam nrog Xaiv Thaj Chaw thiab Teeb Tus Qauv rau Cheeb Tsam.
  • Thaum kawg, nyem rau kos Vector hais kom pib lub tshuab.

Yog xav paub ntxiv:

Pom zoo: