Cov txheej txheem:

Ntau Xim Dot Tshuab Luam Ntawv: 6 Cov Kauj Ruam
Ntau Xim Dot Tshuab Luam Ntawv: 6 Cov Kauj Ruam

Video: Ntau Xim Dot Tshuab Luam Ntawv: 6 Cov Kauj Ruam

Video: Ntau Xim Dot Tshuab Luam Ntawv: 6 Cov Kauj Ruam
Video: "Cim Kuv Cia" Jeeker Her | Cover by Zuag Paj Xyooj (Live Session Ver.) 2024, Kaum ib hlis
Anonim
Image
Image
Kauj Ruam 1: Tsim thiab Sib Sau Cov Neeg Hlau Cartesian
Kauj Ruam 1: Tsim thiab Sib Sau Cov Neeg Hlau Cartesian

Nyob zoo sawv daws. Cov lus qhia no yog tsim thiab tsim ntawm Multi Color Dot Printer. Nws tsuas yog ua raws txoj haujlwm zoo sib xws uas twb tau luam tawm ntawm no hauv kev qhia paub. Qhov haujlwm kuv hais txog yog "Dotter: Huge Arduino Based Dot Matrix Printer" ua los ntawm Nikodem Bartnik (https://www.instructables.com/id/Doter-Huge-Arduino-Based-Dot-Matrix-Printer/). Txoj cai arduino siv tib lub platform raws li tau ua haujlwm tab sis; Nws tau hloov kho los txhawb plaub xim cwj mem. ntxiv kuv tau siv Professional stepper tsav tsheb lub tsev qiv ntawv uas twb muaj nyob hauv lub vev xaib. Lub tsev qiv ntawv muaj npe AccelStepper thiab tuaj yeem nkag tau los ntawm https://www.arduinolibraries.info/libraries/accel-stepper. Lub tsev qiv ntawv no muab kev tsav tsheb zoo tshaj plaws thiab du ntawm koj lub cav tsheb kauj vab; raws li peb tsis txhob txwm tsim lub log. Kev kos duab ua haujlwm yuav luag zoo ib yam li lub hauv paus Project, tshwj tsis yog tias kuv tau tshem qhov tsis ua tiav thiab tsis siv cov ntsiab lus hauv lub qhov rai interface. Raws li rau neeg hlau, Kuv tsim kuv tus kheej neeg hlau. Nws yog cartesian 2D neeg hlau thiab siv Nema17 stepper motors. Hauv qhov no nws cov qauv zoo li zoo li cov neeg hlau tshuab feem ntau siv rau 3D tshuab luam ntawv. Txog cov khoom siv hluav taws xob ib yam nkaus, kuv nyiam tshaj yog siv cov khoom siv hluav taws xob uas twb muaj lawm hauv khw. Kuv txhais tau tias, kuv siv arduino Mega 2560 pawg thawj coj ua ke nrog RAMPS 1.4 daim phiaj thaiv thiab txheej txheem A4988 (lossis zoo sib xws) cov tsav tsheb tsav tsheb. Qhov no tuaj yeem qhia koj tias kuv tab tom mus rau qhov twg. Yog, Kuv tab tom ua haujlwm txhim kho kuv tus kheej lub tshuab luam ntawv 3D thiab txoj haujlwm no yog thawj kauj ruam hauv kev mus rau qhov kev qhia no. Raws li koj paub Arduino Mega 2560 thiab RAMPS 1.4 pawg thawj coj yog ib qho uas siv ntau tshaj plaws hauv kev tsim cov tshuab luam ntawv 3D.

Kauj Ruam 1: Kauj Ruam 1: Tsim thiab Sib Sau Cov Neeg Hlau Cartesian

Kauj Ruam 1: Tsim thiab Sib Sau Cov Neeg Hlau Cartesian
Kauj Ruam 1: Tsim thiab Sib Sau Cov Neeg Hlau Cartesian
Kauj Ruam 1: Tsim thiab Sib Sau Cov Neeg Hlau Cartesian
Kauj Ruam 1: Tsim thiab Sib Sau Cov Neeg Hlau Cartesian

Tus tsim neeg hlau yog qhia raws li qhov saum toj no. Txhua feem tau sau nrog tus lej thiab nws cov ntsiab lus tau muab hauv lub rooj A. Ntxiv rau koj tuaj yeem pom cov duab ntawm tus neeg hlau. Muaj qee qhov hauv cov duab uas tsis tuaj yeem pom hauv cov qauv neeg hlau saum toj no. Lawv feem ntau yog cov ntsia hlau, txiv ntseej thiab txawm tias cov kab tawm thiab cov kabmob pob. Tab sis txhob txhawj. Cov npe ntawm cov khoom no tau muab ua raws li Table B.

Kauj Ruam 2: Kauj Ruam 2: Cwj Pwm Center

Kauj Ruam 2: Pen Center
Kauj Ruam 2: Pen Center
Kauj Ruam 2: Pen Center
Kauj Ruam 2: Pen Center
Kauj Ruam 2: Pen Center
Kauj Ruam 2: Pen Center

Tus doter no tau tsim los sau ua plaub xim sib txawv. Rau lub hom phiaj no tus cwj mem cim xim sib txawv tau siv. Los ntawm lub neej ntawd lub tshuab luam ntawv pib nrog lub cim xiav zoo li tus cwj mem 1. Cwj mem 2, 3 thiab 4 yog xim liab, ntsuab thiab dub raws. Nema17 kauj ruam lub cev muaj zog hloov pauv ntawm cwjmem thiab microservo luam tus lej thaum nws xav tau. Koj tuaj yeem pom qhov tsim ntawm lub chaw cwj mem hauv daim duab. Tau kawg qhov kev tsim no xav tau qee qhov kev txhim kho. Tab sis kuv tso nws li nws yog. (Txij li qhov teeb tsa no yog ib nrab kauj ruam ntawm kuv lub hom phiaj kawg yog li kuv tsis muaj sijhawm txaus los txhim kho nws mus ib txhis!). Cov npe ntawm cov khoom hauv qhov chaw tsim tus cwj mem tau muab ua raws li Table C. Koj tuaj yeem pom daim duab ntawm lub chaw cwj mem thiab lub tshuab luam ntawv tag nrho saum toj no.

Kauj Ruam 3: Kauj Ruam 3: Cov Khoom Siv Hluav Taws Xob

Kauj ruam 3: Electronics
Kauj ruam 3: Electronics
Kauj ruam 3: Electronics
Kauj ruam 3: Electronics
Kauj ruam 3: Electronics
Kauj ruam 3: Electronics

Qhov zoo tshaj plaws hauv lub tshuab luam ntawv no yog nws cov khoom siv hluav taws xob. Koj tsis tas yuav ua ib qho haujlwm ua haujlwm ncig. Tsuas yog yuav los ntawm kev ua lag luam thiab ua thaiv. Txoj kev no koj txuag sijhawm ntau. Ntxiv mus Kuv siv Arduino mega 2560 board uas feem ntau siv los ua 3D tshuab luam ntawv. Yog li koj tuaj yeem txuas ntxiv txoj haujlwm no mus rau lub tshuab luam ntawv 3D yog tias koj muaj lub hom phiaj zoo li no. Cov npe khoom siv hluav taws xob thiab cov khoom siv hluav taws xob tuaj rau hauv Table D. Txawm hais tias kuv tsis suav nrog cov xov hlau hauv cov npe.

Kuv siv Z thiab Y lub cav qhov ntawm RAMPS daim thaiv (tsis siv X qhov) nrog rau extruder 1 qhov rau cwj mem ntsuas lub cev. Nws tsuas yog vim tias kuv RAMPS tau ua tsis raug thiab nws X qhov tsis ua haujlwm! Raws li rau qhov txwv txwv, nws pom tseeb tias koj yuav tsum siv Zmin thiab Ymin tus pin. Tsuas yog cov ntsiab lus tsis meej pem tuaj yeem yog tus pin twg peb yuav tsum ua rau peb tsav tsheb peb lub microservo !? RAMPS 1.4 los ntawm lub neej ntawd tau txais 4 koob ntawm 3 tus pin los tsav 4 microservos. Tab sis kuv pom tias GROUND thiab +5 pins tsis ua haujlwm tab sis SIGNAL tus pin ua haujlwm. Yog li kuv txuas 0 thiab +5 kab rau ib qho ntawm cov txwv txwv hloov pauv ntawm RAMPS thiab txuas cov xov hlau txuas mus rau tus pin 4 ntawm RAMPS. Koj tuaj yeem pom kuv cov ntsiab lus ntawm daim duab hauv qab.

Kauj Ruam 4: Kauj Ruam 4: Arduino Code

Raws li tau hais thaum pib, tus lej arduino yog ua raws txoj haujlwm tau hais los ntawm Nikodem Bartnik raws li DOTER Project (https://www.instructables.com/id/Doter-Huge-Arduino-Based-Dot-Matrix-Printer/). Tab sis kuv tau hloov qee qhov kev hloov pauv. Ua ntej kuv tau siv AccelStepper lub tsev qiv ntawv los khiav cov steppers. Nov yog Lub Tsev Kawm Ntawv Zoo thiab paub zoo. Koj yuav tsum nco ntsoov tias yuav tsum tau ntxiv lub tsev qiv ntawv no rau arduino IDE muaj cov tsev qiv ntawv ua ntej siv nws. Koj tuaj yeem nrhiav cov ncauj lus kom ntxaws ntawm lub tsev qiv ntawv thiab ntxiv rau arduino IDE ntawm https://www.makerguides.com/a4988-stepper-motor-driver-arduino-tutorial/. Qhov thib ob kuv tau hloov qhov tsim nyog los txhawb ntau xim (4 xim) luam ntawv.

Nov yog li cas Txoj Cai Ua Haujlwm. Nws tau txais cov ntaub ntawv los ntawm cov ntawv saib xyuas (ua cov cai) thiab thaum twg muaj 0 nws txav ib lub pixel (teeb rau 3 hli hauv kuv qhov kev tsim) hauv Z qhia; thaum muaj 1 (2, 3 lossis 4) nws txav ib lub pixel hauv Z qhia thiab ua rau xiav (liab, ntsuab lossis dub) teev. Thaum ';' tau txais nws txhais tau tias yog kab tshiab teeb liab yog li nws rov qab mus rau nws txoj haujlwm pib, txav ib lub pixel (dua 3 hli) hauv Y kev taw qhia thiab ua kab tshiab.

Kauj Ruam 5: Kauj Ruam 5: Ua Txoj Cai

Ua cov cai tsis txawv dua li DOTER Project. Kuv nyuam qhuav tshem tawm qhov tsis siv thiab khaws ib feem uas ua tau zoo.

Kauj Ruam 6: Piv txwv

Piv txwv
Piv txwv
Piv txwv
Piv txwv
Piv txwv
Piv txwv

Ntawm no koj tuaj yeem pom qee qhov piv txwv luam tawm los ntawm kuv tus sau.

Pom zoo: