Browse Source

Adding servo documentation

Gord Christmas 12 years ago
parent
commit
28ada096e2
2 changed files with 16 additions and 24 deletions
  1. 3
    13
      Marlin/Configuration.h
  2. 13
    11
      README.md

+ 3
- 13
Marlin/Configuration.h View File

@@ -168,7 +168,7 @@
168 168
 
169 169
 #ifdef PIDTEMPBED
170 170
 //120v 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
171
-//from FOPDT model - kp=.39 Tp=405 Tdead=66, Tc set to 79.2, argressive factor of .15 (vs .1, 1, 10)
171
+//from FOPDT model - kp=.39 Tp=405 Tdead=66, Tc set to 79.2, aggresive factor of .15 (vs .1, 1, 10)
172 172
     #define  DEFAULT_bedKp 10.00
173 173
     #define  DEFAULT_bedKi .023
174 174
     #define  DEFAULT_bedKd 305.4
@@ -407,21 +407,11 @@ const bool Z_ENDSTOPS_INVERTING = true; // set to true to invert the logic of th
407 407
 //#define BARICUDA
408 408
 
409 409
 /*********************************************************************\
410
-*
411 410
 * R/C SERVO support
412
-*
413 411
 * Sponsored by TrinityLabs, Reworked by codexmas
414
-*
415 412
 **********************************************************************/
416
-
417
-// Number of servos
418
-//
419
-// If you select a configuration below, this will receive a default value and does not need to be set manually
420
-// set it manually if you have more servos than extruders and wish to manually control some
421
-// leaving it undefined or defining as 0 will disable the servo subsystem
422
-// If unsure, leave commented / disabled
423
-//
424
-// #define NUM_SERVOS 3
413
+// Number of servos, on RAMPS power to servo pins needs vcc pin jumpered to 5v pin or external supply.
414
+//#define NUM_SERVOS 3 // Indexing starts at 0 for M280 command
425 415
 
426 416
 #include "Configuration_adv.h"
427 417
 #include "thermistortables.h"

+ 13
- 11
README.md View File

@@ -1,4 +1,4 @@
1
-WARNING: 
1
+WARNING:
2 2
 --------
3 3
 THIS IS RELEASE CANDIDATE 2 FOR MARLIN 1.0.0
4 4
 
@@ -26,14 +26,14 @@ Features:
26 26
 *   High steprate
27 27
 *   Look ahead (Keep the speed high when possible. High cornering speed)
28 28
 *   Interrupt based temperature protection
29
-*   preliminary support for Matthew Roberts advance algorithm 
29
+*   preliminary support for Matthew Roberts advance algorithm
30 30
     For more info see: http://reprap.org/pipermail/reprap-dev/2011-May/003323.html
31 31
 *   Full endstop support
32 32
 *   SD Card support
33 33
 *   SD Card folders (works in pronterface)
34 34
 *   SD Card autostart support
35
-*   LCD support (ideally 20x4) 
36
-*   LCD menu system for autonomous SD card printing, controlled by an click-encoder. 
35
+*   LCD support (ideally 20x4)
36
+*   LCD menu system for autonomous SD card printing, controlled by an click-encoder.
37 37
 *   EEPROM storage of e.g. max-velocity, max-acceleration, and similar variables
38 38
 *   many small but handy things originating from bkubicek's fork.
39 39
 *   Arc support
@@ -46,6 +46,7 @@ Features:
46 46
 *   PID tuning
47 47
 *   CoreXY kinematics (www.corexy.com/theory.html)
48 48
 *   Configurable serial port to support connection of wireless adaptors.
49
+*   RC Servo Support, specify angle or duration for continuous rotation servos.
49 50
 
50 51
 The default baudrate is 250000. This baudrate has less jitter and hence errors than the usual 115200 baud, but is less supported by drivers and host-environments.
51 52
 
@@ -55,17 +56,17 @@ Differences and additions to the already good Sprinter firmware:
55 56
 
56 57
 *Look-ahead:*
57 58
 
58
-Marlin has look-ahead. While sprinter has to break and re-accelerate at each corner, 
59
-lookahead will only decelerate and accelerate to a velocity, 
59
+Marlin has look-ahead. While sprinter has to break and re-accelerate at each corner,
60
+lookahead will only decelerate and accelerate to a velocity,
60 61
 so that the change in vectorial velocity magnitude is less than the xy_jerk_velocity.
61
-This is only possible, if some future moves are already processed, hence the name. 
62
+This is only possible, if some future moves are already processed, hence the name.
62 63
 It leads to less over-deposition at corners, especially at flat angles.
63 64
 
64 65
 *Arc support:*
65 66
 
66 67
 Slic3r can find curves that, although broken into segments, were ment to describe an arc.
67 68
 Marlin is able to print those arcs. The advantage is the firmware can choose the resolution,
68
-and can perform the arc with nearly constant velocity, resulting in a nice finish. 
69
+and can perform the arc with nearly constant velocity, resulting in a nice finish.
69 70
 Also, less serial communication is needed.
70 71
 
71 72
 *Temperature Oversampling:*
@@ -94,7 +95,7 @@ After each reboot, it will magically load them from EEPROM, independent what you
94 95
 
95 96
 If your hardware supports it, you can build yourself a LCD-CardReader+Click+encoder combination. It will enable you to realtime tune temperatures,
96 97
 accelerations, velocities, flow rates, select and print files from the SD card, preheat, disable the steppers, and do other fancy stuff.
97
-One working hardware is documented here: http://www.thingiverse.com/thing:12663 
98
+One working hardware is documented here: http://www.thingiverse.com/thing:12663
98 99
 Also, with just a 20x4 or 16x2 display, useful data is shown.
99 100
 
100 101
 *SD card folders:*
@@ -145,7 +146,7 @@ General:
145 146
 *   M42  - Change pin status via gcode
146 147
 *   M80  - Turn on Power Supply
147 148
 *   M81  - Turn off Power Supply
148
-*   M114 - Output current position to serial port 
149
+*   M114 - Output current position to serial port
149 150
 *   M119 - Output Endstop status to serial port
150 151
 
151 152
 Movement variables:
@@ -172,13 +173,14 @@ EEPROM:
172 173
 
173 174
 *   M500 - stores paramters in EEPROM. This parameters are stored:  axis_steps_per_unit,  max_feedrate, max_acceleration  ,acceleration,retract_acceleration,
174 175
   minimumfeedrate,mintravelfeedrate,minsegmenttime,  jerk velocities, PID
175
-*   M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).  
176
+*   M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
176 177
 *   M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
177 178
 *   M503 - print the current settings (from memory not from eeprom)
178 179
 
179 180
 MISC:
180 181
 
181 182
 *   M240 - Trigger a camera to take a photograph
183
+*   M280 - Position an RC Servo P<index> S<angle/microseconds>, ommit S to report back current angle
182 184
 *   M999 - Restart after being stopped by error
183 185
 
184 186
 Configuring and compilation:

Loading…
Cancel
Save