== Logbook === 2014 * Pre-printed parts by Mendel Parts (Mendel v2): [http://reprap.org/wiki/Prusa_Mendel_(iteration_2)] * Elektronic board: [http://reprap.org/wiki/Megatronics_2.0] * Running Marlin firmware: [https://github.com/rickvanderzwet/Marlin/] Some handy pages to get started: * Caliberation: [http://richrap.blogspot.nl/2012/01/slic3r-is-nicer-part-1-settings-and.html] === March 9, 2018 {{{ [rick@rvdzwet-wasus Marlin]$ lsb_release -a LSB Version: :core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch:... Distributor ID: Fedora Description: Fedora release 27 (Twenty Seven) Release: 27 Codename: TwentySeven [rick@rvdzwet-wasus ~]$ arduino java.awt.HeadlessException at java.awt.SplashScreen.getSplashScreen(SplashScreen.java:117) at processing.app.Base.(Base.java:206) at processing.app.Base.main(Base.java:135) [rick@rvdzwet-wasus ~]$ rpm -qa | grep openjdk java-1.8.0-openjdk-headless-1.8.0.161-5.b14.fc27.x86_64 [rick@rvdzwet-wasus ~]$ sudo dnf install java-1.8.0-openjdk [rick@rvdzwet-wasus ~]$ arduino java.awt.HeadlessException: No X11 DISPLAY variable was set, but this program performed an operation which requires it. at java.awt.SplashScreen.getSplashScreen(SplashScreen.java:117) at processing.app.Base.(Base.java:206) at processing.app.Base.main(Base.java:135) /usr/share/arduino/hardware/arduino/avr/boards.txt ############################################################## megatronics.name=Megatronics megatronics.upload.tool=avrdude megatronics.upload.protocol=wiring megatronics.upload.maximum_size=258048 megatronics.upload.speed=115200 megatronics.bootloader.low_fuses=0xFF megatronics.bootloader.high_fuses=0xDA megatronics.bootloader.extended_fuses=0xF5 megatronics.bootloader.file=stk500v2/stk500boot_v2_mega2560.hex megatronics.bootloader.unlock_bits=0x3F megatronics.bootloader.lock_bits=0x0F megatronics.build.mcu=atmega2560 megatronics.build.board=AVR_MEGATRONICS megatronics.build.f_cpu=16000000L megatronics.build.core=arduino megatronics.build.variant=mega }}} Difference between thermistor and thermocouple: https://electronics.stackexchange.com/questions/24975/differences-between-thermistors-and-thermocouples === March 10, 2018 ==== Dead PSU Controller {{{ start echo: External Reset Marlin 1.1.8 echo: Last Updated: 2017-12-25 12:00 | Author: (none, default config) echo:Compiled: Mar 10 2018 echo: Free Memory: 5418 PlannerBufferBytes: 1264 echo:Hardcoded Default Settings Loaded echo: G21 ; Units in mm echo:Filament settings: Disabled echo: M200 D3.00 echo: M200 D0 echo:Steps per unit: echo: M92 X80.00 Y80.00 Z4000.00 E500.00 echo:Maximum feedrates (units/s): echo: M203 X300.00 Y300.00 Z5.00 E25.00 echo:Maximum Acceleration (units/s2): echo: M201 X3000 Y3000 Z100 E10000 echo:Acceleration (units/s2): P R T echo: M204 P3000.00 R3000.00 T3000.00 echo:Advanced: S T B X Z E echo: M205 S0.00 T0.00 B20000 X10.00 Y10.00 Z0.30 E5.00 echo:Home offset: echo: M206 X0.00 Y0.00 Z0.00 echo:PID settings: echo: M301 P22.20 I1.08 D114.00 ok T:18.87 /0.00 B:23.38 /0.00 @:0 B@:0 }}} Listing of g-code (Gcode) found at: http://marlinfw.org/meta/gcode/ Bed temperature reported using M105 was incorrect since power supply was faulty causing interference on the IC measuring the temperature. Replaced power supply, all happy again. ==== Dead PSU heatbed My resistor bed consist of of 4 x 2R2 (WH10) in series resulting in 9 Ohm, PSU does not like this low load conditions or is simply broken which would make my 2nd dead power supply. The new PSU is only 12V which is not heating up properly. According to [https://en.wikipedia.org/wiki/Ohm%27s_law Ohm's law] (I = V/R or R = V/I or V = IR) and my resistor rating i get 1.3A, which in result would yield only (W = VI) 15.6W heating power, not sufficient since my total resistor capacity is 40W. Which would give me W = VI combined with V = IR becomes W = IRI. W=40, R=9, makes I = 2A. Which in result would require V to be 40W / 2A = 20V. To fix this I will need to change the resistor bed layout. Instead of 4 in series. Put two in parralel and next two pairs in serie. ==== Stepper motors turns the wrong way The orientation of the stepper motors does not match the standard one in the Marlin firmware. Since I rather keep the firmware configuration as vanilla as possible reversing the connectors on the board is the easiest way to make it all compatible again. ==== Testing nozzle In order to print a working nozzle is required, with proper temperature settings for this nozzle (185C) and feed rates (500). One way is to use manual codes to allow debugging: * First set the temperature of the nozzle [http://marlinfw.org/docs/gcode/M104.html M104 S185]. * Ensure the extruder coordinates are relative avoiding math additions of feeding new PLA. Issue [http://marlinfw.org/docs/gcode/M083.html M83]. * Wait till the temperature is right, by checking it manually [http://marlinfw.org/docs/gcode/M105.html M105] a few times. * Set the extruder head to a free location (G0 X0 Y0 Z150) * Set feedrate by 500 using [http://marlinfw.org/docs/gcode/G0.html G0 F500]. * Feeding start by [http://marlinfw.org/docs/gcode/G0.html G0 E100] (repeatedly). Check for clean flow, in this case it should not stick to the nozzle and look clean and smooth. Some observations: * Smoke is bad, because it means the PLA is boiling inside. * Too cold will cause the PLA too stall while feeding. Feedrate (F factor) will determine overall printing speed of the printer, sometimes setting the temperature a bit higher could potentially make a faster feedrate, yet this really depends on the nozzle construction. ==== X Stepper not working The [https://www.pololu.com/product/1182 Pololu A4988] stepper driver did not delivering enough current to X stepper motor to function properly. I replaced it with an unused one, yet I do believe I could use the potentiometer to add some power too it. Believed to be caused by the bearings which are a bit dirty after a 4 years requiring the motor work a little harder. ==== Y end-stop not working Auto-homing (G28 Z) did not work, Y stop was not set correctly. Simple problem of broken cabling because of broken DIY connector, replaced with proper molex connector. Working like a charm again. While busy adjust end-stop allowing filament garbage bin to be reachable. ==== First print * Debugging: https://www.simplify3d.com/support/print-quality-troubleshooting/ * Tooling: https://fedoraproject.org/wiki/SIGs/3DPrinting Tried pronterface and ultimaker cura, both without luck. Printer is detected yet died because heaterbed heats up too slow, causing the Marlin firmware to trigger a failsafe error. === March 10, 2018 ==== Heatbed too slow Tried hacking longer timeouts, yet no luck. Current heatbed cannot generate enough heat for 2 degrees per 60 seconds above 45 degrees. How-ever when constantly on it will roughly stabilize at 65 degrees, so no firmware controlled heatbed for now. ==== Cura does not print First of all the Mendel printer is not supported in firmware, manually adding the printer will failed to print my test properly. It simply does not move the X-axis, no debugging options found for following gcode, abandoning choice. ==== First result printrun & slic3r Well this works, the overall result lookt oke-ish. Dimentions alright and some small warping, which is fixable by tunables. Also bed leveling is not correct.