Commit Graph

23 Commits

Author SHA1 Message Date
3d-gussner 57adeabb96 Merge branch 'MK3' into MK3-private_build 2018-03-02 17:58:47 +01:00
Robert Pelnar dff8c29362 Microstep linearity correction, optimized wave compression.
Correction factor can be adjusted from 0.9 to 1.25 by 0.005 steps.
2018-02-17 19:58:40 +01:00
Robert Pelnar 57499dc6a0 M350 for E axis (8, 16, 32, 64, 128 microsteps) 2018-02-15 15:40:49 +01:00
Robert Pelnar 79caf3d9c6 tmc2130 optimalization, accurate homing and microstep linearity correction
dcode D12 removed (no longer needed)
homeaxis optimized + xy home calibration support
new eeprom variables
new lcd menu edit types (byte3, mres, wfac), new menu "Experimental"
currents adjusted
2018-02-15 04:17:58 +01:00
3d-gussner 2dca6efa94 Merge branch 'MK3' into MK3-private_build
Fixed merging
2018-02-03 07:37:14 +01:00
3d-gussner e3b4015ddc Merge branch 'MK3-Hyperfine' into MK3-private_build
Fixed merging
2018-02-03 07:33:34 +01:00
Robert Pelnar 210b97d16d New fail stats (global, last print), crashdetection X and Y separated 2018-01-30 13:10:36 +01:00
3d-gussner 1322b2cb70
Merge pull request #44 from 3d-gussner/MK3-PINDA2CalibrationFix
Mk3 pinda2 calibration fix
2018-01-28 08:17:48 +01:00
Robert Pelnar 39bd5c3a1d Extruder stealthChop and constant-off-time mode.
Extruder different chopper frequency in spreadcycle.
Dcodes (fix)
2018-01-25 05:13:21 +01:00
bubnikv 44dc12005f Optimization of the filament sensor. 2018-01-23 16:47:42 +01:00
TheZeroBeast cc7b252424
PINDA2 Offset Tuning. Safety features setup
As per the below investigation I have tuned and tested a more robust PINDA2 Offset Calibration.


PINDA2 Investigation

Test #2 (20th Jan 2018)
Moved PINDA2 Thermistor Cal to bed centre
Moved it closer to bed from 150um to 50um
bumped bed up 5C each cycle as it wasn’t heating PINDA2 to temp at current settings

Results from a cool of 35C start

Recv: D8 - Read/Write PINDA
Recv: cal_status=1
Recv: temp_pinda=35C temp_shift=0um
Recv: temp_pinda=40C temp_shift=0um
Recv: temp_pinda=45C temp_shift=30um
Recv: temp_pinda=50C temp_shift=105um
Recv: temp_pinda=55C temp_shift=187um
Recv: temp_pinda=60C temp_shift=350um

Test #3 (21st Jan 2018)
Moved PINDA2 Thermistor Cal to bed centre with measure in default firmware position.
Moved it closer to bed from 150um to 50um
bumped bed up 5C each cycle as it wasn’t heating PINDA2 to temp at current settings and toped at 115 for bed temp
Enabled 255 hotend for test
Made test points [30, 37, 44, 51, 58, 65]

Results from a cool of 30C start

Recv: D8 - Read/Write PINDA
Recv: cal_status=1
Recv: temp_pinda=30C temp_shift=0um
Recv: temp_pinda=37C temp_shift=0um
Recv: temp_pinda=44C temp_shift=60um
Recv: temp_pinda=51C temp_shift=170um
Recv: temp_pinda=58C temp_shift=337um
Recv: temp_pinda=65C temp_shift=645um

Test #4 (21st Jan 2018)
Moved PINDA2 Thermistor Cal to bed centre (for all but first probe by mistake) with measure in default firmware position.
Moved it closer to bed from 150um to 100um
bumped bed up 5C each cycle as it wasn’t heating PINDA2 to temp at current settings and toped at 115 for bed temp
Enabled 255 hotend for test
Made test points [35, 42, 49, 56, 63, 70]
Modified the start skipping code to pickup at additional first point that was being missed

Results from a cool of 33C start

