Vous êtes sur la page 1sur 30

1

MendelMax2.0ElectronicsGuide
Edition1.5
http://www.makerstoolworks.com/
support@makerstoolworks.com
FreenodeIRC:#makerstoolworks

ThankyouforpurchasingtheMendelMax2.0kit.Thisisalivingdocumentandwe
encourageyourcommentstoimprovetheexperienceforeveryone.

Commentingisenabledintheinsertmenu.
1sthighlighttheareaofcomment,thenclickInsert>Comment
DuetochangesGooglemadeintheCommentfeature,wehavehadtotemporarilydisable
publiccommenting.WehopeGoogleaddressestheissuestheycreatedwiththeirrecent
upgrade,andwewillbeabletorestorethisvaluablefeature.Inthemeantime,ifyouhave
anycommentsonourdocs,pleaseemailsupport@makerstoolworks.comandwewill
addressthem.

Electronicsusedareboth120/240VACand24VDC.Thismakesforbothafire
hazardandashockhazard.Asthisissoldasakit,itisyourresponsibilityto
ensureitissafe.Thesafetyofthismachinedependsoncarefulassemblyand
operation.Wearenotliableforanyinjuriesordamagesthatresultfromfollowing
thisguide.Bycontinuingwiththisbuild,youherebyreleaseandholdharmless
MakersToolWorksfromanyandallliability.

Thisdocumentcontainsthefollowingsections:
GettingStarted
Installingthedriversandsoftware
YourFirstSliceandPrints:Fanandendstopmounts
ConnectingtotheprinterinPronterface

GettingStarted
Nowthatassemblyiscompleteitistimetogetthesoftwaresideofthesetupcomplete.
InstallingtheDriversandSoftware
Downloadingthenecessaryfiles
1. AccesstheDownloadCenteranddownloadtheplatformappropriateversionsof
thefollowingfiles:
Software:Arduino,Printrun,andSlic3r
Drivers(onlynecessaryforWindowsatthistime),RAMBoorTaurino.
Firmware,besuretoselecttheappropriateversionforRAMBoorRAMPS.
MakesuretodownloadtheNoendstopsversionoffirmwareunless
theyareinstalledontheprinter.
2. Unzipallfiles
3. Getacclimatedwithallofthedifferentsoftware:
Arduinoisanapplicationusedtomodify,compile,anduploadthefirmware
totheprintcontroller(bothRAMBoandRAMPS)
UsingtheGLCDonRAMBorequiresaspecialarduinobuild
Marlinisthefirmwarethatisrunningontheprintcontroller,interpreting
instructionsandpoweringthedifferentpartsoftheprinter
Printrun,specificallythePronterfaceapplicationwithinit,istheapplication
forcommunicatingwiththeprinter.Ittakesmanualinstructionsaswellasthe
3
toolpathsthatSlic3rmakesandsendsthemtotheprinter
Slic3risfortaking3Dmodelsandconvertingthemintotoolpaths(gcode)for
theprintertounderstand

GettingArduinoIDEconfiguredtouploadfirmware
IfusingWindows,itisnecessarytofirstinstalltheRAMBoorTaurinodriverthatyou
previouslydownloaded.
1. AttachtheRAMBotothecomputerviatheUSBcable.
2. OpenDeviceManager
3. UnderOther devices,lookforRAMBo
4. RightclickRAMBo andselectUpdate Driver Software
4



5. ClickBrowse my computer for driver software
5

6. ClicktheBrowse...buttonandbrowsetothedirectorywhereyouhaveunzipped
theRAMBodrivers,clickOK,andthenclickNext

7. TakingnoteoftheCOMportlistedinthetitleofthewindow,clickclose
6

UploadingtheMarlinfirmwareusingArduinotoyourprint
7
controller
1. Provide24vtoalltheinputsonthePrintcontroller.
2. OpenthepreviouslydownloadedArduinoapplicationbyclickingonarduino.exe.

