Browse Source

No bed config for RAMPS

The motherboard 35 is a config without bed with this pins setting :
D8 Extruder
D9 Fan
D10 Controller Fan
Nicolas Rossi 12 years ago
parent
commit
aba67e2449
2 changed files with 20 additions and 8 deletions
  1. 4
    3
      Marlin/Configuration.h
  2. 16
    5
      Marlin/pins.h

+ 4
- 3
Marlin/Configuration.h View File

@@ -28,6 +28,7 @@
28 28
 // 3  = MEGA/RAMPS up to 1.2 = 3
29 29
 // 33 = RAMPS 1.3 (Power outputs: Extruder, Bed, Fan)
30 30
 // 34 = RAMPS 1.3 (Power outputs: Extruder0, Extruder1, Bed)
31
+// 35 = RAMPS 1.3 (Power outputs: Extruder, Fan, Fan)
31 32
 // 4  = Duemilanove w/ ATMega328P pin assignment
32 33
 // 5  = Gen6
33 34
 // 51 = Gen6 deluxe
@@ -316,9 +317,9 @@ const bool Z_ENDSTOPS_INVERTING = true; // set to true to invert the logic of th
316 317
 // The RepRapDiscount Smart Controller (white PCB)
317 318
 // http://reprap.org/wiki/RepRapDiscount_Smart_Controller
318 319
 //#define REPRAP_DISCOUNT_SMART_CONTROLLER
319
-
320
-// The GADGETS3D G3D LCD/SD Controller (blue PCB)
321
-// http://reprap.org/wiki/RAMPS_1.3/1.4_GADGETS3D_Shield_with_Panel
320
+
321
+// The GADGETS3D G3D LCD/SD Controller (blue PCB)
322
+// http://reprap.org/wiki/RAMPS_1.3/1.4_GADGETS3D_Shield_with_Panel
322 323
 //#define G3D_PANEL
323 324
 
324 325
 //automatic expansion

+ 16
- 5
Marlin/pins.h View File

@@ -305,7 +305,7 @@
305 305
 * Arduino Mega pin assignment
306 306
 *
307 307
 ****************************************************************************************/
308
-#if MOTHERBOARD == 3 || MOTHERBOARD == 33 || MOTHERBOARD == 34
308
+#if MOTHERBOARD == 3 || MOTHERBOARD == 33 || MOTHERBOARD == 34 || MOTHERBOARD == 35
309 309
 #define KNOWN_BOARD 1
310 310
 
311 311
 //////////////////FIX THIS//////////////
@@ -319,7 +319,7 @@
319 319
 // #define RAMPS_V_1_3
320 320
 // #define RAMPS_V_1_0
321 321
 
322
-#if MOTHERBOARD == 33 || MOTHERBOARD == 34
322
+#if MOTHERBOARD == 33 || MOTHERBOARD == 34 || MOTHERBOARD == 35
323 323
 
324 324
 #define X_STEP_PIN         54
325 325
 #define X_DIR_PIN          55
@@ -355,11 +355,14 @@
355 355
 #define SDSS               53
356 356
 #define LED_PIN            13
357 357
 
358
-#if MOTHERBOARD == 33
358
+#if MOTHERBOARD == 33 || MOTHERBOARD == 35
359 359
 #define FAN_PIN            9 // (Sprinter config)
360 360
 #else
361 361
 #define FAN_PIN            4 // IO pin. Buffer needed
362 362
 #endif
363
+#if MOTHERBOARD == 35
364
+#define CONTROLLERFAN_PIN  10 //Pin used for the fan to cool controller
365
+#endif
363 366
 #define PS_ON_PIN          12
364 367
 
365 368
 #if defined(REPRAP_DISCOUNT_SMART_CONTROLLER) || defined(G3D_PANEL)
@@ -368,7 +371,11 @@
368 371
 #define KILL_PIN           -1
369 372
 #endif
370 373
 
374
+#if MOTHERBOARD == 35
375
+#define HEATER_0_PIN       8
376
+#else
371 377
 #define HEATER_0_PIN       10   // EXTRUDER 1
378
+#endif
372 379
 #if MOTHERBOARD == 33
373 380
 #define HEATER_1_PIN       -1
374 381
 #else
@@ -378,7 +385,11 @@
378 385
 #define TEMP_0_PIN         13   // ANALOG NUMBERING
379 386
 #define TEMP_1_PIN         15   // ANALOG NUMBERING
380 387
 #define TEMP_2_PIN         -1   // ANALOG NUMBERING
388
+#if MOTHERBOARD == 35
389
+#define HEATER_BED_PIN     -1
390
+#else
381 391
 #define HEATER_BED_PIN     8    // BED
392
+#endif
382 393
 #define TEMP_BED_PIN       14   // ANALOG NUMBERING
383 394
 
384 395
 #ifdef ULTRA_LCD
@@ -509,7 +520,7 @@
509 520
 #define TEMP_1_PIN          -1   
510 521
 #define TEMP_2_PIN          -1   
511 522
 #define TEMP_BED_PIN        1    // MUST USE ANALOG INPUT NUMBERING NOT DIGITAL OUTPUT NUMBERING!!!!!!!!!
512
-#endif// MOTHERBOARD == 33 || MOTHERBOARD == 34
523
+#endif// MOTHERBOARD == 33 || MOTHERBOARD == 34 || MOTHERBOARD == 35
513 524
 
514 525
 // SPI for Max6675 Thermocouple 
515 526
 
@@ -523,7 +534,7 @@
523 534
   #define MAX6675_SS       49
524 535
 #endif
525 536
 
526
-#endif//MOTHERBOARD == 3 || MOTHERBOARD == 33 || MOTHERBOARD == 34
537
+#endif//MOTHERBOARD == 3 || MOTHERBOARD == 33 || MOTHERBOARD == 34 || MOTHERBOARD == 35
527 538
 
528 539
 /****************************************************************************************
529 540
 * Duemilanove w/ ATMega328P pin assignment

Loading…
Cancel
Save