Commit Graph

134 Commits

Author SHA1 Message Date
PavelSindler fb8ba9c151 interrupt dont use, another iteration 2017-03-20 10:34:37 +01:00
PavelSindler 31c7469b79 long press init 2017-03-17 10:26:15 +01:00
PavelSindler 3017decb9a fixed undesirable farm mode activation after flashing new firmware 2017-03-15 14:36:58 +01:00
PavelSindler 0dee7b78ed fixed message when serching first point in xyz cal. 2017-03-15 14:06:03 +01:00
PavelSindler 7ad319a16a farm mode: printer sends farm number and status, no ping acoustic allert 2017-03-13 14:40:26 +01:00
PavelSindler 608717d110 farm mode: detection if printer is connected to monitoring, PRN1 sends also farm number 2017-03-07 19:19:13 +01:00
PavelSindler f6edfb7c19 farm mode ping 2017-03-06 15:20:24 +01:00
PavelSindler 64b9678e6b G80 - pinda heating and autohome added 2017-03-06 12:14:08 +01:00
PavelSindler 7b4c79b4d0 Storing status for pinda probe calibration 2017-03-06 11:19:21 +01:00
PavelSindler d31d73c565 changed eeprom address for temp shift, verbosity level for mesh bed leveling added, added debuging functions for temp calibration 2017-03-03 14:12:37 +01:00
PavelSindler 99c201dba2 farm mode disable from menu added, farm number value remains after activating farm mode, wider farm numbers range 2017-03-01 15:34:41 +01:00
PavelSindler fd3bb9c7e5 delay_keep_alive function fixed, induction probe temperature calibration 2017-03-01 11:10:29 +01:00
PavelSindler b189ca8bbd added comment, removed unused code 2017-02-28 11:01:20 +01:00
PavelSindler c441b4acdb temp calibration initial version 2017-02-27 17:24:26 +01:00
PavelSindler 241e32e691 Fixed "Shift out of range" bug in xyz calibration, status on demand added, temp reading disable in farm mode 2017-02-22 18:00:41 +01:00
PavelSindler 590cc8f3e8 German language added, updated spanish language messages, checking if Z live adjust is in allowed range, chcecking for invalid gcodes added, fixed bug in total print time, fixed selftest to avoid false triggering, added auto home after selftest, removed farm mode menu feature, added experimental functions for checking bed properties 2017-02-14 11:52:48 +01:00
PavelSindler ebabaf527a Added message at the beginning of xyz calibration, dont disable steppers during M0 and M1 2017-02-02 15:51:16 +01:00
PavelSindler bb463c8fdc Improved some english messages, added E calibration reset, E calibration feedrate decreased 2017-01-31 10:26:36 +01:00
PavelSindler cc30f910eb Messages in Italian language corrected; added message when unloading filament; "yes", color is clear is default when loading filament 2017-01-25 18:54:54 +01:00
PavelSindler c553c7f368 M702: Unload filament; load filament fast sequence length: 65mm 2017-01-20 16:20:45 +01:00
PavelSindler 040a738202 improved load filament, creating M701 2017-01-20 15:43:02 +01:00
PavelSindler 047f2a8389 Added writing flag to EEPROM, that we started/finished print to detect printer reset and need for filaments adjustment. 2017-01-18 17:57:32 +01:00
PavelSindler 34ba8c3bf7 reset bed level correction only for xyz calibration 2017-01-16 16:24:44 +01:00
PavelSindler cdeedce58f fix: only_z changed to onlyZ 2017-01-16 15:13:22 +01:00
PavelSindler d20adaa8fa Z calibration dont set preheat values to zero,
improved alert meassages in selftest
2017-01-16 13:53:39 +01:00
PavelSindler 975718fc89 reset xyz calibration resets live adjust also 2017-01-15 23:09:42 +01:00
PavelSindler 7abaf4e6a7 Added message translations to all languages, improved homing, changed display when waiting for cooling in xyz calibration, added multiscreen message for E calibration, 2017-01-15 22:11:56 +01:00
Aaron Yourk 7d5affa12e Add additional debugging information for temerature sensor calibration. 2017-01-12 15:46:17 -07:00
PavelSindler a08010c8df Improved E calibration, added degree sign when waiting for cooling in xyz calibration, removing cooling when calibrating just Z, fixed move_menu_axis 2017-01-11 18:14:42 +01:00
Aaron Yourk 0181a17263 Revert "Rebase to upstream changes."
This reverts commit 3afe6d09e2.
Resolves conflicts with upstream Pull request.
2017-01-09 17:11:47 -07:00
PavelSindler fcce374a14 initial version - merging from DEV multicolor 2017-01-09 13:12:39 +01:00
Aaron Yourk 3afe6d09e2 Rebase to upstream changes. 2016-12-31 16:24:33 -07:00
michalprusa 2c0e83a785 Factory reset redesigned and added LCD output 2016-12-30 17:16:24 +01:00
Andre Sklenar 83dbcc2985 main: ignore handling of 'N' symbols (line number) when dealing with special PRUSA commands
Signed-off-by: Andre Sklenar <andre.sklenar@gmail.com>
2016-12-14 15:59:23 +01:00
Michal Průša 8f3f10765a Merge branch 'MK2' into MK2 2016-12-14 15:01:33 +01:00
michalprusa 734ca2eb43 Added link monitor to farm mode 2016-12-14 14:59:01 +01:00
Andre Sklenar 16e34501a0 main: remove features that are not complete yet
Signed-off-by: Andre Sklenar <andre.sklenar@gmail.com>
2016-12-14 14:49:23 +01:00
Andre Sklenar c58453a726 main: add chunk write to sd card 2016-12-14 14:38:36 +01:00
michalprusa 977b58269a Soft factory reset does not reset Live Adjust Z to 0 2016-11-01 17:21:56 +01:00
bubnikv 854b79de46 Implemented a calibration flow supporting the new & pre-built machines.
Fixed a thermal runaway on heat up.
Increased timeout of live adjust to 90 seconds.
2016-10-07 17:21:06 +02:00
bubnikv e0bb76032c Reset live adjust on XYZ calibration.
Disable timeouts in the XYZ/Z calibration.
Don't modify feed rate multiplier during the XYZ/Z calibration.
Support multi screen messages in the XYZ/Z calibration - "move the Z carriages up" step.
Support up to three lines in the XYZ/Z calibration messages.
Added a new message "Measuring reference height of calibration point xx of 9".
Changed the "move the Z carriages up" message to suggest rotating the knob.
Changed the "live adjust not set" message to reference the manual chapter and section.
Remove debugging serial line output on Z calibration.
Removed the non-working pressure advance feature.
Improved accuracy of diagonal moves by oversampling the path discretization.
Accelerated the planner by rewriting time critical routines from floating
point to fixed point arithmetics.
2016-09-01 17:05:15 +02:00
bubnikv 77c24aa56e Improvement in the mesh bed leveling routine: Z-lift before XY to home.
Fix of the print stop: Reset mesh bed leveling and baby stepping
on print stop.
2016-08-22 13:02:04 +02:00
michalprusa be47a2b7c1 Serial receive timeout while in farm mode to prevent printer from stuck when some characters appears on serial line. Added status echo while waiting for filament. 2016-08-21 16:23:36 +02:00
michalprusa 11dac765e7 Language selection menu moved to marlin_main before printer calibration test. 2016-08-17 11:56:31 +02:00
michalprusa 4e61ac2eb1 Different calibrate Z string and finally arduino addons added. 2016-08-08 19:17:19 +02:00
bubnikv 52fc724cb4 Menu reorganized.
Toshiba FlashAir switchable.
2016-08-05 13:34:21 +02:00
bubnikv 32c8e9c2dc "Calibrate Z" was redefined to let the user move the X axis up
to the Z end stoppers and to re-calibrate the 9 bed point
reference values after the printer has been re-seated or transported.

