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
 // 3  = MEGA/RAMPS up to 1.2 = 3
28
 // 3  = MEGA/RAMPS up to 1.2 = 3
29
 // 33 = RAMPS 1.3 (Power outputs: Extruder, Bed, Fan)
29
 // 33 = RAMPS 1.3 (Power outputs: Extruder, Bed, Fan)
30
 // 34 = RAMPS 1.3 (Power outputs: Extruder0, Extruder1, Bed)
30
 // 34 = RAMPS 1.3 (Power outputs: Extruder0, Extruder1, Bed)
31
+// 35 = RAMPS 1.3 (Power outputs: Extruder, Fan, Fan)
31
 // 4  = Duemilanove w/ ATMega328P pin assignment
32
 // 4  = Duemilanove w/ ATMega328P pin assignment
32
 // 5  = Gen6
33
 // 5  = Gen6
33
 // 51 = Gen6 deluxe
34
 // 51 = Gen6 deluxe
316
 // The RepRapDiscount Smart Controller (white PCB)
317
 // The RepRapDiscount Smart Controller (white PCB)
317
 // http://reprap.org/wiki/RepRapDiscount_Smart_Controller
318
 // http://reprap.org/wiki/RepRapDiscount_Smart_Controller
318
 //#define REPRAP_DISCOUNT_SMART_CONTROLLER
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
 //#define G3D_PANEL
323
 //#define G3D_PANEL
323
 
324
 
324
 //automatic expansion
325
 //automatic expansion

+ 16
- 5
Marlin/pins.h View File

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

Loading…
Cancel
Save