3. SelectFile:Open.Browseintothedirectorythatyouextractedyourfirmware,thenin
theMarlinfolder,thenselectingthefileMarlin.pdeorMarlin.ino(whicheverexists)
8

4. SelectTools: Board: Arduino Mega 2560

5. SelectTools: Serial Port:andthentheportthatyounotedearlierwhen


installingdrivers
9

6. SelecttheConfiguration.htab,hereyoucanreviewandchangeallthecommon
settingsandtuningchanges.
Note:Ifyouarerunninglinuxyouneedtochangethefirmwaresettingin
Configuration.h to#define BAUDRATE 115200





7. PresstheUploadbutton.
10

8. Checktoseeiftheuploadsucceededifnot,troubleshoottheboardtype,comport,
11
andfirmware

12
YourFirstSliceandPrints:Fanmount
Ifyouhavenotyetinstalledandlevelledyourheatedbed,returntothehardware
documentationtodothatreturnhereoncethatiscomplete.

Asnotedbefore,theworkflowforusingyour3Dprinterisconvertingamodeltomachine
codeusingSlic3r,thencontrollingtheactualprintusingPrintrun/Pronterface.Yourprinteris
nowreadytorun,butitsnotideal:wewanttomountthefanontheXcarriageusinga
bracketratherthanzipties.

ForamoreindepthguideonSlic3rpleasecheckoutthenewSlic3rManual(PDF)
SlicingaModel
The3DmodelfiletypesSTLandthenewerAMF.Themodelfileisfedintoaslicer
programthatconvertsthefileintoGcodeusedbythefirmwaretoprinttheobject.

PopularSlicingsoftware:
Slic3rhttp://slic3r.org/
Kisslicerhttp://kisslicer.com/
Curahttp://wiki.ultimaker.com/Cura

WewilluseSlic3rinthisinitialsetup.Feelfreetoexperimentwithotherslicers.
Gettingthemodel,configuringSlic3r,andslicingthefanmount
1. First,downloadthemodelstoprint:theyareavailableinourDownloadCenterunder
thelinkBrowseSTLsonDropboxdownloadthefollowingmodels:
40mmFanMount.stl

13
2. OpenSlic3randignorethefirsttimesetupwizardifprompted,setSlic3rtoExpert
Mode

3. ClickAdd...ordraganddropthe40mmFanMount.stlfiletotheSlic3rmain
window,andtheshapeshouldappearintheleftgraphwithanentryintheright
column40mmFanMount.stl

14
4. Adjustthesettingsinthefollowingwindowstomatchthepicturesbelow.Makesure
thatbeforeyouchangetabsyoupressthebluefloppydiskicontosavethe
configuration.Thiswillserveasastartingpointforyourfutureprints.Noticethat
someofthesettingsarethingsthatshouldbespecifictotheobjectyoureprinting,
likeinfilldensityandspeeds.
Note:Youcanhoveroverasettingtogetmoredetailsaboutit.

PrintSettings

Yourlayerheightshouldalwaysbebelow80%ofyournozzlediameter,and
weprovidea0.4mmnozzleorifice,meaningthatyouwanttoneverusemore
thana0.32mmlayerheight.Theexceptiontothisisinthe1stlayer,
however,asthishelpsyourprintstickeasier.Perimeters(theXandY
orientedsolidedgesofanobject)andsolidlayers(theZsolidedgesofan
object)aregoodat23.

15

Infillparametersdefinethesolidityoftheobjectfilldensitycanbebetween
0(hollow)and1(solid).Typically0.3(30%)isanicebalancebetween
strengthandprinttime.Theotherparametersarebeyondthescopeofthis
documentation.

16

Speedisalsoanotherparameterthatinverselyaffectsyourprinttimeand
qualityoftheprint.Youcanbeginwithdefaultsettingsandadjustthemfaster
later.Aslowperimeterspeedwithfasterinfillspeedisusuallyideal.
Somefasterspeednumberscanbeseenhere.
17

