Willkommen! Anmelden Ein neues Profil erzeugen

Erweiterte Suche

Marlin Menü auf dem LCD funktioniert nicht richtig

geschrieben von DFix1 
Marlin Menü auf dem LCD funktioniert nicht richtig
19. December 2014 14:24
Bei mir sollte das so funktionieren wie in diesem Video: [www.youtube.com]
Marlin 1.3 ist drauf geschoben. Dabei ist der RepRapDiscount Smart Controller

Das Menü ist zu sehen. Ich komme mit einem klick vom Infoscreen in das Menü mit "Print fom SD" und "Control" aber wenn ich den Knopf drehe passiert nichts!! Klicke ich noch mal, dann komme ich wieder zurück in den Infoscreen. Mehr geht nicht sad smiley

Muss USB und Netzteil angeschlossen sein? Gibt es eine Reihenfolge, erst usb dann Strom oder umgekehrt?
Hat jemand eine Idee was ich noch versuchen könnte?

3-mal bearbeitet. Zuletzt am 19.12.14 15:46.


.-=cU. Pascal=-.
────────────
Prusa i3 Hephestos + Simplify3d
BMG-Vollmetall-Extruder 1,75 mm/0,4 mm Düse
Ramps 1.4
Re: Marlin Menü auf dem LCD funktioniert nicht richtig
19. December 2014 15:04
Falsches LCD in Marlin eingestellt? Oder die Kabel/Stecker vom LCD nicht ordentlich verbunden?

Ciao, Udo
Re: Marlin Menü auf dem LCD funktioniert nicht richtig
19. December 2014 15:14
Wie kann man das LCD in Marlin einstellen? Laut Anleitung war davon nichts zu lesen das dies gemacht werden muss.


das steht in der .h datei:
//===========================================================================
//=============================Additional Features===========================
//===========================================================================

// EEPROM
// The microcontroller can store settings in the EEPROM, e.g. max velocity...
// M500 - stores parameters in EEPROM
// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
//define this to enable EEPROM support
//#define EEPROM_SETTINGS
//to disable EEPROM Serial responses and decrease program space by ~1700 byte: comment this out:
// please keep turned on if you can.
//#define EEPROM_CHITCHAT

// Preheat Constants
#define PLA_PREHEAT_HOTEND_TEMP 180
#define PLA_PREHEAT_HPB_TEMP 70
#define PLA_PREHEAT_FAN_SPEED 255   // Insert Value between 0 and 255

#define ABS_PREHEAT_HOTEND_TEMP 240
#define ABS_PREHEAT_HPB_TEMP 100
#define ABS_PREHEAT_FAN_SPEED 255   // Insert Value between 0 and 255

//LCD and SD support
//#define ULTRA_LCD  //general LCD support, also 16x2
//#define DOGLCD  // Support for SPI LCD 128x64 (Controller ST7565R graphic Display Family)
//#define SDSUPPORT // Enable SD Card Support in Hardware Console
//#define SDSLOW // Use slower SD transfer mode (not normally needed - uncomment if you're getting volume init error)
//#define ENCODER_PULSES_PER_STEP 1 // Increase if you have a high resolution encoder
//#define ENCODER_STEPS_PER_MENU_ITEM 5 // Set according to ENCODER_PULSES_PER_STEP or your liking
//#define ULTIMAKERCONTROLLER //as available from the Ultimaker online store.
#define ULTIPANEL  //the UltiPanel as on Thingiverse
//#define LCD_FEEDBACK_FREQUENCY_HZ 1000	// this is the tone frequency the buzzer plays when on UI feedback. ie Screen Click
//#define LCD_FEEDBACK_FREQUENCY_DURATION_MS 100 // the duration the buzzer plays the UI feedback sound. ie Screen Click

// The MaKr3d Makr-Panel with graphic controller and SD support
// [reprap.org]
//#define MAKRPANEL

// The RepRapDiscount Smart Controller (white PCcool smiley
// [reprap.org]
#define REPRAP_DISCOUNT_SMART_CONTROLLER

// The GADGETS3D G3D LCD/SD Controller (blue PCcool smiley
// [reprap.org]
//#define G3D_PANEL

// The RepRapDiscount FULL GRAPHIC Smart Controller (quadratic white PCcool smiley
// [reprap.org]
//
// ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: [code.google.com]
//#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER

