Commit graph

142 commits

Author SHA1 Message Date
Adrian Bowyer
708822a54e A couple of tidyings and additions:
1. Z home now moves home, rather than just setting the coordinate.
2. Wait for temps implemented.

Also the JSON requests for the g code filelist has been temporarily commented
out in reprap.htm.  It was causing the firmware to hang sometimes.  To be investigated.

Machine now prints nicely...
2013-10-22 18:27:12 +01:00
Adrian Bowyer
3c901fb194 Further work on Z probing. One problem was working with a white-painted bed. Replacing that with ordinary Kapton-covered glass seems to work better. And that has allowed the debugging of the code. But the probe still does not always see the bed. 2013-10-21 23:09:21 +01:00
Adrian Bowyer
79c008d469 G31 modified to allow reporting of probe values, and setting of a Z value and threshold. (See http://reprap.org/wiki/G-code#G29-G32:_Bed_probing) 2013-10-20 22:48:26 +01:00
Adrian Bowyer
eadac593cc Z probing now works using Jean-Marc's idea. Much better. 2013-10-19 17:38:31 +01:00
Adrian Bowyer
de96171b5d Z probe code improved, but still not there. It now uses hysteresis to
track up the low-precision slope of the IR probe before measuring down
the high-precision slope near 0 mm.  But this means that the probe has to
be set only a fraction of a mm higher than the nozzle itself.  Also (at
the moment for safety) the code thinks Z = 0 occurs when it is actually
0.2mm.  This is easy to fix when the rest is reliable.
2013-10-17 23:18:57 +01:00
Adrian Bowyer
565117cba3 Move and ancilliary classes changed to store coordinates in machine units not mm internally to avoid cumulative errors. 2013-10-17 16:30:24 +01:00
Adrian Bowyer
7966335a28 Small knockout bug in reprap.htm fixed - loading the file list didn't work
properly.  Now seems OK.
2013-10-14 18:29:47 +01:00
Jean-Marc Giacalone
c108131a14 Disable probing in Z axis endstop check. 2013-10-09 11:47:34 +01:00
Jean-Marc Giacalone
eaeaf9855d Fixed path to Arduino 1.5.4 2013-10-08 20:49:31 +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
6617b7f3a7 Diagnostic writes commented out. 2013-10-07 17:33:32 +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
c15eb1ec43 Improvements..., but not there yet. 2013-10-02 14:32: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
49e9bc29c3 G92 Implemented. Tested interactively, but not from a G Code file. Should work though. 2013-09-27 18:15:49 +01:00
Adrian Bowyer
4e6f8a1b75 Interception of http GET working. 2013-09-27 17:21:51 +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
emaker-11z
60c71e3a07 Configured to use standard separate library. 2013-09-23 16:23:38 +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
Jean-Marc Giacalone
972441f424 ignore Release folder 2013-09-17 14:00:58 +01:00
Jean-Marc Giacalone
4f5ae1419b Merge branch 'duet' of https://github.com/reprappro/RepRapFirmware into duet 2013-09-17 13:54:26 +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
1d0968c615 Z probing now fully implemented, except for the physical probe itself. (I.e. it's all working, but is still on the microswitch.) 2013-09-14 15:39:17 +01:00
Adrian Bowyer
bb89947e12 Z probing movements all implemented, but Z values not yet recorded. 2013-09-14 00:14:37 +01:00
Adrian Bowyer
d525597ebb Z probing being implemented under G32. Not finished yet, so don't call G32... 2013-09-13 22:33:14 +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
Jean-Marc Giacalone
17fccfa001 ignore Release folder. 2013-09-12 13:19:50 +01:00
Jean-Marc Giacalone
06581b7105 Merge branch 'duet' of https://github.com/reprappro/RepRapFirmware into duet 2013-09-10 22:52:19 +01:00
Adrian Bowyer
953828081e Duet fully (I think) working. :-) 2013-09-10 22:42:43 +01:00
Jean-Marc Giacalone
6b5c21af23 Merge branch 'duet' of https://github.com/reprappro/RepRapFirmware into duet 2013-09-09 22:26:05 +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
e3fd24ca95 Configuration file (in sys/config.g) implemented. 2013-09-05 16:10:44 +01:00
Jean-Marc Giacalone
6012383b80 Merge branch 'duet' of https://github.com/reprappro/RepRapFirmware into duet 2013-09-02 23:46:48 +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
7ebe8bd772 Merge branch 'duet' of https://github.com/reprappro/RepRapFirmware into duet 2013-08-27 22:29:34 +01:00
Jean-Marc Giacalone
4df778b72a dev 2013-08-27 22:28:19 +01:00
Adrian Bowyer
45fe2d33b8 AB's working version of the Duet compile... 2013-08-08 15:30:34 +01:00
Jean-Marc Giacalone
5aba3f3649 turned on diagnostics. 2013-08-07 16:49:48 +01:00
Jean-Marc Giacalone
b0a0dab82e SerialUSB comms work, albeit with call to ClientMonitor() disabled. 2013-08-06 22:32:52 +01:00
Jean-Marc Giacalone
cd91a7338a dev 2013-08-06 21:58:57 +01:00