Skirtisaloopprintedaroundtheobjectacertaindistanceawayfromthe
objectitisusefultogetyourhotendprimedandthefirstlayerheightset
perfectlybeforetheactualobjectbeginsprinting.Forthisfirstprint,haveit
looparoundtheprinter3times,15mmawayfromtheobject.Thiswillgive
youplentyoftimetoadjustthefirstlayerheight.

18
FilamentSettings

Slic3rhastoknowthediameterofthefilamentthatyouareprintingwith
generally,3mmfilamentisabout2.8mm.
Ifyouhavecalipers,measurethediameteronafewpointsofyour
filamentandsetthesevaluestotheaverageofthat.Everytimeyou
changefilament,youshouldmeasureitandputthediametervaluein
here,oryourprintermayprintthingswithtoomuchortoolittleplastic
(makingitholloworoverflowing).
Thetemperatureforyourprintisalsosetherethetemperaturesshownhere
workwellforPLA.ABSgenerallyprintswellat220Corhigheronthe
extruderand100Conthebed.
Note:Keepinmindthatfilamenttemperaturewillvaryfrom
manufacturertomanufacturerandarestatedasageneralguideline.
19

Coolingisalsospecifiedonthefilamentsettingstab,asdifferenttypesof
filamentrequiredifferentcoolingrequirements.IfusingPLA,settingthefanto
runat100%theentiretimeisfineifusingABS,setthefantominimum0%
andmaximum40%.Noticethatthefanwillbedisabledforthefirstlayerto
makeadhesioneasier.Fortherestofthecoolingparameters,readtheblock
oftextabovethatdescribesthebehavior.

20

PrinterSettings

WeneedtotellSlic3rhowlargetheprinterareaisforittocenterprintsthats
whatthispagedoesforus
21

Thesegcodeswillbeaddedbeforeandafteranygeneratedtoolpathsby
Slic3rthisallowsyoutotelltheprintertoturnofftheheater,fan,andmotors.
Note:InitiallyremovealllinesofcodeexceptG28inthe"Start
Gcode"section.Additionallinesofcodeheremayinclude(G1Z5
F5000liftnozzle).Thislinewillresultintheextruderbeinglifted5mm
fromthehomepositionresultingintheprintstarting5mmintheair.

22

Setthenozzlediametertothecorrectvalue.Weshipa0.4mmorifice.

5. Withthesesettingssaved,gobacktothePlatertabandpressthebuttonlabeled
ExportGcodeitwillpromptyouforwheretosavethecreated.gcodefile,whichis
thesetofinstructionsforhowtoprintthemodelsyouhaveplacedinSlic3rwiththe
configurationsset.
23

Inthefuture,youwillonlyhavetoadjusttheseconfigurationchangeswhen
youwishtotweakasetting(layerheight,extrusiontemperature,speeds,etc)
otherwise,youllsimplydragtheobjectsontothewindowandpressExport
GCode.

24
ControllingthePrinter
Therearemanygoodhostprogramsforoperatingandcontrollingyourprinter.
CurrentlythemostpopularsoftwareisPrintRunhttp://reprap.org/wiki/Printrun
AnothernewercontrolsoftwareisRepetierHost.
Youcandownloadareadytoruncopythatdoesntrequiresettinguppythonat:
http://koti.kapsi.fi/~kliment/printrun/
ConnectingtotheprinterinPronterface
ThemainPronterfaceUI
LetsstartbygettingacclimatedrememberthatPrintrun/Pronterfaceisthemaintoolthat
youusetocontrolyourprinter.