// The RepRapWorld REPRAPWORLD_KEYPAD v1.1
// [reprapworld.com]
//#define REPRAPWORLD_KEYPAD
//#define REPRAPWORLD_KEYPAD_MOVE_STEP 10.0 // how much should be moved when a key is pressed, eg 10.0 means 10mm per click

// The Elefu RA Board Control Panel
// [www.elefu.com]
// REMEMBER TO INSTALL LiquidCrystal_I2C.h in your ARUDINO library folder: [github.com]
//#define RA_CONTROL_PANEL

//automatic expansion
#if defined (MAKRPANEL)
 #define DOGLCD
 #define SDSUPPORT
 #define ULTIPANEL
 #define NEWPANEL
 #define DEFAULT_LCD_CONTRAST 17
#endif

#if defined (REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
 #define DOGLCD
 #define U8GLIB_ST7920
 #define REPRAP_DISCOUNT_SMART_CONTROLLER
#endif

#if defined(ULTIMAKERCONTROLLER) || defined(REPRAP_DISCOUNT_SMART_CONTROLLER) || defined(G3D_PANEL)
 #define ULTIPANEL
 #define NEWPANEL
#endif

#if defined(REPRAPWORLD_KEYPAD)
  #define NEWPANEL
  #define ULTIPANEL
#endif
#if defined(RA_CONTROL_PANEL)
 #define ULTIPANEL
 #define NEWPANEL
 #define LCD_I2C_TYPE_PCA8574
 #define LCD_I2C_ADDRESS 0x27   // I2C Address of the port expander
#endif

//I2C PANELS

//#define LCD_I2C_SAINSMART_YWROBOT
#ifdef LCD_I2C_SAINSMART_YWROBOT
  // This uses the LiquidCrystal_I2C library ( [bitbucket.org] )
  // Make sure it is placed in the Arduino libraries directory.
  #define LCD_I2C_TYPE_PCF8575
  #define LCD_I2C_ADDRESS 0x27   // I2C Address of the port expander
  #define NEWPANEL
  #define ULTIPANEL
#endif

// PANELOLU2 LCD with status LEDs, separate encoder and click inputs
//#define LCD_I2C_PANELOLU2
#ifdef LCD_I2C_PANELOLU2
  // This uses the LiquidTWI2 library v1.2.3 or later ( [github.com] )
  // Make sure the LiquidTWI2 directory is placed in the Arduino or Sketchbook libraries subdirectory.
  // (v1.2.3 no longer requires you to define PANELOLU in the LiquidTWI2.h library header file)
  // Note: The PANELOLU2 encoder click input can either be directly connected to a pin
  //       (if BTN_ENC defined to != -1) or read through I2C (when BTN_ENC == -1).
  #define LCD_I2C_TYPE_MCP23017
  #define LCD_I2C_ADDRESS 0x20 // I2C Address of the port expander
  #define LCD_USE_I2C_BUZZER //comment out to disable buzzer on LCD
  #define NEWPANEL
  #define ULTIPANEL

  #ifndef ENCODER_PULSES_PER_STEP
	#define ENCODER_PULSES_PER_STEP 4
  #endif

  #ifndef ENCODER_STEPS_PER_MENU_ITEM
	#define ENCODER_STEPS_PER_MENU_ITEM 1
  #endif


  #ifdef LCD_USE_I2C_BUZZER
	#define LCD_FEEDBACK_FREQUENCY_HZ 1000
	#define LCD_FEEDBACK_FREQUENCY_DURATION_MS 100
  #endif

#endif

// Panucatt VIKI LCD with status LEDs, integrated click & L/R/U/P buttons, separate encoder inputs
//#define LCD_I2C_VIKI
#ifdef LCD_I2C_VIKI
  // This uses the LiquidTWI2 library v1.2.3 or later ( [github.com] )
  // Make sure the LiquidTWI2 directory is placed in the Arduino or Sketchbook libraries subdirectory.
  // Note: The pause/stop/resume LCD button pin should be connected to the Arduino
  //       BTN_ENC pin (or set BTN_ENC to -1 if not used)
  #define LCD_I2C_TYPE_MCP23017
  #define LCD_I2C_ADDRESS 0x20 // I2C Address of the port expander
  #define LCD_USE_I2C_BUZZER //comment out to disable buzzer on LCD (requires LiquidTWI2 v1.2.3 or later)
  #define NEWPANEL
  #define ULTIPANEL