Recv: D8 - Read/Write PINDA
Recv: cal_status=1
Recv: temp_pinda=35C temp_shift=0um
Recv: temp_pinda=42C temp_shift=0um
Recv: temp_pinda=49C temp_shift=97um
Recv: temp_pinda=56C temp_shift=215um
Recv: temp_pinda=63C temp_shift=487um
Recv: temp_pinda=70C temp_shift=815umTest #5 (21st Jan 2018)
Moved PINDA2 Thermistor probe to bed centre
Moved it closer to bed from 150um to 100um
bumped bed up 5C each cycle as it wasn’t heating PINDA2 to temp at current settings and toped at 115 for bed temp
Enabled 255 hotend for test
Made test points [35, 42, 49, 56, 63, 70]
Modified the start skipping code to pickup at additional first point that was being missed

Results from a cool of 32C start

Recv: D8 - Read/Write PINDA
Recv: cal_status=1
Recv: temp_pinda=35C temp_shift=0um
Recv: temp_pinda=42C temp_shift=32753um   WTF?? Actual when probed was -30um
Recv: temp_pinda=49C temp_shift=82um
Recv: temp_pinda=56C temp_shift=200um
Recv: temp_pinda=63C temp_shift=450um
Recv: temp_pinda=70C temp_shift=835um

Send: G75
Recv: 35  0um
Recv: 36  0um
Recv: 37  0um
Recv: 38  0um
Recv: 39  0um
Recv: 40  0um
Recv: 41  0um
Recv: 42  0um
Recv: 43  0um
Recv: 44  4um
Recv: 45  18um
Recv: 46  33um
Recv: 47  50um
Recv: 48  66um
Recv: 49  82um
Recv: 50  97um
Recv: 51  111um
Recv: 52  126um
Recv: 53  141um
Recv: 54  158um
Recv: 55  178um
Recv: 56  200um
Recv: 57  225um
Recv: 58  254um
Recv: 59  286um
Recv: 60  322um
Recv: 61  361um
Recv: 62  404um
Recv: 63  450um
Recv: 64  498um
Recv: 65  550um
Recv: 66  604um
Recv: 67  660um
Recv: 68  718um
Recv: 69  776um
Recv: 70  835um
Recv: 71  893um
Recv: 72  951um
Recv: 73  1009um
Recv: 74  1065um
Recv: 75  1119um
Recv: 76  1171um
Recv: 77  1220um
Recv: 78  1265um
Recv: 79  1307um
Recv: 80  1345um
Recv: ok

Test #6 (21st Jan 2018)
Moved PINDA2 Thermistor probe to bed centre
Moved it closer to bed from 150um to 100um
bumped bed up 5C each cycle as it wasn’t heating PINDA2 to temp at current settings and toped at 115 for bed temp
Enabled 255 hotend for test
Made test points [35, 42, 49, 56, 63, 70]
Modified the start skipping code to pickup at additional first point that was being missed
Hard limits of 0 - 1.5mm offset return in temp_comp_interpolation()

Results from a cool of 34C start

Recv: D8 - Read/Write PINDA
Recv: cal_status=1
Recv: temp_pinda=35C temp_shift=0um
Recv: temp_pinda=42C temp_shift=32753um   WTF?? Actual when probed was -30um
Recv: temp_pinda=49C temp_shift=82um
Recv: temp_pinda=56C temp_shift=200um
Recv: temp_pinda=63C temp_shift=450um
Recv: temp_pinda=70C temp_shift=835um

Test #7 (21st Jan 2018)
Moved PINDA2 Thermistor probe to bed centre
Moved it closer to bed from 150um to 100um
bumped bed up 5C each cycle as it wasn’t heating PINDA2 to temp at current settings and toped at 115 for bed temp
Enabled 255 hotend for test
Made test points [35, 42, 49, 56, 63, 70]
Modified the start skipping code to pickup at additional first point that was being missed
Hard limits of 0 - 1.5mm offset return in temp_comp_interpolation()
Limit probe readings to be positive to prevent float error as in last test at 42C

Results from a cool of 34C start