New "Mesh Bed Leveling" function was added to the menu, doing what
the "Calibrate Z" was doing before.
2016-08-04 17:42:54 +02:00
bubnikv f9f9912fff Fixed print stop: Now the printer will maintain a valid coordinate system during print stop, so it will not crash into the end stops.
Clean-up of some hard coded constants.
Fixed line edit error introduced in the preceding check-in.
Enable a high power mode when first booted up on a virgin RAMBo board.
2016-08-04 13:02:45 +02:00
bubnikv d1df7f931c Unused experimental Prusa3D specific G8X G-codes disabled. 2016-08-02 15:56:14 +02:00
bubnikv 805cdadb6f Show "Calibrating nth point" on the display when running G80
if initiated from SD card. Don't show Z height during the calibration.

Update status of the Toshiba FlashAir on sd card insert / removal.
2016-08-02 15:08:34 +02:00
bubnikv 077560ce4c Improvement of baby stepping:
1) Fix of stepper control timing
2) Load / restore baby stepping after 9 point bed leveling using
   the planner instead of the questionable baby stepping routine.

Improvement of the menu system: Use a shared menuData union to preserve
memory. Adaptation of baby stepping and edit menus to menuData.

Improvement of the "Toshiba FlashAir" status display. Don't force IP
address query on each display refresh when in the "Support" menu.