A)Connectioncontrol,B)Filecontrol,C)ManualControl,D)GcodeInput,E)Printer
Output,F)PartPreview
a. ConnectionControl,thisiswheretoselecttheprinterscomportandbaudrate
speed(forours,weuse250,000).Oncethese2settingsarecorrectyoucanclick
Connecttoestablishcontrol.YoucanalsoDisconnectandResettheprinter
here.
Note:MostLinuxsystemsrequire115200sethereandinthefirmwares
25
configuration.h.
b. FileControl,thisallowsyoutoLoadandfiletoprint.Onceitisloadedyoucan
beginaPrintorPause,or Restartit.
OtheroptionsincludeComposetobuildaplatterofseveralparts,andSDtobegin
printingafilefromaninsertedSDmemorycard.
c. ManualControl,allowsformanualmovementandtemperaturecontroloftheprinter.
Itoffersarangeofdifferentmotionsfrom.1mmto100mm.Youcanalsosetthe
hotendorbedtemperature.Lastlyyoucanoperatetheextruderatdifferent
feedrates.
Note:Ifyoudonothaveendstops,donotclicktheHomebuttons.The
hotendwilllikelycrash.
d. GcodeInput,allowsyoutomanuallysendGcode,thebasiccontrollanguage,tothe
printer.AlistoftheGcodecommandsareavailablehere:
http://reprap.org/wiki/Gcode
e. PrinterOutputiswherethestatusoftheprinterisdisplayed.Everythingfrom
connection/disconnectionmessages,commandsyousendtotheprinter,anderror
states.
f. PartPreviewshowsasimplerepresentationofthetoolpaths(movements,
layerbylayer)thatareloadedtobeprinted.Youcanclickonthisareaandgeta
previewthatallowsyoutomovethroughthelayersbypressingshiftandscrolling.
Inthesettingsmenuyoucanadjustthesizeofthispreviewareatomatchthe
printersbuildarea.

26
Verifythateverythingworks
Connectingtotheprinter
Note:WhenyouinitiallypoweruptheprinterverifythatNOredLEDsareon.Thesearethe
heatersandshouldonlycomeonwhencommanded.IfaredLEDremainsonshutoffthe
printerandseekfurthersupport.

1. ConnectyourprintertothecomputerusingtheUSBcable.
2. PlugthepowercordintoyourprintersIECplug.
3. OpenPrintrun/Pronterfaceandconnecttotheprinter.Rememberthatallofour
firmwareusea250,000baudrate,andthattheCOMportyouneedtoconnecttois
theoneyousawearlierinDeviceManager.
LinuxandMacuserswillconnecttoaportlike:/dev/tty.usbmodem
Linuxusersshoulduse115200baudrate.
4. Youshouldseethemanualcontrolslightupandtheconsoleoutputinformation
aboutthefirmware.
Testingmotion
1. PositionbyhandtheXcarriageinthemiddleoftheXaxisandtheYaxisbedinthe
middleoftheframe.YourZAxisshouldbeatleast3050mmabovethebed.
2. InPrintrun/Pronterface,sendtheM119gcodecommandtogettheirstatus.Allaxes
shouldreadOPENwhentheswitchesarenotpressed..
3. NextpressandholdeachwhilesendingM119,theyshouldreportTRIGGERED.
4. InPrintrun/Pronterface,clicktheXHomebutton(Xhouseicon),theXaxisshould
moveagainsttheXendstopswitchandstopmoving.
a. Ifitmovesthewrongdirection,disconnectpowerandfliptheXaxisstepper
motorconnectorsorientation.
5. InPrintrun/Pronterface,clicktheYHomebutton(Yhouseicon),theYaxisshould
moveagainsttheYendstopswitchandstopmoving.
a. Note:MakingthebedmoveinthenegativeYdirectionactuallymovesthe
bedbackawayfromthefrontoftheprinter.
b. Ifitmovesthewrongdirection,disconnectpowerandfliptheYaxisstepper
motorconnectorsorientation.
6. InPrintrun/Pronterface,clicktheZHomebutton(Zhouseicon),theZaxisshould
moveagainsttheZendstopswitchandstopmoving.
a. Ifitmovesthewrongdirection,disconnectpowerandfliptheZaxisstepper
motorconnectorsorientation.
7. InPrintrun/Pronterface,usethemanualcontrolstomoveeachaxisaround.
27
Testingtheheaters
1. ChecktheMonitorPrinterboxforthetemperaturegraphtocomealivecheckto
seethatbothofyourthermistors(forthehotendandheatedbed)arereporting
reasonableroomtemperaturevalues(typically,acomfortableroomis1923c).
2. Setthehotendheaterto60ctemperaturebytypinginthenumberandpressingSet,
watchthetemperaturegauge.Waitforittoachieve60c,itwillovershootalittlebut
shouldstabilizeat60c.
Note:Ifthetemperaturecontinuesrisingwellpast60candtheredLED
remainsonsolidshutofftheprinterandseekfurthersupport.
3. Next,setthehotendheatertoareasonableextrusiontemperatureforyourfilament
(PLAis195c,ABSis235c)degreesbytypinginthenumberandpressingSet
watchtoseetheheaterthermistortemperaturechangeonthegraphbecertainnot
totouchthehotendwhileitisheated.
4. Oncethethermistorhasreachedthedesiredtemperature,settheextrusionlength
to15mmandspeedto50mm/min.
5. PresstheExtrudebuttonthehobontheextrudersteppershouldmoveclockwise
andthefilamentshouldbepulleddownintothehotend.
6. ContinuetopressExtrudeuntilplasticstartstospitoutofthenozzleyouare
currentlyprimingit.
7. Avoidingtouchingthehotend,cleartheextrudedplasticoffoftheprinter.
Tweezersarehelpfultohaveforthistask.
1. SettheBedtoareasonabletemperatureforyourmaterial(60cforPLA,105cfor
ABS)bytypinginthenumberandpressingSet,watchtoseethebedthermistor
temperaturechangeonthegraphavoidtouchingtheheatedbedwhenabove60c.
PIDtuningthehotendandheatedbed
PIDorproportionalintegralderivativetuningisfeedbackcontrolloopthathelpstomaintain
astabletemperatureduringprinting.YoushouldrerunPIDifyoueverchangeanything
relatedtotheheatingdevices.

