Commit graph

223 commits

Author SHA1 Message Date
Jean-Marc Giacalone
c108131a14 Disable probing in Z axis endstop check. 2013-10-09 11:47:34 +01:00
Jean-Marc Giacalone
8d92b70d0f File list implemented. Also M201 to set axis accelerations via USB. 2013-10-08 16:33:10 +01:00
Adrian Bowyer
a3925b2574 Removed pause at start waiting for an input byte on the USB. NB this version
has IR Z probe code.  Need to make the ordinary microswitch act as a hard stop
on Z when that is enabled, so it's failsafe.
2013-10-07 18:55:15 +01:00
Adrian Bowyer
368523e3e9 Web interface works! Horray! Key was to prevent lwip requesting pages when
RepRap was still serving the one before.
2013-10-07 17:16:21 +01:00
Adrian Bowyer
0bd51c6582 Still not working. But not working differently... 2013-10-06 22:33:32 +01:00
Adrian Bowyer
d0e2a35e4d Web still not reliable. (A) Trouble is the dynamic allocation of http_state structs. This needs to be tracked through the RepRap network firmware. More tomorrow... 2013-10-04 23:33:54 +01:00
Adrian Bowyer
6686e23f4d Webserver coming along. Some tidying. For some reason there is a
big delay on closing the connection when there is a second partly-full
buffer of data sent to the browser after a completely full one.
2013-10-02 12:31:38 +01:00
Adrian Bowyer
7d3016a7f3 Some webserver progreass. Can get http requests, and can serve a simple page, both from within the RepRap Firmware Webserver class. Bugs remain... 2013-10-01 23:03:07 +01:00
Adrian Bowyer
2609f66c86 Webserver not yet working. Rest should be OK though. 2013-09-29 23:15:00 +01:00
Adrian Bowyer
aaf75220de Working on the http code... 2013-09-24 10:40:21 +01:00
Adrian Bowyer
ce76147fc3 Ethernet semi-integrated, but running its own webserver. Need to intercept
sends and recieves and direct them at the Webserver class.
2013-09-23 23:34:55 +01:00
Jean-Marc Giacalone
43c208ef5b Libraries moved to own repo. Web interface toggled by #define ETHERNET. 2013-09-21 09:56:03 +01:00
Adrian Bowyer
f3e81cbe4c Z probing now working. The probe signal connects to AD7 which (confusingly)
is A0 on the Arduino.  The signal seems quite noisy.  I have put a 10uF
capacitor across its supply.  Maybe add an 0.1uF across its signal?
Two values need to be set in Platform.h:

If v is the value from the A->D on A0, then:

z = v*Z_PROBE_GRADIENT + Z_PROBE_CONSTANT (mm)

Z_PROBE_GRADIENT is dependent on the IR proximity device (though they may
be consistent enough all to have the same value) and Z_PROBE_CONSTANT depends
on how high it is mounted relative to the nozzle.