#endif

// Shift register panels
// ---------------------
// 2 wire Non-latching LCD SR from:
// [bitbucket.org]
//#define SR_LCD
#ifdef SR_LCD
   #define SR_LCD_2W_NL    // Non latching 2 wire shift register
   //#define NEWPANEL
#endif


#ifdef ULTIPANEL
//  #define NEWPANEL  //enable this if you have a click-encoder panel
  #define SDSUPPORT
  #define ULTRA_LCD
  #ifdef DOGLCD // Change number of lines to match the DOG graphic display
    #define LCD_WIDTH 20
    #define LCD_HEIGHT 5
  #else
    #define LCD_WIDTH 20
    #define LCD_HEIGHT 4
  #endif
#else //no panel but just LCD
  #ifdef ULTRA_LCD
  #ifdef DOGLCD // Change number of lines to match the 128x64 graphics display
    #define LCD_WIDTH 20
    #define LCD_HEIGHT 5
  #else
    #define LCD_WIDTH 16
    #define LCD_HEIGHT 2
  #endif
  #endif
#endif

// default LCD contrast for dogm-like LCD displays
#ifdef DOGLCD
# ifndef DEFAULT_LCD_CONTRAST
#  define DEFAULT_LCD_CONTRAST 32
# endif
#endif

// Increase the FAN pwm frequency. Removes the PWM noise but increases heating in the FET/Arduino
//#define FAST_PWM_FAN

// Temperature status LEDs that display the hotend and bet temperature.
// If all hotends and bed temperature and temperature setpoint are < 54C then the BLUE led is on.
// Otherwise the RED led is on. There is 1C hysteresis.
//#define TEMP_STAT_LEDS

// Use software PWM to drive the fan, as for the heaters. This uses a very low frequency
// which is not ass annoying as with the hardware PWM. On the other hand, if this frequency
// is too low, you should also increment SOFT_PWM_SCALE.
//#define FAN_SOFT_PWM

// Incrementing this by 1 will double the software PWM frequency,
// affecting heaters, and the fan if FAN_SOFT_PWM is enabled.
// However, control resolution will be halved for each increment;
// at zero value, there are 128 effective control positions.
#define SOFT_PWM_SCALE 0

// M240  Triggers a camera by emulating a Canon RC-1 Remote
// Data from: [www.doc-diy.net]
// #define PHOTOGRAPH_PIN     23

// SF send wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX

// Support for the BariCUDA Paste Extruder.
//#define BARICUDA

//define BlinkM/CyzRgb Support
//#define BLINKM

1-mal bearbeitet. Zuletzt am 19.12.14 15:43.


.-=cU. Pascal=-.
────────────
Prusa i3 Hephestos + Simplify3d
BMG-Vollmetall-Extruder 1,75 mm/0,4 mm Düse
Ramps 1.4
Re: Marlin Menü auf dem LCD funktioniert nicht richtig
20. December 2014 05:18
Das ist doch nicht die Hephestos Firmware, oder?

Ciao, Udo
Re: Marlin Menü auf dem LCD funktioniert nicht richtig
20. December 2014 08:39
Nein der Abschnitt die für den lcd zuständig ist von der configuration.h Datei der Marlin Firmware. Da kann man Änderungen vornehmen und dann hochladen.

Hast du irgendwo was eingestellt für dein LCD das es funktioniert? Also das man die Menüpunkte wählen kann??

Habe eben RepetierHost installiert, die manuelle Steuerung des Druckers funktioniert einwandfrei!! Es ist also alles richtig angeschlossen.

Kann ich die Druckbett Kalibration usw. nicht irgendwie ohne das Display machen?

2-mal bearbeitet. Zuletzt am 20.12.14 08:42.


.-=cU. Pascal=-.
────────────
Prusa i3 Hephestos + Simplify3d
BMG-Vollmetall-Extruder 1,75 mm/0,4 mm Düse
Ramps 1.4
Re: Marlin Menü auf dem LCD funktioniert nicht richtig
20. December 2014 16:14
Ich zitiere aus dem Wiki:

In "Configuration.h”
1. Change line 46 to “#define MOTHERBOARD 33”
2. Change line 306 to “#define REPRAP_DISCOUNT_SMART_CONTROLLER” (just remove the // at the beginning)
3. Change line 326 to “#define NEWPANEL //enable this if you have a click-encoder panel” (just remove the // at the
beginning)
Switch over to "Pins.h" and change line 318 to “#define RAMPS_V_1_3” (just remove the // at the beginning)

Warum lest Ihr euch nie die Anleitungen durch?

Herzl. Grüße
Re: Marlin Menü auf dem LCD funktioniert nicht richtig
20. December 2014 17:20
da dabei steht "Marlin V1 RC2" und ich marlin 1.3 verwende, dachte ich das wiki veraltet ist und das für mich nicht interessant ist. Vor allem weil die Zeilennummern überhaupt nicht übereinstimmen und #define RAMPS_V_1_3 enabled werden soll obwohl ich 1.4 verwende!!

Also einfach das zu tun was in der wiki steht ist nicht immer ratsam, vorher drüber nachdenken ist immer angebracht smiling smiley Vor allem scheint es ja bei ubit (der den gleichen drucker vor kurzem zusammengebaut hat) scheinbar ohne änderungen zu funktionieren.

@Ubit, hast du nun irgendwo was angepasst für das LCD??

Abgesehen davon. Konnte die Kalibration per Host vornehmen und erste Druckversuche machen smiling smiley Habe aber Probleme mit der Haftung gehabt. Morgen bin ich aber zuversichtlich das es klappt.


.-=cU. Pascal=-.
────────────
Prusa i3 Hephestos + Simplify3d
BMG-Vollmetall-Extruder 1,75 mm/0,4 mm Düse
Ramps 1.4
Re: Marlin Menü auf dem LCD funktioniert nicht richtig
20. December 2014 17:28
Jau, Nachdenken ist immer gut. Mach' es einfach. Die Zeilen findest Du auch über das, was drinsteht.

Herzl. Grüße
Re: Marlin Menü auf dem LCD funktioniert nicht richtig
21. December 2014 06:11
Hallo Pascal,

da scheint sich ein Fehler in der Download Version eingeschlichen zu haben. Die Version auf GitHub für den Hephestos sieht für das LCD wie folgt aus:

//LCD and SD support
517 #define ULTRA_LCD //general LCD support, also 16x2
518 //#define DOGLCD // Support for SPI LCD 128x64 (Controller ST7565R graphic Display Family)
519 #define SDSUPPORT // Enable SD Card Support in Hardware Console
520 //#define SDSLOW // Use slower SD transfer mode (not normally needed - uncomment if you're getting volume init error)
521 //#define ENCODER_PULSES_PER_STEP 1 // Increase if you have a high resolution encoder
522 //#define ENCODER_STEPS_PER_MENU_ITEM 5 // Set according to ENCODER_PULSES_PER_STEP or your liking
523 //#define ULTIMAKERCONTROLLER //as available from the Ultimaker online store.
524 #define ULTIPANEL //the UltiPanel as on Thingiverse
525 //#define LCD_FEEDBACK_FREQUENCY_HZ 1000 // this is the tone frequency the buzzer plays when on UI feedback. ie Screen Click
526 //#define LCD_FEEDBACK_FREQUENCY_DURATION_MS 100 // the duration the buzzer plays the UI feedback sound. ie Screen Click
527

528 // The MaKr3d Makr-Panel with graphic controller and SD support
529 // [reprap.org]
530 //#define MAKRPANEL
531

532 // The RepRapDiscount Smart Controller (white PCcool smiley
533 // [reprap.org]
534 #define REPRAP_DISCOUNT_SMART_CONTROLLER

korrigiere deine akiven defines mal entsprechend, dann sollte es funktionieren.

Grüße Jörg


DIY Graber i3, based on Ramps 1.4 / LCD-SD-support / Marlin / MK8 upgraded direct drive

Home of Graber i3 reloaded, based on Ramps 1.4_TMC2100 / LCD-SD-support / Marlin / MK8 upgraded direct drive


Und sollte ich vergessen haben, jemanden zu beschimpfen, dann bitte ich um Verzeihung!
Johannes Brahms
In diesem Forum dürfen leider nur registrierte Teilnehmer schreiben.

Klicke hier, um Dich einzuloggen