TogenerateProportional,IntegralandDerivativevaluesforthehotendorbed(E1).Send
theappropriateM303gcodeandwaitawhileforthefinaloutputyouwillusetoupdateand
reuploadinthefirmware:
HotendUsagesyntax:M303S<temperature>C<cycles>Use:M303C8S195
BedUsagesyntax:M303E1S<temperature>C<cycles>Use:M303E1C8S100

28
WhenthePIDtunehascompletedupdatethefollowingfirmwarevaluesin
configuration.hasdescribedintheprevioussection,UploadingtheMarlinfirmware
usingArduinotoyourprintcontroller,anduploadthenewlyalteredfirmware:
#defineDEFAULT_Kp<newvalue>
#defineDEFAULT_Ki<newvalue>
#defineDEFAULT_Kd<newvalue>
CalibratingtheExtruderESTEP
Overextrudingwouldlaydowntomuchfilamentandcausecollisions.Youcantry
temporarilyadjustingitanytimebyusingthegcodeM221:
http://reprap.org/wiki/Gcode#M221:_set_extrude_factor_override_percentage

1. Measureandmarkyourfilament50mmfromwhereitenterstheextruder.
2. Turnonthehotendheaterandletitgettotemperature.
3. SetPronterfacetoextrude50mmat50mm/min.
4. Extrudethefilamentandmeasuretheamountthatenteredtheextruder.
a. Ifitisshortof50mm:TryM221S105toextrude105%relativetoyourcurrent
esteps.
b. Ifismorethen50mm:TryM221S95toextrude95%relativetoyourcurrent
esteps.
5. Continueadjustingthepercentageuntilyouarerighton50mmenteringtheextruder.
6. whenyoufindabettersettingthatdoesn'tdragorleavevoidsyoucanedityour
DEFAULT_AXIS_STEPS_PER_UNIT(thelastvalueisE)bymultiplyingittimesyournew
%here:https://github.com/ErikZalm/Marlin/blob/Marlin_v1/Marlin/Configuration.h#L322
Replacethisvalueandreuploadyourfirmware.

