Markus Hitter
7c3920a552
Distribute on/off on PWM pins to all config templates.
2012-11-08 16:37:31 +01:00
Markus Hitter
8e27595a5f
temp.c: allow smoothing temperature readings.
...
This is done by an Exponentially Weighted Moving Average (EWMA)
formula. Contribution by DaveX, see
http://forums.reprap.org/read.php?147,33082,157978#msg-157978
Thanks a lot, Dave.
2012-11-08 16:22:31 +01:00
Markus Hitter
a054d4c6cd
Remove all remaining evidence of M109.
...
M109 went away a few commits ago in favour of only M116.
2012-10-14 22:57:22 +02:00
Markus Hitter
fd9985ac49
config templates: fix directly numbered/unused pins.
2012-09-29 22:59:22 +02:00
Mikko Sivulainen
bfe5e6f2fc
Fixed ADC channel handling.
...
ADC pin is not the same as ADC channel in atmega1280/2560.
2012-09-29 22:57:55 +02:00
Markus Hitter
5811b49b02
Config templates: comment out FAST_PWM by default.
...
Also, start to limit comments in the config templates to 80 chars,
to ease reading them in the Arduino IDE.
2012-08-17 16:02:02 +02:00
Markus Hitter
0ba62800eb
config template: adjust the comments for the heaters.
...
For example, heaters currently don't work on non-PWM pins. Also,
mention special names.
2012-08-04 22:08:43 +02:00
Markus Hitter
8c6e6a1027
Fix comment on STEPS_PER_M_x in config.h templates.
2012-08-04 22:08:35 +02:00
Markus Hitter
9359350fcc
config.h templates: Sanguinololu 1.2 requires inverted enable pins.
...
Found by nickoe on IRC, thanks.
2012-07-17 16:04:27 +02:00
Markus Hitter
1657fb2731
Align heater definitions in config.h templates.
...
Purely cosmetical, no functional change.
2012-05-13 20:44:09 +02:00
Markus Hitter
eaf6c453be
Introduce gcode_init() and honor E_ABSOLUTE as the default.
2012-05-11 13:50:51 +02:00
Markus Hitter
7b909fcf82
Fix thermistor tables, which also fixes a build failure.
...
Now we don't have tables for default or gen7 electronics, but
two default tables for a single vs. two different thermistors.
This seems to be more logical.
2012-03-25 16:16:48 +02:00
Markus Hitter
86e20580f8
Make fast PWM optional.
...
In some cases the heater switching MOSFETs overheat and using a lower
PWM frequency is advised. See also:
http://reprap.org/wiki/Gen7_Research#Heat_vs._PWM_Frequency
2012-03-03 16:56:36 +01:00
Markus Hitter
56258a3908
Configuration samples: don't use preprocessor math for STEPS_PER_M.
...
Since the introduction of STEPS_PER_M instead of STEPS_PER_MM
it's no longer allowed. Unfortunately.
2011-12-13 03:30:03 +01:00
Markus Hitter
71fb5d6f47
configs: make F_CPU UL instead of L.
2011-12-04 18:36:15 +01:00
Markus Hitter
4e5f51f01e
Store distances in the TARGET strucure in micrometers for all axes.
...
This extends the previous commit from X to Y, Z and E.
2011-11-17 13:48:36 +01:00
Markus Hitter
c96ea0c773
Store distances in the TARGET structure always in micrometers.
...
This is a intrusive patch and for now, it's done for the X axis only.
To make comparison with the former approach easier ...
The advantages of this change:
- Converting from mm to steps in gcode_parse.c and back in dda.c
wastes cycles and accuracy.
- In dda.c, UM_PER_STEP simply goes away, so distance calculations
work now with STEPS_PER_MM > 500 just fine. 1/16 microstepping
on threaded rods (Z axis) becomes possible.
- Distance calculations (feedrate, acceleration, ...) become much
simpler.
- A wide range of STEPS_PER_M can now be handled at reasonable
(4 decimal digit) accuracy with a simple macro. Formerly,
we were limited to 500 steps/mm, now we can do 4'096 steps/mm
and could easily raise this another digit.
Disadvantages:
- STEPS_PER_MM is gone in config.h, using STEPS_PER_M is required,
because the preprocessor refuses to compare numbers with decimal
points in them.
- The DDA has to store the position in steps anyways to avoid
rounding errors.
2011-11-17 13:48:26 +01:00
Markus Hitter
b80c736004
Add the missing E_INVERT_ENABLE to the config templates.
...
Catch by brnrd, thanks.
2011-10-28 13:22:15 +02:00
Markus Hitter
129bdc64bc
home.c: introduce SLOW_HOMING
2011-10-23 19:51:48 +02:00
Markus Hitter
df693c0113
config.h/dda.c: make endstop debouncing steps configurable.
2011-10-23 19:51:46 +02:00
Markus Hitter
448df5d1c3
config.*.h: raise default acceleration values.
...
Recommendation by Sublime, see
http://forums.reprap.org/read.php?147,99780,99912#msg-99912
2011-10-05 14:13:44 +02:00
Markus Hitter
510a68f864
Contribution by Pointedstick: Sanguinololus Y_MIN_PIN is DIO19, not DIO16.
2011-10-05 14:13:42 +02:00
Markus Hitter
4d465b3e25
Picked up Sanguinololu config files from the RepRap forum.
...
Contribution by Sublime, many thanks.
2011-10-05 14:13:33 +02:00