arnaud.hertling Posté(e) Février 18, 2016 Posté(e) Février 18, 2016 Bonjour, Je débute dans les imprimantes 3D. J'ai comme projet de transformer une petite CNC en imprimante 3D. Je travail avec un automate Arduino MEGA2560 et une Ramps1.4. J'ai choisis le firmeware marlin. J'ai un écran LCD 12864 128x64. J'ai enregistré le ficher U8glib dans mes librairies Arduino mais je n'arrive pas à le configurer dans le marlin. Pouvez vous m'aider à résoudre ce problème ? Merci d'avance
Freedam Posté(e) Février 18, 2016 Posté(e) Février 18, 2016 (modifié) Bonjour @arnaud.hertling pour activer ton écran il suffit de décommenter les lignes correspondantes dans le fichier Configuration.h (en rouge dans le code qui suit). Si rien ne s'affiche sur ton écran essaie de tourner le potentiomètre en bas a gauche de l’écran. Si ca ne fonctionne toujours pas il faudra changer ton firmware ( j'ai eu le problème...) //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 (peut etre pas obligé de décommenter celle ci (a verifier)) //#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 // The MaKr3d Makr-Panel with graphic controller and SD support // http://reprap.org/wiki/MaKr3d_MaKrPanel //#define MAKRPANEL // The RepRapDiscount Smart Controller (white PCB) // http://reprap.org/wiki/RepRapDiscount_Smart_Controller //#define REPRAP_DISCOUNT_SMART_CONTROLLER // The GADGETS3D G3D LCD/SD Controller (blue PCB) // http://reprap.org/wiki/RAMPS_1.3/1.4_GADGETS3D_Shield_with_Panel //#define G3D_PANEL // The RepRapDiscount FULL GRAPHIC Smart Controller (quadratic white PCB) // http://reprap.org/wiki/RepRapDiscount_Full_Graphic_Smart_Controller // // ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: http://code.google.com/p/u8glib/wiki/u8glib#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER // The RepRapWorld REPRAPWORLD_KEYPAD v1.1 // http://reprapworld.com/?products_details&products_id=202&cPath=1591_1626 //#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 // http://www.elefu.com/index.php?route=product/product&product_id=53 // REMEMBER TO INSTALL LiquidCrystal_I2C.h in your ARUDINO library folder: https://github.com/kiyoshigawa/LiquidCrystal_I2C //#define RA_CONTROL_PANEL Pour changer la langue, dans le fichier Language.h il faut changer la valeur (en) par (fr) (sur certains marlin c'est un numero et non des lettres): // Languages // en English // pl Polish // fr French // de German // es Spanish // ru Russian // it Italian // pt Portuguese // fi Finnish // an Aragonese // nl Dutch // ca Catalan // eu Basque-Euskera #ifndef LANGUAGE_INCLUDE // pick your language from the list above #define LANGUAGE_INCLUDE GENERATE_LANGUAGE_INCLUDE(fr) Sur certains marlin tu peux changer la valeur directement depuis le fichier Configuration.h Quand il fonctionnera tu pourras changer l’écran de démarrage, un exemple du mien: Tu pourras aussi changer le nom de l'imprimante: Ca ne sert a rien mais je trouve ca sympa... Modifié (le) Février 18, 2016 par Freedam
arnaud.hertling Posté(e) Février 19, 2016 Auteur Posté(e) Février 19, 2016 Bonjour Freedam , Merci beaucoup pour votre réponse détaillée ! Cepandant cela ne marche toujours pas. Lors de la compilation, il me donne un message d'erreur avec de variable du U8glib qui ne sont pas déclarées. Les deux premières photos sont mes paramètres et la troisièmes est mon code d'erreur qui survient lors de la vérification de mon fichier. Merci d'avance ta réponse ! Arnaud
Freedam Posté(e) Mars 16, 2016 Posté(e) Mars 16, 2016 Désolé je n'avais pas vu ta réponse... Tu as résolu ton problème? Si on tu as la dernière librairie u8glib? Je pense que tu peux commenter la ligne : #define display_charset_HD44780_Japan Essai aussi de compiler avec une autre version de arduino (1.0.6) pour voir.
Messages recommandés
Créer un compte ou se connecter pour commenter
Vous devez être membre afin de pouvoir déposer un commentaire
Créer un compte
Créez un compte sur notre communauté. C’est facile !
Créer un nouveau compteSe connecter
Vous avez déjà un compte ? Connectez-vous ici.
Connectez-vous maintenant