Bugfix of the baby stepping menu: Show the correct value instead
of zero when the baby stepping menu is entered.

New feature: Bed leveling adjustment at left / right / front / rear side.
The bed adjustment feature is accessible from the Settings menu
and as L R F B codes of the G80 code.
2016-08-02 12:19:17 +02:00
bubnikv 7355589119 Added a test for a broken PINDA cable during G80.
Added a ------ separator in the menu showing the Toshiba FlashAir IP address.
2016-07-26 11:35:39 +02:00
bubnikv 403d71d902 Increased the "calibration point not found" threshold from 0.5mm to 1.mm
difference from the reference value stored in the EEPROM.
Lowered the speed of lowering the Z axis during the XY calibration
from 0.5mm per zig-zag search to 0.2mm to avoid the nozzle scratching
the bed if the PINDA sensor is mounted too high.
Improved the display routine to break the interpunction from the end
of a sentence. While the result may not be typographically correct,
more fits onto the screen.
2016-07-25 15:33:26 +02:00
bubnikv d00b4a2c75 Reworked the calculation of jerks in the planner.
Now the confugration values are half the values used before,
and the planner ensures, that the jerks will not be violated.
2016-07-22 16:52:13 +02:00
bubnikv 986b286803 Reworked calculation of the trapezoidal ramps inside the planner.
The old implementation seems to be buggy, it accesses segments
outside the queue, causing jerks and skipped steps.
2016-07-22 10:37:06 +02:00
bubnikv 2e66fdf84a Merge branch 'MK2' of https://github.com/Prusa3D/Prusa-Firmware into MK2 2016-07-21 10:49:48 +02:00
bubnikv 562c089e17 Initial implementation of the Toshiba FlashAir support:
Get the status of the Toshiba FlashAir, namely its IP address.
The IP address is currently reported through an M46, but this
is subject to change and the IP address shall be shown on the display.
2016-07-21 10:48:08 +02:00
akukan 1b2676baac Farm monitoring 2016-07-20 15:02:52 +02:00
bubnikv ea6a948c6b Removed the dual carriage code for readibility.
Removed support for the slow Toshiba stepper drivers.
2016-07-19 10:57:18 +02:00
bubnikv 2e6e4542c9 Undo babystepping in Z before G28 / G80, if applied already.
Update babystepsTodo atomically (disable / enable interrupts).
Disable debugging outputs on the serial line from the X/Y calibration code.
OctoPrint fix - fixes a hangup after G28: Link the G28->G80 G codes
by calling the G80 code directly without pushing it into the command buffer.
SD card driver patch to support the Toshiba FlashAir SD/WiFi card.
2016-07-18 17:28:54 +02:00
bubnikv d825c5ffac Write the current firmware version into first 8 bytes of the EEPROM,
so the firmware will have a chance to find out, that it has been
upgraded.
2016-07-07 22:01:51 +02:00
bubnikv d4e332112b Reset babystepping value on startup, if the Z live adjust is off.
This is necessary so the Z axis will not go havoc when the Z live adjust
is enabled.
2016-07-07 21:34:13 +02:00
bubnikv 591e81777a "Printer has not been calibrated yet, calibrate Z" message on startup,
if EEPROM_BABYSTEP_Z_SET equals 0x0ff.
2016-07-07 21:23:32 +02:00
bubnikv 208976f397 Ignore extended ASCII characters. These characters have no meaning in the G-code apart from the file names
and Marlin does not support such file names anyway.
Serial characters with a highest bit set to 1 are generated when the USB cable is unplugged, leading
to a hang-up of the print process from an SD card.
2016-07-07 20:31:11 +02:00
bubnikv 0b372bfc94 Added a new feature to the "M115" code:
"M115 Umajor.minor.revision-flavor" will trigger a dialog
on the display if the "upgrade" firmware version number is higher
than the current version number.
2016-07-07 20:26:59 +02:00
bubnikv d7c75f2060 Updated soft end stops with the skew calibration active.
Updated changes between the corrected / uncorrected XY axes.
2016-07-07 11:51:24 +02:00
bubnikv a88c0a30e7 Fixed a non-C++ implementation of the PRUSA specific G-Codes.
Yet another improvements of the bed skew calibration.
2016-07-06 16:12:04 +02:00
bubnikv 1394e7efc6 Skew calibration: Yet another improvement of the search algorithm
of the front row induction sensor targets.
Fixes of some movements behind the end stops.
2016-07-06 09:34:42 +02:00
bubnikv 58b2aa9fb8 Improvement of the bed skew calibration. 2016-07-04 19:00:42 +02:00
bubnikv 0389b23514 Rewrote the fitting routine of the induction sensor points to the measured points
from Linear Least Squares to Nonlinear Least Squares to maintain unity length of machine axes.
Improved the scanning of the 1st row of the induction points.
2016-07-01 09:13:15 +02:00
bubnikv 677c13fc9a Improved the bed auto calibration at the Y=0 edge of the bed.
Fixed problems with step motors being disabled after inactivity.
2016-06-24 15:44:31 +02:00
bubnikv 80971237b8 Polished the bed skew and shift calibration. 2016-06-23 19:08:45 +02:00
bubnikv c24f3369d7 Fixed a bug in babystepping: The babystep value will be written to EEPROM
at the end of the menu only.
Provided a general method for a menu function to detect exiting by a timeout.
When exiting, the menu function is called with a global variable menuExiting set.
Some errorneously removed functions were reverted.
2016-06-23 11:15:47 +02:00
bubnikv 78ebd522b6 Removed support for DELTA, SCARA and BARICUDA.
Implemented bed skew calibration by matching a precise physical model
to the measured data using the least squares method.
Rewrote handling of the command buffer to preserve memory
and allow pushing the commands to the front of the queue.
2016-06-23 08:46:15 +02:00
bubnikv 6cff4b92ff Automatic bed calibration by searching the 3x3 point matrix.
Fixed a problem with low RAM by re-vamping the langtool.
2016-06-16 14:29:04 +02:00
michalprusa a4a80b3eb7 MK2 Firmware release. 2016-05-31 14:08:04 +02:00
michalprusa 9b8d663526 Better live adjust Z interface 2016-05-01 13:56:55 +02:00
michalprusa 7bfe91483d Calibration process added 2016-04-28 14:50:25 +02:00
michalprusa d7417e1dd3 Mesh Bed Leveling rewritten, upcaling of tiles, better bed finding method and minor other tweaks. 2016-04-01 16:48:48 +02:00
michalprusa 4263792793 Planning move in mesh rewritten. 2016-03-25 15:56:51 +01:00
michalprusa f98cf1b44b Added automatic mesh bed leveling feature 2016-03-12 17:14:11 +01:00
michalprusa 4ce950c994 Minor tweeks
Magic constants moved to one place, fixed gcode for reseting Live
adjusting Z
2016-03-08 16:24:50 +01:00
michalprusa feb82d42eb M119 report fixed and added new gcode
Fixed reporting enstop status and added PRUSA LiveZ to reset live Z
adjusting
2016-02-25 12:27:08 +01:00
Josef Prusa f8c65e39ae Reorginized the repository and added license 2016-02-21 15:02:31 +01:00