To generate these values, uncomment the bits of code in and around Platform::Spin()
zero the Z axis by eye, run the program, and raise Z by 0.1mm increments.  Put
the raw A->D values in the spreadsheet in the Data directory, and it will
give you the values of Z_PROBE_GRADIENT and Z_PROBE_CONSTANT.
2013-09-15 18:10:33 +01:00
Adrian Bowyer
027ddf3b8e Code added to add a bed plane z = aX.x + aY.y + aC to all movements.
Note that this means that X/Y minimum speeds and accelerations now take
precedence over Z, unless there is only Z movement.
2013-09-13 13:05:25 +01:00
Adrian Bowyer
953828081e Duet fully (I think) working. :-) 2013-09-10 22:42:43 +01:00
Adrian Bowyer
1dc821cbff Duet all working except for the bed heater. Investigations continue... 2013-09-09 21:25:38 +01:00
Adrian Bowyer
c4017b1019 M906 (set motor current) support added. 2013-09-02 22:56:26 +01:00
Adrian Bowyer
c25816668b First working Duet version with SD card file reading for G Codes. 2013-09-01 22:45:32 +01:00
Adrian Bowyer
0d0672e49b "Hollowed out" version with no Ether and no SD, ready for Duet versions of those.
USB works, and firmware communicates over that.
2013-08-28 17:32:16 +01:00
Adrian Bowyer
4a335a6e86 Working on the Duet version... 2013-08-28 16:51:18 +01:00
Adrian Bowyer
07d323a41d Setting up latest Due code to work on the Duet. 2013-08-28 16:36:38 +01:00
Jean-Marc Giacalone
cd91a7338a dev 2013-08-06 21:58:57 +01:00
Jean-Marc Giacalone
e180f84007 housekeeping. 2013-08-06 10:59:36 +01:00
Adrian Bowyer
7e282c96ea Added serial transmission of GCodes via USB. 2013-08-05 23:45:31 +01:00
Adrian Bowyer
323daf4c16 Tidying... 2013-08-05 23:18:46 +01:00
Jean-Marc Giacalone
680be20f41 Libraries added to project folder. 2013-08-05 12:44:49 +01:00
Jean-Marc Giacalone
982846e7e0 project into Eclipse. 2013-08-05 12:19:54 +01:00
Jean-Marc Giacalone
4bd3e98b13 merged due branch. working in Eclipse 2013-07-23 21:24:55 +01:00
Adrian Bowyer
f23b286f1d Fix added for feedrate "bug" in Slic3r. 2013-07-18 20:14:43 +01:00
Adrian Bowyer
874e6e0baf First working version. Horay! 2013-07-18 12:15:05 +01:00
Adrian Bowyer
b94bff107c Temperature code now working. PID may need a little tweaking. 2013-07-11 20:22:21 +01:00
Adrian Bowyer
ce7522f682 Temperature code all working with simple bang-bang control. PID next... 2013-06-18 22:24:07 +01:00
Adrian Bowyer
a76185cdea Stack (M120 & M121) implemented to save and restore state. 2013-06-14 19:12:44 +01:00
Adrian Bowyer
7b5d4ceaf1 Time outside Platform class changed to work entirely in seconds. 2013-06-14 15:23:42 +01:00
Adrian Bowyer
db890d6157 Current position array removed - now all handled by the look ahead ring. 2013-06-12 22:37:33 +01:00
Adrian Bowyer
ecf735f32e Axis homeing partly implemented. All chars that are byte ints changed to int8_t. 2013-06-06 22:08:14 +01:00
Adrian Bowyer
1e35269a06 This version is broken. But it is better! Major rewrite of the Move class. Now to debug it... 2013-06-04 15:25:28 +01:00
Adrian Bowyer
9b0d714a3a Printing G Code files implemented. 2013-05-27 20:51:32 +01:00
Adrian Bowyer
557ea85073 Move ring buffer implemented and (preliminarily) tested. Look ahead not yet done. 2013-05-24 22:03:48 +01:00
Adrian Bowyer
b0ae371ec8 Small bug in relative extrude feeds fixed. 2013-05-23 12:27:05 +01:00
Adrian Bowyer
069c1de66c Proper acceleration code added, and data needed for GCode look-ahead.
Z moves have been deliberately broken.  This will be fixed in the next
checkin.
2013-05-22 17:21:34 +01:00
Adrian Bowyer
82efa28c81 First crude hack at acceleration code. Timer claims that the interrupt
routine executes in 6.5 microseconds, so we shouldn't have any trouble
driving the steppers fast...
2013-05-21 21:22:12 +01:00
Adrian Bowyer
fb2bbc0504 Code tidying. 2013-05-21 11:30:25 +01:00
Adrian Bowyer
9ec28592e5 Simple DDA now working. All axes move as expected. 2013-05-20 19:12:00 +01:00
Adrian Bowyer
4b0e9e61bf Crude movement with simple DDA implemented. 2013-05-20 15:53:21 +01:00
Adrian Bowyer
731af3a04d More messing about with KO. JSON still not working. Also added sending javascript compressed. Also not working. Yet. 2013-05-01 22:35:22 +01:00
reprappro
b23e6943a8 Skeleton of the GCode interpreter written. 2013-04-16 23:49:15 +01:00
reprappro
00ca902341 Making a start on the movement code. 2013-04-15 21:41:07 +01:00
reprappro
66ed3e2f3e Pin numbers corrected according to Tony's pinout spreadsheet. 2013-04-11 16:58:21 +01:00
reprappro
cb37bc1954 First hack at Duet pin numbers. 2013-04-11 00:06:47 +01:00