Recv: D8 - Read/Write PINDA
Recv: cal_status=1
Recv: temp_pinda=35C temp_shift=0um
Recv: temp_pinda=42C temp_shift=0um
Recv: temp_pinda=49C temp_shift=10um
Recv: temp_pinda=56C temp_shift=112um
Recv: temp_pinda=63C temp_shift=355um
Recv: temp_pinda=70C temp_shift=717um
Test #8 21st Jan 2018
Moved it closer to bed from 150um to 100um
bumped bed up 5C each cycle as it wasn’t heating PINDA2 to temp at current settings and toped at 115 for bed temp
Enabled 255 hotend for test but only for the last two probe times to ensure temp is reached
Made test points [35, 42, 49, 56, 63, 70]
Modified the start skipping code to pickup at additional first point that was being missed
Hard limits of 0 - 1.5mm offset return in temp_comp_interpolation()
Limit probe readings to be positive to prevent float errors as in previous tests

Recv: D8 - Read/Write PINDA
Recv: cal_status=1
Recv: temp_pinda=35C temp_shift=0um
Recv: temp_pinda=42C temp_shift=10um
Recv: temp_pinda=49C temp_shift=62um
Recv: temp_pinda=56C temp_shift=160um
Recv: temp_pinda=63C temp_shift=402um
Recv: temp_pinda=70C temp_shift=710um
2018-01-21 20:11:12 +10:00
Robert Pelnar 25dd6dd673 new module adc (analog2digital)
temperature.cpp - adc sampling state machine removed
new dcode D9 (adc read/write + simulator)
temporarily DEBUG_DISABLE_STARTMSGS because UI blocked
SILENT_MAX_FEEDRATE reduced to 172mm/s
hexfile removed
build number 137x
2017-12-20 13:42:20 +01:00
Robert Pelnar 1113124bde PINDA calibration and precalibrated characteristics. 2017-11-27 07:09:53 +01:00
Robert Pelnar 4dae6f871e Sg load meassurement durring self test - 'Belt status' 2017-11-27 04:46:58 +01:00
Robert Pelnar f2e9bdef24 Fsensor synchronization and triggering improved
Watchdog implemented (4s interval, triggered from manage_heater)
Stallguard sensitivity for XY decreased by 1
Extruder current adjusted to 5.5kg force
Build number = 111
2017-11-24 21:53:35 +01:00
Robert Pelnar b8525f8043 Print class printf function (experimental, disabled by default)
LiquidCrystal VT100 escape codes (EraseScreen, CursorHome, ...)
Stream support for lcd and uart, fprintf and printf (stdout=uartout)
Dcodes enabled, code reduced, printf used
Splash screen with esc codes
2017-11-20 20:09:54 +01:00
Robert Pelnar aee62750e7 Build 109 2017-11-16 22:03:36 +01:00
Robert Pelnar ee2f927148 Build Number = 108
FSensor log can be enabled with D9125L1
Selftest menu
PINDA D codes
2017-11-16 20:51:50 +01:00
Robert Pelnar 01de834e0d SG_THR_X = 2, holding currents == running currents
Farm preheat menu
dcode D5 - read/write/erase FLASH
dcode D6 - bootloader update test (for new stk500-prusa)
_NO_ASM - MINGW simulator support
fixed bug - "Fil. sensor [on/off]" menu
Build number = 107
2017-11-13 18:45:11 +01:00
Robert Pelnar 877c8a3978 TMC2130 configuration in eeprom (not finished).
Extruder and Z holding currents same as running currents.
M600 filament unload speed = 3500 (PFW-22).
FSensor - algorithm changed (reset error couter instead of decrement)
build number = 106
2017-10-30 15:45:29 +01:00
Robert Pelnar cddb0eafb8 PAT9125 - sampled only Y value, new debug code D9125.
FSensor - synchronous sampling and new algorithm
build number = 103
2017-10-24 19:45:15 +02:00
Robert Pelnar 9c92025cf2 Serial port ECHO bug fix - for clear eerpom farm_mode will be set to false. In farm_mode is second serial port the main port and data received from this port is send to serial port 0 (debuging feature). 2017-09-15 16:34:34 +02:00
Robert Pelnar 9105de073c Cmdqueue code in separate files, debug codes for read/write eeprom and ram, PWM amplitude for Y axis stealtchop mode increased to 210. 2017-09-14 16:19:49 +02:00