29
.Startingthefirstprint
1. Inpronterface,presstheLoadFilebuttonandbrowsetothe.gcodefilethatyou
savedinSlic3rearlier.
2. Waitforthefiletoloadonceithasloaded,animagewillbedisplayedinthepart
previewwindow
3. Makesurethatyourprinterthinksitisat0,0,0bysendingthecommandM114and
verifyingifnot,returntotheprevioussectiontosetitathome.
4. Bereadytounplugpowerfromtheprinterincasesomethinggoeswrong,pressthe
Printbuttontobegintheprint.
Keepinmindthatonthefirstlayer,yourfanshouldnotturnon(asdefinedin
yourSlic3rcoolingsettings)thisimprovesadhesionbetweentheplasticand
theglass
5. Astheskirtprintsaroundyourobject,ensurethatplasticisflowingsmoothlyand
evenlyadheringtothebed.Theskirtshouldbesquishedflatforgoodadhesion.
6. Inabout15minutesorso,theprintshouldcompletewaitforthebedtocooldownto
about30degreesandthenremovethefanmountandskirtfromtheglass
congratulationsonyourfirstprint!
Yourfirstprinterupgrade:installingthefanmount
1. Cuttheziptiesfreefromthefanasitwaspreviouslymountedinplace.
2. WiththesmoothsideoftheprintpressingagainsttheXaxiscarriage,mountthefan
mounttothelefthandsideofthecarriageusingtwoM3screwsandhexnuts.
3. Withthefanontheoutsideofthemount,attachittothefanmountusingtwoM3
screwsmostlikely,nonutswillberequiredasthescrewswillselftapintheprinted
mountifitisloose,useM3nuts.
4. AttachascrewonplugincludedwiththeRAMBoelectronicsandconnectitto
Fan0. Youmightneedtoremoveanyoldnoncompatibleplugfromthefan.
Congratulationsonyourfirstupgrade!

Congratulations on completing your build


of the MendelMax 2.0 3D printer!
WerecommendthatusersnowcalibratetheirprinterinMarlinandtweakthesettingsused
inSlic3r.Hereisourrecommendedtuningguide.
30

Sectionsbelowareforreferencetoadditional,optionalsoftwareorhardware.
OperatingwithoutEndstops
Therearesomeveryimportantthingstoknowaboutoperatingyourprinterwithout
endstops:
Everytimetoturntheprinteronitassumesitscurrentpositionis0,0,0.
Youwillinitiallynotbeabletomoveanaxisinthenegativedirectionwhenitisat0.
Refertothesectionbelowtitled:Manuallyhomingwithoutendstops
AvoidclickingtheHomeaxisbuttonsinPrintrun/Pronterfaceyouraxeswillcrash.
Note:VerifythatSlic3rdoesnothaveGcodethathomestheaxesunderPrinter
Settings:CustomGCode,typicallyG28.RemovethisGcodefrombothStartandEnd
Gcodeboxestopreventaxescrashes.
WiringaPSUSwitch
ForswitchingthePSUonandoff,youcanuseaSPSTswitchwedonotoffer
documentationatthistimeastohowtoutilizethisifyouchoosetoconnectthisswitch,be
certaintoconsultanelectrician.Amountingbracketisavailableinourdownloadcenter
thatmountstothesideofthebottomframewithM510screwsandM5tnuts.
ManagingyourWiring
Thereisnocorrectwaytoroutethewiresonourprinter.Werecommendutilizingziptiesto
orientthewiringasclosetotheframe(oreveninsomeofthechannels)andelectronicsas
possible,wellclearofthemovingYaxis.Whencleaningitup,alsobecertaintoallow
enoughslackintheXaxiscarriagewiringsoastopermitbothXandZtravel.Poorly
managedwiringwillleadtofailureresultingfromloosenedconnectors,andmayalsolead
toelectricalfiresorshocksasaresultoflooseningpowersupplyconnections.

OhmeyehaswrittenausefulguidethatpossiblydisablestheHomebuttons(Needstesting)
at:http://www.ohmeye.com/2013/disablingenablingendstopsinmarlin/

Vous aimerez peut-être aussi