Commit Graph

69 Commits

Author SHA1 Message Date
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
4c6ea5af94 Fixed crashes when one moved the axes from the menu many times
up/down, left/right until the planner queue got full.
2016-08-02 15:40:23 +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
Vojtech Bubnik
a154fc1691 Merge branch 'MK2' of https://github.com/Prusa3D/Prusa-Firmware into MK2 2016-08-02 12:19:40 +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
akukan
012e21d49d Add files via upload 2016-07-28 15:19:23 +02:00
bubnikv
f17aa3b0a2 Adjusted the maximum acceleration of the Z axis to a sensible value
for the MK2 printer.
2016-07-26 15:36:35 +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
018c1b1fad Multiline lcd_show_fullscreen_message_and_wait_P() function. 2016-07-25 15:52:27 +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
5c56e472fe Show the Toshiba FlashAir IP address in the menu. 2016-07-22 10:31:30 +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
c8c92f8ae5 PLA preheat settings for MK2 set to 215/55 2016-07-20 16:30:44 +02:00
akukan
e9910a9078 Print farm confirmation 2016-07-20 16:05:20 +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
3c21438392 In addition to the firmware version number, store the "PRUSA3D"
magic at the beginning of the EEPROM,
so at the upgrade the firmware would know, if the previous firmware
was a Prusa3D firmware.
2016-07-08 09:49:15 +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
08bf6acf1b Fixed ".." label when leaving a subdirectory.
Made the hidden and system files invisible when browsing the SD card.
2016-06-20 13:46:37 +02:00
bubnikv
d9da3c4c7f Bugfix of the "Move Z carriages up" step. 2016-06-16 15:52:58 +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
e115c5145f MK2 Config files and hex output added 2016-05-31 14:36:31 +02:00
michalprusa
a4a80b3eb7 MK2 Firmware release. 2016-05-31 14:08:04 +02:00
michalprusa
7361f620d3 Extrude mintemp lowered for wax filaments support 2016-05-01 15:04:44 +02:00
michalprusa
9b8d663526 Better live adjust Z interface 2016-05-01 13:56:55 +02:00
michalprusa
d1df17a722 Tweaked mesh positions 2016-04-28 17:00:20 +02:00
michalprusa
7bfe91483d Calibration process added 2016-04-28 14:50:25 +02:00
michalprusa
1ce1088d6f Bed PID added and minor tweaks 2016-04-19 11:32:22 +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