Commit Graph

76 Commits

Author SHA1 Message Date
David Ramiro ee6094f39d
Cleanup
Improving and adding some comments to the code, updating a few details on the readme
2019-03-10 22:40:35 +01:00
David Ramiro 1a5804f260
Implement nozzle reheating on timeout via display
- Raise nozzle timeout to 10 minutes
- Use continue button as reheat trigger
- Manage nozzle_timed_out variable via display
- Add PausedByNozzleTimeout flag to enter correct routine on display
- Bump version to 1.4.3
2019-03-08 16:30:56 +01:00
David Ramiro cea54723e7
Use realtime on filament sensor
Instead of incrementing a variable on every iteration on the filament sensor trigger loop, we now use a real time macro that ensure better repeatability and is easier to customize.
2019-03-08 16:05:54 +01:00
David Ramiro 90e27ff21b
Fix indentation
Improve readability and fix #ifdef and #endif indentations
2019-03-08 01:25:21 +01:00
David Ramiro 85c32a2bb6
Fix Z movement on abort
- Referencing #29
- Adding audio feedback to special menu M500 and M502
2019-03-06 22:59:46 +01:00
David Ramiro 2c53c33d52
Tweak M600 display resume
- Add startFileprint(); call to M108 display routine to fix progress and ensure "printing done" gets shown
- Add SD printing check in marlin_main.cpp M600 routine to skip TFTstate if not necessary (e.g. USB printing)
- Move routine to the top again to ensure immediate execution
2019-02-24 15:48:03 +01:00
David Ramiro 8fc01144f1
Set SDPAUSE state on M600 regardless of prior TFTstate
Move the routine to a better position and set the state regardless of SDPRINT status.

This ensures that M600 makes the display show a continue button every time. Before, it was only behaving correctly for the first instance of M600.
2019-02-23 11:16:29 +01:00
David Ramiro 8448c67846
Streamline build identification 2019-02-23 00:31:25 +01:00
David Ramiro e822d53f2f
Merge branch 'master' into dev 2019-02-23 00:26:33 +01:00
David Ramiro 30bbf59cb0
Increase filament rounout trigger delay
In some cases, the filament runout was triggered erratically, we are now waiting for the trigger to last a few moments until we start the routine.
2019-02-22 22:26:58 +01:00
David Ramiro b25aa626e7
Update semantic versioning 2019-02-18 20:01:22 +01:00
David Ramiro b447245ddd
Add screen state to gcode_M600()
- Allowing resume after M600 via on screen button:

- Adding check for TFT state status
- Setting flag when print was started via TFT
2019-02-18 19:34:59 +01:00
David Ramiro 2bd6f2f23a
Pause & runout code cleanup
Final changes to pause & filament runout overhaul before release:
- Use booleans instead of chars for cleaner code
- Raised retraction amount
2019-02-18 18:05:37 +01:00
David Ramiro 16d6d37096
Disable TFT debug 2019-02-17 19:57:07 +01:00
David Ramiro 5fbc1b6035
Tweak pause & filament runout
- Check for PausedByFilamentChange flag on pause and resume
- Move stop movements from StateHandler() to StopPrint()
- Retract 1mm on pause (2mm on runout) without feed on resume, preventing ooze
- Fix special menu margin on some buttons
2019-02-16 18:41:22 +01:00
David Ramiro 76b873baee
Add M600 and M108 routines to display code 2019-02-15 22:58:42 +01:00
David Ramiro 1fe1842a75
Rework filament runout, pause and stop
Editing display pausing/stopping and using nozzle parking for filament runout
2019-02-15 20:26:54 +01:00
David Ramiro bfe39a342d
Fix buffer issue with S3D USB printing 2019-02-11 22:53:09 +01:00
David Ramiro 28e86b95ed
Adjust temperature limits and margins
Lowering the safety margin of MAXTEMP to 10°C and raising MAXTEMP to 285/135.

Resulting in a limit of 275°C for the hotend and 125°C for the heatbed.

Referencing #23
2019-02-11 14:16:30 +01:00
David Ramiro bb06621c6c
Tweak feedrate, jerk and acceleration 2019-02-08 16:30:41 +01:00
David Ramiro f01026e748
Tweak minimum segment time
Improve USB printing by slowing down on certain situations. This prevents the buffer from running empty and removes the need to wait for new serial commands.
2019-02-08 16:28:02 +01:00
David Ramiro 06424642ba
Merge branch 'm600' 2019-02-06 19:33:25 +01:00
David Ramiro 9281686c49
Tweak M600 filament change
Adjust load and unload distances to suit the bowden tube and append instructions
2019-02-06 18:10:39 +01:00
David Ramiro 01e152b456
Bugfix
- Buffer flush added to the the end of M190 loop
- Inverted position polling when canceling print via display
2019-02-06 12:32:58 +01:00
David Ramiro 42f52d34b4
Flush serial buffer after heating
Some hosts like Pronterface use continuous M105 commands to poll temperature, this causes a software halt when the heating via M109 or M190 is finished. Flushing the rx buffer fixes this.

