Robert Pelnar
eea755496b
Conditional translation for SYSTEM_TIMER_2 because we want to have posibility to switch between old/new implementation.
...
Timing functions (millis, micros and delay) replaced in whole source, defined in Marlin.h.
This commit enables original implementation (SYSTEM_TIMER_2 undefined)
Verified with passed complete wizard process.
2019-01-27 22:48:51 +01:00
PavelSindler
6b1cf99066
conditional compilation updated
2019-01-24 16:14:02 +01:00
PavelSindler
da2c963893
conditional compilation improved: fsensor_autoload_check_stop() and fsensor_autoload_check_start(); M600 "filament not responding" error on printers with ir sensor fixed
2019-01-24 16:00:52 +01:00
PavelSindler
e0c1e4a02d
version which should on all printer versions: autoload, selftest, filament detection, filament sensors initialization, filament menus
2019-01-24 01:12:30 +01:00
Robert Pelnar
6157c3ab32
New filament sensor
2018-12-06 15:41:53 +01:00
PavelSindler
0e65790218
removed redundant code
2018-11-21 19:49:19 +01:00
PavelSindler
74a7341005
mmu: FINDA disabled by damaged/disconnected PAT9125 hotfix
2018-11-21 19:27:55 +01:00
Robert Pelnar
d886ba1100
Fix PFW657 - filament runout detection is not working after autoload disabled from menu.
2018-11-13 14:05:15 +01:00
MRprusa3d
fd45dd64dc
Bed PowerMonitor III
2018-11-08 03:32:00 +01:00
MRprusa3d
4ae857136d
Bed PowerMonitor II
2018-11-07 13:38:39 +01:00
MRprusa3d
18a8ae5b8f
Bed PowerMonitor
...
bed power monitoring correction
2018-11-01 20:55:42 +01:00
PavelSindler
a9317b4d36
upstream/MK3 merge
2018-10-25 21:46:32 +02:00
PavelSindler
a6a81c6ea6
mmu2: filament senor (FINDA) can be switched ON/OFF from menu without dependency on pat9125 state
2018-10-25 18:26:26 +02:00
PavelSindler
bd8ca8d652
removed redefinition of functions in fsensor.cpp
2018-10-22 20:51:44 +02:00
PavelSindler
940f436a5f
merge MK3_dev into MK3
2018-10-22 20:25:29 +02:00
PavelSindler
866d6758c3
Merge pull request #1243 from mkbel/simplify_EEPROM_M500
...
Simplify eeprom m500
2018-10-10 13:11:17 +02:00
Marek Bel
9dff6431e6
Format fsensor documentation.
2018-10-09 22:33:54 +02:00
Marek Bel
1585dc66b0
Merge remote-tracking branch 'prusa3d/MK3_dev' into simplify_EEPROM_M500
...
Known limitation: Unable to compile.
2018-10-08 15:58:49 +02:00
Robert Pelnar
9960c80bf7
Additional check always with enabled oq_meassure
...
+ variant files
2018-10-04 16:12:41 +02:00
Robert Pelnar
f9d8c46802
Enable/disable optical quality meassurement in settings menu
2018-10-04 15:48:28 +02:00
PavelSindler
aefb4e5c09
Merge pull request #1200 from XPila/MK3
...
Filament sensor - fix invalid calculation of fsensor_counter in LA st…
2018-09-27 21:05:33 +02:00
Robert Pelnar
c2f535b619
Filament sensor - fix invalid calculation of fsensor_counter in LA stepper.
...
+decreased additional check sensitivity/sctrictness
2018-09-26 18:59:07 +02:00
PavelSindler
e6a00b8f53
send busy messages when checking for filament presence
2018-09-25 19:14:57 +02:00
Marek Bel
3f28632443
Use cs.axis_steps_per_unit from ConfigurationStore.
2018-09-24 14:54:41 +02:00
Marek Bel
9868dd766e
Fix print not recovered when filament sensor is disabled during filament change initiated by filament run out.
2018-09-19 14:22:08 +02:00
Marek Bel
a5a7b1f1d6
Move functions definitions behind variable definitions. (No change in functionality.)
2018-09-19 14:08:31 +02:00
Marek Bel
af08e16426
Use stop_and_save_print_to_ram() and restore_print_from_ram_and_continue() pair to pause print from menu. Move declaration of those functions to marlin.h. Move declaration of FSensorStateMenu to ultralcd.h.
...
Known limitations: Filament is not retracted, extruder is not lifted in Z and moved to rear left corner in XY. Nozzle heating is not turned off nor restored. Unused code is not removed.
2018-09-04 08:13:56 +02:00
Marek Bel
cc0249126a
Document fsensor_update, remove disabled code.
2018-08-15 21:36:23 +02:00
Marek Bel
1b299618c1
Fix compiler warnings: sketch/fsensor.cpp: In function 'void __vector_11()':
...
sketch/fsensor.cpp:370:50: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (pat9125_y > 0) if (fsensor_oq_yd_min > pat9125_y) fsensor_oq_yd_min = (fsensor_oq_yd_min + pat9125_y) / 2;
^
sketch/fsensor.cpp:371:51: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (pat9125_y >= 0) if (fsensor_oq_yd_max < pat9125_y) fsensor_oq_yd_max = (fsensor_oq_yd_max + pat9125_y) / 2;
2018-08-02 14:13:29 +02:00
Marek Bel
25c00393ff
Fix compiler warning sketch/fsensor.cpp:221:10: warning: unused variable 'fsensor_autoload_c_old' [-Wunused-variable]
2018-08-02 14:13:29 +02:00
Robert Pelnar
c2fe3b920c
FSensor - chunk defined in mm, runout detection distance tunning
2018-08-01 01:24:35 +02:00
Robert Pelnar
9509a60549
FSensor improovement
...
autoload sensitivity decreased (false triggering on MK25)
filtering algorithm more robust
additional check - fixed sync with autoload and better condition
2018-07-31 20:23:31 +02:00
Robert Pelnar
7731898b58
FSensor - optical quality meassurement - ignore reflexivity for materials with low data deviation
2018-07-31 16:28:11 +02:00
Robert Pelnar
dd23835480
fsensor - fix - do not report poor filament response when disabled
2018-07-27 20:53:25 +02:00
Robert Pelnar
2f9003dbdd
fsensor - better state handling
2018-07-26 19:50:33 +02:00
Robert Pelnar
60b4db15e0
FSensor - M600 fix + cond. translation + tunning filter and params
2018-07-22 16:14:13 +02:00
Robert Pelnar
c6a3f073dd
FSensor - M600/autoload fix + optical quality meassurement
2018-07-21 17:04:29 +02:00
Robert Pelnar
980c044dac
FSensor - code cleaning
2018-07-21 01:57:41 +02:00
Robert Pelnar
2e260aeccc
FSensor - autoload fixed
2018-07-21 01:30:16 +02:00
Robert Pelnar
1309c52bcf
FSensor - code cleaning + simplification
...
+ removed DEBUG_DISABLE_FSENSORCHECK
+ added FILAMENT_SENSOR
2018-07-20 23:48:00 +02:00
Robert Pelnar
0f91bf9527
FSensor - optical quality meassurement durring load filament
2018-07-20 20:30:08 +02:00
Robert Pelnar
fd9b9acf4e
FSensor, code cleaning + optical quality meassurement
2018-07-20 14:03:22 +02:00
Robert Pelnar
5483bee885
FSensor - meassuring filament optical quality
2018-07-19 20:55:38 +02:00
Robert Pelnar
afb9ca4687
FSensor - removed fsensor blocking while load, added filament quality meassurement
2018-07-18 17:45:54 +02:00
Robert Pelnar
2c06cb68d1
FSensor tunning - filtering changed, chunk length = 0.64mm and MAX_ERR = 10
2018-07-17 20:04:12 +02:00
Robert Pelnar
19a72ef9eb
LCD menu optimalization - LiquidCrystal_Prusa removed
2018-07-16 23:23:15 +02:00
MRprusa3d
4b295c4091
FilamentAutoload setting by shipping preparation
2018-07-11 20:45:56 +02:00
Robert Pelnar
8da2330b93
FSensor PAT9125 - i2c ACK check + two attempts in init function (PFW).
...
ultralcd_implementation_hitachi - fixed link
2018-04-11 16:03:54 +02:00
Robert Pelnar
363a9d24b3
LiquidCrystal class renamed to LiquidCrystal_Prusa
2018-03-29 17:50:43 +02:00
Robert Pelnar
e20ee149b0
filament sensor additional check after runout (3mm back, 3mm forward @200mm/min)
2018-01-31 21:10:41 +01:00
Robert Pelnar
daaac2fb88
fail stats
2018-01-30 19:49:40 +01:00
Robert Pelnar
cae68d9f6d
Extruder resolution changed to 32usteps
...
build 151
2018-01-24 01:41:42 +01:00
bubnikv
44dc12005f
Optimization of the filament sensor.
2018-01-23 16:47:42 +01:00
Robert Pelnar
aaf4e0a5e0
fixed bug - fsensor synchronization (b146)
2018-01-15 15:23:06 +01:00
Robert Pelnar
9aedaa8fe7
build 146
...
hard limits
fsensor overflow fix
2018-01-14 23:59:43 +01:00
PavelSindler
23b78da2f5
filament fails counter fixed
2018-01-12 20:21:07 +01:00
Robert Pelnar
546314fda7
Removed debug messages from serial comunication (octoprint...).
...
build 137b
2017-12-27 20:29:24 +01:00
XPila
257b8e9f59
Merge pull request #342 from XPila/MK3
...
Mk3 - RC3
2017-12-22 20:35:15 +01:00
Robert Pelnar
6abba7bfe9
filament autoload - better detection algorithm, autoload in M600 from menu
...
unload menu always visible
2017-12-22 20:14:26 +01:00
PavelSindler
1917b6a1d7
removed some serial line error messages which caused that octoprint changed status
2017-12-22 13:27:04 +01:00
PavelSindler
a9d5af4a07
Wizard: dont ask if color is clear and dont use automatic filament load; multiscreen messages update
2017-12-20 13:33:45 +01:00
Robert Pelnar
66e279b41c
Autoload filament - fsensor error couter reset when switched.
2017-12-13 18:12:05 +01:00
Robert Pelnar
356bc403b1
Automatic filament load when printer idle and preheated
2017-12-13 17:39:32 +01:00
Robert Pelnar
7204e91ec6
Filament sensor not responding - (PFW-41)
...
build number = 130
2017-12-11 18:17:25 +01:00
Robert Pelnar
58f8fdb51b
Automatic filament load in M600
2017-12-05 18:37:03 +01:00
Robert Pelnar
a56b0ccaf8
bugfix - Filament sensor enable from menu
2017-11-29 00:15:45 +01:00
Robert Pelnar
1863819e39
pat9125 reinit when fsensor enabled from menu.
2017-11-28 22:44:58 +01:00
PavelSindler
211725c946
dont show temp cal message, dont save uvlo flag to eeprom if printing from USB
2017-11-27 18:30:16 +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
ef3e06da30
...
2017-11-16 20:52:13 +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
8734961e0e
M114 now reports also actual extruder position,
...
PAT9125 HWI2C (Wire) support,
fsensor implementation into separate file
build number = 102
2017-10-22 22:42:45 +02:00