Welcome! Log In Create A New Profile

Advanced

Congurer Marlin pour écran LCD + SD + encodeur

Posted by AD457 
Congurer Marlin pour écran LCD + SD + encodeur
April 20, 2015 06:13PM
J'ai besoin d'aide pour la configuration de mon LCD :
Reprap RAMPS1.4 2004 LCD display controller

j'utilise la dernière version de Marlin

le but est de pouvoir imprimer via une carte SD(et règler via le LCD ?)

dans mon config.h :
Quote

//==============================LCD and SD support=============================
// @section lcd

// Define your display language below. Replace (en) with your language code and uncomment.
// en, pl, fr, de, es, ru, it, pt, pt-br, fi, an, nl, ca, eu, kana, kana_utf8, test
// See also language.h
#define LANGUAGE_INCLUDE GENERATE_LANGUAGE_INCLUDE(fr)

// Choose ONE of these 3 charsets. This has to match your hardware. Ignored for full graphic display.
// To find out what type you have - compile with (test) - upload - click to get the menu. You'll see two typical lines from the upper half of the charset.
// See also documentation/LCDLanguageFont.md
#define DISPLAY_CHARSET_HD44780_JAPAN // this is the most common hardware
//#define DISPLAY_CHARSET_HD44780_WESTERN
//#define DISPLAY_CHARSET_HD44780_CYRILLIC

#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 SD_CHECK_AND_RETRY // Use CRC checks and retries on the SD communication
#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 0 // this is the tone frequency the buzzer plays when on UI feedback. ie Screen Click
#define LCD_FEEDBACK_FREQUENCY_DURATION_MS 0 // the duration the buzzer plays the UI feedback sound. ie Screen Click
// 0 to disable buzzer feedback

// PanelOne from T3P3 (via RAMPS 1.4 AUX2/AUX3)
// [reprap.org]
//#define PANEL_ONE

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

// The Panucatt Devices Viki 2.0 and mini Viki with Graphic LCD
// [panucatt.com]
// ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: [code.google.com]
//#define VIKI2
//#define miniVIKI

// 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 ARDUINO library folder: [github.com]
//#define RA_CONTROL_PANEL

cette configuration est-elle bonne ?

1- Avez-vous une solution pour couper le buzzer ?
en allumant l'arduino, le buzzer se met à sonner en continu... impossible de le désactiver (sans le déssouder ... angry smiley c'est tentant t !!)...
j'ai tenté de mettre à 0, mais ça ne marche pas !
#define LCD_FEEDBACK_FREQUENCY_HZ 0 // this is the tone frequency the buzzer plays when on UI feedback. ie Screen Click
#define LCD_FEEDBACK_FREQUENCY_DURATION_MS 0 // the duration the buzzer plays the UI feedback sound. ie Screen Click
// 0 to disable buzzer feedback


2- j'ai activé ULTIMAKERCONTROLLER et ULTIPANEL, j'imagine que c'est ce qui gère les menus pour paramètrer et imprimer depuis l'écran sd ?
#define ULTIMAKERCONTROLLER //as available from the Ultimaker online store.
#define ULTIPANEL //the UltiPanel as on Thingiverse

3- faut-il que j'active autre chose... ?

merci pour votre aide !
PS : je commance à configurer Marlin, mais je n'ai pas encore fini de monter ma Prusa (... pas encore tout reçu !)
Re: Congurer Marlin pour écran LCD + SD + encodeur
April 20, 2015 07:09PM
tiens la config qui marche:
//==============================LCD and SD support=============================

// Define your display language below. Replace (en) with your language code and uncomment.
// en, pl, fr, de, es, ru, it, pt, pt-br, fi, an, nl, ca, eu, kana, kana_utf8, test
// See also language.h
#define LANGUAGE_INCLUDE GENERATE_LANGUAGE_INCLUDE(fr)

// Choose ONE of these 3 charsets. This has to match your hardware. Ignored for full graphic display.
// To find out what type you have - compile with (test) - upload - click to get the menu. You'll see two typical lines from the upper half of the charset.
// See also documentation/LCDLanguageFont.md
#define DISPLAY_CHARSET_HD44780_JAPAN // this is the most common hardware
//#define DISPLAY_CHARSET_HD44780_WESTERN
//#define DISPLAY_CHARSET_HD44780_CYRILLIC

//#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 SD_CHECK_AND_RETRY // Use CRC checks and retries on the SD communication
//#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
// 0 to disable buzzer feedback

// PanelOne from T3P3 (via RAMPS 1.4 AUX2/AUX3)
// [reprap.org]
//#define PANEL_ONE

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

// The Panucatt Devices Viki 2.0 and mini Viki with Graphic LCD
// [panucatt.com]
// ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: [code.google.com]
//#define VIKI2
//#define miniVIKI

// 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 ARDUINO library folder: [github.com]
//#define RA_CONTROL_PANEL

/**
* I2C Panels
*/

//#define LCD_I2C_SAINSMART_YWROBOT

// PANELOLU2 LCD with status LEDs, separate encoder and click inputs
//#define LCD_I2C_PANELOLU2

// Panucatt VIKI LCD with status LEDs, integrated click & L/R/U/P buttons, separate encoder inputs
//#define LCD_I2C_VIKI




avec ça tu a les menus et tu peut imprimer a partir du sd
Re: Congurer Marlin pour écran LCD + SD + encodeur
April 21, 2015 04:01AM
Merci à toi leoprint, ça va me servir également car j'ai le même lcd smiling smiley
Re: Congurer Marlin pour écran LCD + SD + encodeur
April 21, 2015 01:11PM
merci !!! smiling bouncing smiley
Re: Congurer Marlin pour écran LCD + SD + encodeur
July 14, 2015 03:25PM
bonjour,
je viens de recevoir le meme controleur ldc que vous ( pcb rouge 2004A)
et biensure les meme problèmes, j'ai essayer pas ma de firmware mais sans success!
et comme je suis novice a 200% je patoge un peu!
j'ai telechargé le dernier marlin et retapé les lignes que tu as posté mais helas helas!
si kelkun peu me venir en aide ca serais kool!
Merci d'avance
Sorry, only registered users may post in this forum.

Click here to login