Markus Hitter
2c53dbe2a8
gcode_parse: limit decimal ranges by decfloat_to_int()'s demands.
...
Formerly, it was limited by variable bit ranges, which allowed
more than decfloat_to_int() can swallow.
2011-02-23 02:52:51 +01:00
Markus Hitter
0dc623d4eb
gcode_parse.c: added comments, which show possible variable overflows.
...
Stay tuned, the fix is just around the corner.
2011-02-23 02:52:27 +01:00
Markus Hitter
dfc4674012
dda.h: re-add a check against multiple acceleration types.
...
This was previously in config.h(.dist), but better belongs
to dda.h.
2011-02-23 02:51:43 +01:00
Michael Moon
780dea1186
avr-libc's math is smaller than gcc's, use it
2011-02-21 19:09:08 +11:00
Michael Moon
b8e6400a2d
more README updates
2011-02-21 16:47:00 +11:00
Michael Moon
af36737e3b
update README
2011-02-21 16:24:21 +11:00
Michael Moon
8188ff3593
merge intercom-protocol into master
2011-02-21 16:01:27 +11:00
Markus Amsler
bfae6ff97f
intercom: Reduce sections with disabled interrupts.
2011-02-21 15:52:17 +11:00
Markus Amsler
52c2788997
intercom: updating the extruder in 250ms intervals should be fast enough.
2011-02-21 15:52:17 +11:00
Markus Amsler
fa2a4389fc
intercom: Transmit/receive from/to temporary packets.
...
Fixes that the packet could be changed during transmit. And only values from packets with correct checksum are used.
2011-02-21 15:52:16 +11:00
Markus Amsler
5e56784ac1
extruder: Set/get bed temperature.
2011-02-21 15:52:16 +11:00
Markus Amsler
6d83bdb067
extruder: add fan definitions
2011-02-21 15:52:15 +11:00
Markus Amsler
e032cf5dab
extruder: Use pull up resistors for step/dir pin to avoid noise.
2011-02-21 15:52:15 +11:00
Markus Amsler
d0cbe86a2d
extruder: Half-step on every step signal.
...
No idea why only every 4th step signal would actually step, but this generates a lot of noise for nothing.
2011-02-21 15:52:15 +11:00
Markus Amsler
e3672da1cf
extruder: Check the step pin directly.
...
Flag could get out of sync, with undefined results.
2011-02-21 15:52:15 +11:00
Markus Amsler
5cf550733d
arduino_168: define AIO6/7
2011-02-21 15:52:14 +11:00
Markus Amsler
7aff5623ef
home: delay is in micro seconds
2011-02-21 15:52:14 +11:00
Stephan Walter
eecf3af9f1
analog mask calculated automagically
2011-02-21 13:57:51 +11:00
Michael Moon
31634c6a8f
Add M136 (DEBUG) to read back PID values, add heater_print function
2011-02-20 17:30:07 +11:00
Michael Moon
8540be950a
use CRC16 to verify heater PID settings in eeprom
2011-02-20 17:13:09 +11:00
Michael Moon
9dc4d54133
fix compile error around new homing logic
2011-02-20 16:35:22 +11:00
Michael Moon
c6122eda74
add G161/G162 commands, upgrade home.c to provide negative/positive homing calls for G161/G162
2011-02-20 14:10:53 +11:00
Michael Moon
4426c69274
individual functions to home each axis
2011-02-20 13:39:07 +11:00
Michael Moon
18d47056f5
print queue with every G command if debug is enabled
2011-02-20 11:37:13 +11:00
Michael Moon
da9bfc9f6f
print_queue no longer adds a newline
2011-02-20 11:37:12 +11:00
Architect
65a1846955
bang-bang heater toggle is wrong way around
...
Signed-off-by: Michael Moon <triffid.hunter@gmail.com>
2011-02-20 11:02:18 +11:00
Michael Moon
72adba5a58
apparently repg expects N preceding line numbers in resend requests
2011-02-19 13:09:21 +11:00
Michael Moon
83fa3f7d09
disable greycode by default in arduino IDE
2011-02-17 21:52:15 +11:00
Michael Moon
d06a365f54
G4 uses millisecond units now apparently, instead of seconds
2011-02-17 14:05:13 +11:00
Michael Moon
f78a0483d7
make URLs in README easier to find
2011-02-17 11:22:57 +11:00
Markus Amsler
afe58621a2
M140: S value is a temperature
2011-02-15 13:24:54 +11:00
Markus Amsler
b0d1ba0e60
Fix analog reading of channel 0 if another channel is active.
2011-02-15 13:24:53 +11:00
Markus Amsler
bcd47e90b0
Fix analog reading of channel 0 if another channel is active.
2011-02-15 13:21:45 +11:00
Markus Amsler
3aa7fc83e4
M140: S value is a temperature
2011-02-15 13:21:45 +11:00
Michael Moon
664337fa25
use proper feedrate for Y
2011-02-15 13:21:45 +11:00
Michael Moon
940d474c6c
home to max should now return to zero after homing
2011-02-15 10:10:29 +11:00
Stephan Walter
c810875755
Fix PWM timer and steps/mm for extruder
2011-02-15 10:03:12 +11:00
Stephan Walter
760487979c
Added sample configuration for GEN6 board
2011-02-15 10:03:12 +11:00
Markus Amsler
e41e659e66
intercom: Disable rx while doing tx. Avoids local RS485 half-duplex echo.
...
Signed-off-by: Michael Moon <triffid.hunter@gmail.com>
2011-02-14 11:31:45 +11:00
Markus Amsler
959bae2f4a
intercom: Add delay before slave replies. Without it the first byte gets lost.
2011-02-14 11:08:08 +11:00
Markus Amsler
a3b1529607
intercom: don't store start byte twice.
2011-02-14 11:08:08 +11:00
Markus Amsler
e6a137d5f1
intercom: Init start byte.
2011-02-14 11:08:08 +11:00
Markus Amsler
680b70ad0d
intercom: Send packet only once.
2011-02-14 11:05:53 +11:00
Markus Amsler
b7f84a1812
itercom: Enable the RS485 transceiver on the host.
2011-02-14 11:05:52 +11:00
Michael Moon
f80edeabb0
fix example heaters, add note to gen3 config clarifying that heaters connected to extruder go in extruder config
2011-02-14 10:58:00 +11:00
Michael Moon
b1a48994dd
preliminary untested implementation of Markus Amsler's new extruder comms protocol
2011-02-12 23:59:19 +11:00
Michael Moon
84457ccc4b
disable unused sersendf, enable %x in sersendf_P
2011-02-12 22:44:24 +11:00
Michael Moon
7eb6febf8e
serwrite_hex32 would only show 4 nibbles, fixed
2011-02-12 22:42:00 +11:00
John Gilmore (none)
686e417401
Revised thermistor code. Thermistor table now in 14.2 fixed point
...
Two thermistor tables included:
ThermistorTable.h.dist.old, which is the table we used to have, included so those already using it don't have to recalibrate.
ThermistorTable.h.dist, which was generated with 50 entries, and trimmed down in lower temperature ranges where we don't care as much about accuracy and there's less deviation from a straight line anyway.
Corrected default temp sensor entry in config.h.dist to thermistor instead of intercom. (Now matches earlier definitions which by default say we're using a thermistor)
Added noheater sensor example to config.h.dist
Copied CreateTemperatureLook.py from "official" firmware, and modified it for 14.2 fixed point, no negative temperatures (we're using uint16_t's), and PROGMEM.
Since I simply copied the example linear interpolation formula from wikipedia, I'm certian that it could be more efficient. The code that was there wouldn't work with 14.2 table values, and my understanding of it was too shallow to fix it. This works, and upgading the calculations to uint32_t actually takes less code space than leaving them at uint16_t. I assume it's calling a library routine that's already being linked in for the 32-bit math.
2011-02-12 22:22:10 +11:00
Michael Moon
6c1040c740
typo
2011-02-12 22:20:33 +11:00