As reported in #15, thanks to @rug156 for the feedback!
2019-02-06 11:42:24 +01:00
David Ramiro 574b2f8aed
Enable busy messages on M109/M190 2019-02-06 11:07:31 +01:00
David Ramiro 5f7a252267
Enable filament change feature
Adding support for headless M600/M108 filament change

Addressing #15
2019-02-05 15:24:00 +01:00
David Ramiro ae98ec4bae
Merge branch 'dev' 2019-02-02 20:23:12 +01:00
David Ramiro a40267c4a0
Change acceleration 2019-02-02 20:20:30 +01:00
David Ramiro f8a7e2d0d6
Append building instructions
Resolve #13
2019-01-31 21:32:01 +01:00
David Ramiro c5cc8b2171
Disabling S-Curve-Acceleration
Trying to mitigate Y axis layer shifts on certain machines
2019-01-30 17:40:07 +01:00
David Ramiro f01ee75004
Merge upstream changes
from https://github.com/MarlinFirmware/Marlin/tree/bugfix-1.1.x
2019-01-28 23:30:14 +01:00
David Ramiro b3af9708e9
Tweak print cancelling behaviour
Fix movement on certain positions of the Z axis
2019-01-24 16:50:34 +01:00
David Ramiro ad683fdedc
Beautify code
Fix indentation
2019-01-24 16:45:35 +01:00
David Ramiro 8aa4ed6945
Update readme
Mention PWM-fan release and update extruder calibration instructions
2019-01-22 19:48:21 +01:00
David Ramiro c6c4bec8e0
Revert M420 state after G28
As a possible fix for the bug with Cura's end Gcode as described in 
issue #7, I changed the leveling state to be disabled after homing since 
Cura uses X homing in their end Gcode.
2019-01-21 23:57:12 +01:00
David Ramiro c32d1b4a80
Move 5015 changes to pwm-fan branch
Reverting software PWM and moving it to https://github.com/davidramiro/Marlin-AI3M/tree/pwm-fan
2019-01-17 21:15:29 +01:00
David Ramiro 7cd658e10f
Fix 5015 fan issue
Addressing issue #3
2019-01-16 21:18:29 +01:00
David Ramiro de70c97f4a
Revert bed sizing test values
Reverting some minor changes to bed size. Those were not meant for the main branch, just for testing.
2019-01-10 18:52:14 +01:00
David Ramiro 4dd8c5df0d
Enhance print cancelling behaviour 2019-01-10 12:52:12 +01:00
David Ramiro 7c05040274
Move up nozzle after aborting
Raise Z for up to 5 cm (depending on current height) after aborting a print via display.

Referencing issue #9.
2019-01-07 14:07:20 +01:00
David Ramiro 00ab4d68c3
Move releases 2019-01-06 01:20:52 +01:00
David Ramiro 3c65df1a97
Enable printcounter
Log printing statistics, use M78 to use this
2019-01-04 15:24:01 +01:00
David Ramiro b024c6d1a2
Merge branch 'endstop-noise-testing' 2019-01-04 15:22:06 +01:00
David Ramiro d0831e79c6
Adjust bed size
Thanks to Dominic for the feedback.
2019-01-04 15:21:06 +01:00
David Ramiro dca0eb752a
Mitigate false endstop triggering
While adding ENDSTOP_NOISE_FILTER, I try to reduce the impact on accuracy as much as possible by reducing the endstop_poll_count to 2.

Possible fix for #8.

Thanks to @notching, @mensikv and @md66pt for the valuable feedback!
2019-01-04 01:12:46 +01:00
David Ramiro 5dface64e1
Revert endstop toggle 2019-01-02 19:51:40 +01:00
David Ramiro f877f1201f
Fix home issue
Possible fix for #7 and #8
2019-01-02 18:30:50 +01:00
David Ramiro 1a8f4e8b11
Update compiled binaries 2018-12-31 20:45:25 +01:00
David Ramiro d8733e1bed
Adjust min & max temperatures 2018-12-31 20:38:15 +01:00