Commit graph

265 commits

Author SHA1 Message Date
Tony
6357a827f9 removed erroneous addition to previous commit 2014-03-03 20:16:33 +00:00
Tony
5325195f80 Support For two MCP4461 digipots
Required to support the Duet+ Duex4 or other expansion boards that use a
second MCP4461.
2014-03-03 20:13:24 +00:00
Tony
799e69dca2 Merge pull request #1 from reprappro/duet
Duet
2014-03-03 00:07:50 +00:00
Adrian Bowyer
1c749dba9e Continuing with adding comments to .h files 2014-02-23 16:50:58 +00:00
Adrian Bowyer
a91f650dd9 Now that a number of people are working on this code, I have been going
through making the comments more copious, especially in the .h files.
W.I.P.
2014-02-21 16:39:02 +00:00
Adrian Bowyer
ebfc9bd75b Tidying small errors introduced (deliberately) at the last commit. This one should work. 2014-02-20 23:15:52 +00:00
Adrian Bowyer
ba04363345 Merge branch 'duet' of https://github.com/reprappro/RepRapFirmware into duet 2014-02-20 23:09:35 +00:00
Adrian Bowyer
fedd74750f This commit DOESN'T WORK. Use the next one or the previous one. This is an intermediate commit done merely to facilitate the moving of files between machines. 2014-02-20 21:22:25 +00:00
Adrian Bowyer
3c02c4c104 Updated reprap.htm 2014-02-18 11:25:47 +00:00
Adrian Bowyer
c5d6085772 Added in iamburney's web interface (many thanks to him). 2014-02-11 12:14:59 +00:00
Adrian Bowyer
1129fa218f Added in David Crocker's improvements (many thanks to him). 2014-02-11 11:23:28 +00:00
Adrian Bowyer
cc730a8013 Experimental version of Move.cpp... 2014-01-24 12:53:07 +00:00
Adrian Bowyer
0ea1b57328 First implementation of the optimised maximum speed in any direction code. This is still buggy. To print with, use the previous release. 2014-01-16 17:49:59 +00:00
Adrian Bowyer
eaeadd174b Merging David Crocker's latest changes and fixes. 2014-01-15 17:03:10 +00:00
Adrian Bowyer
aa8d3a5196 Merge branch 'duet' of https://github.com/dc42/RepRapFirmware into duet 2014-01-15 15:57:28 +00:00
David Crocker
3e8cfd7355 New binary built from previous committed sources 2014-01-15 14:16:51 +00:00
David Crocker
82e23d4774 Make disconnected thermistor show temp as absolute zero again
In a previous commit I changed the temperature calculation to give more
accurate readings at extreme values. This change meant that a
disconnected thermistor no longer shows as absolute zero. Coupled with
the change in thermistor beta value, this meant that a disconnected
extruder thermistor would show as -28.2C, which is above the usual error
threshold of -30C. This commit introduces a special case for a
disconnected thermistor and restores the reading to absolute zero for
that case.
2014-01-15 13:42:59 +00:00
Adrian Bowyer
8f97865c4a Started work on improvements to the velocity constraints. Not fully implemented, but this will mean that the maximum velocity in any movement direction will be the constraint, regardless of the mix of X, Y and Z moves. This has been tested, and is printing. But beware funny velocity effects... 2014-01-14 21:05:27 +00:00
Tony
34a63f9968 Merge remote-tracking branch 'upstream/duet' into duet 2014-01-14 21:03:02 +00:00
David Crocker
618304c021 Support for modulated IR sensor
Add code to support sensors that allow the IR output to be modulated, to
reduce the sensitivity to ambient IR. Use M558 P2 command to enable
sensor modulation. Also changed the sensor reading averaging code to
give more consistent z-height seeking.
2014-01-14 19:03:42 +00:00
Adrian Bowyer
14b247053f Removed legacy support for Duet v0.4 heaters. Last commit before changes to max velocity code. 2014-01-13 15:04:00 +00:00
Adrian Bowyer
98466d14d8 Applied 3D-ES and bobc's fixes to the ftoa() function (see http://forums.reprap.org/read.php?340,293724). 2014-01-13 10:13:39 +00:00
Adrian Bowyer
797e49954c Merged David Crocker's network and A->D code improvements from https://github.com/dc42/RepRapFirmware/tree/duet 2014-01-13 09:21:16 +00:00
Adrian Bowyer
e7afc883c2 Merge remote-tracking branch 'dc42/duet' into duet 2014-01-12 17:37:01 +00:00
Adrian Bowyer
6188eff455 Some tidying. Increased SD delay to 20ms. 2014-01-12 17:35:56 +00:00
David Crocker
ee70ee22ed Improve performance of SD card upload via USB
This change approximately doubles the speed of SD-card uploading via USB
to 2.2Mbyte/sec on the test system, provided that Pronterface has been
patched to not wait for an acknowledgement after sending each line of
g-code.
2014-01-12 16:02:49 +00:00
David Crocker
bcd902ffba Fixed thin-layer Z-axis printing problem
Fixed problem whereby when printing in thin layers, the z-axis stepper
would try to move too fast, resulting in missed steps. This was because
the lookahead code was setting incorrect z-move velocities when a Z-move
was preceded by an extruder-only move.
2014-01-12 15:59:57 +00:00
David Crocker
fdd9fadbbb Added binary file 2014-01-11 21:39:20 +00:00
David Crocker
3071e89167 Corrected a speling errror 2014-01-11 20:57:12 +00:00
David Crocker
c09afc035b Fixed slow printing over USB
Fixed printing over USB and via HTTP so that it uses the same lookahead
mechanism as for printing from SD provided the data arrives fast enough.
Added an incoming buffer for data arriving from USB. NOTE: Pronterface
needs to be patched  to send the data fast enough for this to work well.
Also changed signatures of some member functions to be const-correct
2014-01-11 20:56:53 +00:00
David Crocker
1e444839e0 Improved network recovery from errors and fixed small temp cal error
Improved network error recovery so that it it possible to reconnect
after some types of network error have occurred
Corrected calculation of temperatures to give more accurate results
towards the limits of the ADC range
2014-01-07 13:42:30 +00:00
Tony
93990445a7 Merge remote-tracking branch 'upstream/duet' into duet 2014-01-07 01:48:44 +00:00
Adrian Bowyer
d040227c95 Thermistor updates applied to the duet branch. 2014-01-06 21:52:21 +00:00
Adrian Bowyer
e12bb99d2f Thermistor updates applied to the duet branch. 2014-01-06 21:50:35 +00:00
Adrian Bowyer
95a54f763f Macros made so that they can call macros. Beware recursion.... 2014-01-05 16:49:42 +00:00
Tony
676ba30dc9 Merge remote-tracking branch 'upstream/duet' into duet 2014-01-03 23:16:55 +00:00
Adrian Bowyer
387dae22cd P parameter added to M559, so that macros can be uploaded. 2013-12-30 23:09:46 +00:00
Adrian Bowyer
ef7e528bad README updated to include compile instructions. 2013-12-30 18:43:26 +00:00
Adrian Bowyer
f746616e8c Workround added for bug in Pronterface (it sends 2 M24 commands on second file print). M24 is now ignored if a file
is actively printing.
2013-12-30 17:25:38 +00:00
Adrian Bowyer
71c1571c6c Synchronising duet branch with the mastr branch. 2013-12-27 15:02:04 +00:00
Adrian Bowyer
be1a790c47 Added more efficient canned cycle for when all three axes are being homed. 2013-12-23 21:25:40 +00:00
Adrian Bowyer
c12ebed79c All axis homing now done with canned cycle files. 2013-12-23 18:07:16 +00:00
Adrian Bowyer
10bf338aa4 Homeing after bed transform applied bug fixed in the duet branch. The master branch will be updated after some further testing. The problem was the X endstop. If X is homed, that stop is triggered. Homeing Y then only moves Y, and so only the Y endstop is tested. But when the transform is applied X moves slightly when Y is homed (as it should) and the X endstop stoped the movement prematurely. You will need to update the files on the SD card as well as the firmware to activate the fix. 2013-12-21 16:46:42 +00:00
Adrian Bowyer
4ed66b8b01 Experimental macro/canned-cycle on the SD implemented. 2013-12-19 23:30:23 +00:00
Adrian Bowyer
4feab9afce Homing modified to correspond with Ian's documentation... 2013-12-19 18:53:17 +00:00
Adrian Bowyer
e9539d97f0 Added M27 response. 2013-12-18 16:51:57 +00:00
Adrian Bowyer
e2a2ccc64b Bug whereby heaters would not restart after an M0 is received fixed. 2013-12-17 23:28:57 +00:00
Adrian Bowyer
26f26affc2 Build volume made less conservative (now 220x200x200). 2013-12-14 11:51:10 +00:00
Adrian Bowyer
386e3e03cd Default steps/mm set for new pulleys. 2013-12-13 15:00:44 +00:00
Adrian Bowyer
6f275e0df1 Bug where by selecting an already selected extruder did not reply (eg "ok" to Pronterface) fixed. 2013-12-13 14:49:05 +00:00