3D-OrdBot-Firmware-Config

De MCHobby - Wiki
Sauter à la navigation Sauter à la recherche

Introduction

Ce que vous trouverez ci-dessous est une traduction "AT THE BEST" des instructions disponibles sur la page "ORD Bot Software" de BuildLog.Net

Licence et Rétribution

Le texte original est produit sous la licence CC Attribution-Share Alike 3.0 Unported par by bdring. Voir la source sur BuildLog.Net pour plus d'information.

La tâche de traduction de le présente page, fruit de Meurisse D. pour MCHObby.be, est également produit sous licence CC-BY-SA (pour la traduction). Vous devez également accompagner les duplicata Français du texte présent ci-dessous de la mention spécifique "traduction par MCHobby.be - vente de kits et composants pour Arduino et Raspberry".


Logiciel ORD Bot

Il y a de nombreuses étapes entre le logiciel de dessin (CAD) et l'impression d'une pièce. Il y a plein d'options, mais si l'on prend du recul... toutes les solutions utilisent les mêmes étapes:

  • Création de votre fichier STL
  • Découpage du fichier STL (opération nommé "Slice") en couches nommées "layers" et production de G-Code.
  • Contrôle de l'imprimante et envoi du G-Code sur cette dernière.
  • Un logiciel sur Arduino (habituellement appelé "firmware") pour convertir le G-Code en mouvements.

Configuration du Firmware

Le terme firmware identifie habituellement un micro-logiciel qui fonctionne sur du matériel dédicacé comme un Arduino plutôt que sur un Ordinateur dévolu à des tâches d'usage générales.

Le firmware est conçu pour fonctionner sur le plus grand nombre de machines possibles. Par conséquent, vous devez décrire votre machine dans le firmware. Cela est généralement réalisé en changeant quelques portions de texte dans une fichier nommé configuration.h.

Electronique

Il est nécessaire d'indiquer le type d'électronique au firmware, comme par exemple RAMPS, Sanguinolulo, etc

Si vous utilisez RAMPS 1.3 ou 1.4 et Marlin, alors utilisez ceci dans le firmware si vous avez un extrudeur, un lit et ventilateur.

 #define MOTHERBOARD 33

Ou si vous avez deux extrudeur et un lit alors utilisez ceci:

 #define MOTHERBOARD 34

Résolution

X et Y

 Résolution des moteurs pas-à-pas (en pas, "step" en anglais) = 200 pas/révolution (steps/rev)
 Microstepping pilote (m) = 16 micro-pas/pas moteur (microsteps/motor step)
 Dents de la pouile (Pulley teeth en anglais) (d) = 20 
 Pas de la courroie ("MXL Belt pitch") (p) = 0.08 pouce (2.032mm)
 Résolution = s * m / d /p
 Résolution = 200 * 16 / 20 / 2.032 = 78.7402 pas/mm

Z

 Résolution = s * m / p
 Résolution du moteur pas-à-pas(s) = 200 pas/révolution
 Pilote microstepping (m) = 16 micro-pas/pas moteur
 !!! Pour les tiges filetées de 1/4-20 !!! (mesure américaine)
 Pas du filet (p) = #1/4-20 = 20 threads/inch = 0.05 inch = 1.27 mm
 Resolution = 200pas/révolution * 16micro-pas / 1.27mm/thread = 2519.68
 !!! Pour une tige filetée de 8mm x 1.25mm !!! (mesure européenne, 8mm de diamètre, pas réduit de 1.25mm)
 Donc, 200 pas/révolution * 16 micro-pas = 3200 micro-pas par tour de rotation.
 Pour chaque tour de rotation, l'axe Z de déplace de 1.25mm (soit le pas du filet).
 La résolution c'est le nombre de pas nécessaire pour parcourir 1mm.
 En l'état, il s'agit donc du quotient de "3200 micro-pas par révolution" par "1.25mm de déplacement par révolution"  
 Résolution = 200 pas/révolution * 16 micro-pas / 1.25mm/thread = 2560 steps/mm

E (Extruder)

You generally need to determine this by calibration or get the number from someone who has done it.

 The MakerGear Extruder is about **1387** steps/mm with a 16 microstep driver.
 The MakerBot MK7 is about **100.323** steps/mm with a 16 microstep driver.
 The QU-BD MBE Extruder is about **106.707** steps/mm with a 16 microstep driver. (according to automation technologies)
 The QU-BD MBE Extruder is about **93.36304** steps/mm with a 16 microstep driver. (according to qu-bd)

configuration.h

Depending on the firmware you use there will be a line that looks like this somewhere in configuration.h There are usually some comments before the line to help you. Here are two different firmware examples.

 float axis_steps_per_unit[] = {78.7402, 78.7402, 2560, 1387}
 
 #define DEFAULT_AXIS_STEPS_PER_UNIT   {78.7402,78.7402,2560,1387}

Motor Directions

If the motors spin the wrong way you can either adjust your wiring or change it in software. Look for these settings in configuration.h


 #define INVERT_X_DIR false
 #define INVERT_Y_DIR false
 #define INVERT_Z_DIR false
 
 

Work Area

You only need end stops on one side of each axis. That is usually the zero side. The controller can then find the zero point on it's own. If you tell the controller how much travel each axis has, it will not move farther than that. You do not need limit switches at the upper other end.

Forgetting to set the work are size is a typical Newbie mistake. The default number may be smaller than you want and the axis will appear to stop too early.

Make the adjustments in configuration.h

 #define X_MAX_POS 200
 #define X_MIN_POS 0
 #define Y_MAX_POS 200
 #define Y_MIN_POS 0
 #define Z_MAX_POS 150
 #define Z_MIN_POS 0


Speed, Acceleration, Jerk

There is a line in configuration.h that defines the maximum speed and acceleration of the axes. This is what it looks like in Marlin.

  1. define DEFAULT_MAX_FEEDRATE {500, 500, 5, 45} \\
  2. define DEFAULT_MAX_ACCELERATION {9000,9000,100,10000}\\

\\

  1. define DEFAULT_ACCELERATION 3000 \\
  2. define DEFAULT_RETRACT_ACCELERATION 3000 \\

\\

  1. define DEFAULT_XYJERK 20.0 \\
  2. define DEFAULT_ZJERK 0.4 \\

\\

End Stops

If you are using end stops, make sure that they are configured correctly. Pullup resistors should be enabled. Set the homing position to 0,0,0 if it isn't already.

Getting the correct behavior from the endstops may require some experimentation, depending on the position and the wiring of the limit switches. Use the following diagram as a guide:

Ord:xyz3.png?300

TIP (Marlin): When homing, if you motors move a little away from the endstop and then stop, you most probably need to invert the logic of the switches, either by rewiring them or by inverting the X_ENDSTOPS_INVERTING setting in Configuration.h file in Marlin.

Thermal Settings

Configuration.h also allows you to set up your extruder's thermal characteristics. It comes pre-programmed with PID profiles for some extruders, so comment in the one you are using. There is also a max-temp cutoff for the extruder. This shuts down the printer if the extruder goes over that temperature. Determine the highest temperature you will use, and set that value to 20ºC higher.

Où Acheter

Le kit Ord Bot Hadron complet est disponible chez MCHobby.


MCHobby investit du temps et de l'argent dans la réalisation de traduction et/ou documentation. C'est un travail long et fastidieux réalisé dans l'esprit Open-Source... donc gratuit et librement accessible.
SI vous aimez nos traductions et documentations ALORS aidez nous à en produire plus en achetant vos produits chez MCHobby.

Réalisé par Meurisse D. Pour MCHobby.be, Licence CC-BY-SA.

L'utilisation commercial de la traduction/documentation (texte), même partielle, pourrait être soumis à redevance. Dans tous les cas de figures, vous devez également obtenir l'accord du(des) détenteur initial des droits si cela s'applique. Celui de MC Hobby s'arrêtant au travail de traduction proprement dit et/ou réalisation de la documentation.

Pour toute référence non-commerciale de la documentation, merci de mentionner le crédit "par MCHobby.be vente de kit et composant", licence et lien vers www.mchobby.be; et ce quelque soit le média utilisé.

Reprap France / eMotionTech avec qui nous collaborons sur ce projet est bien entendu libre de référencer notre documentation. Certaines informations peuvent par ailleurs provenir de leurs ressources.

Ord Bot est documenté sur Buildlog.net - documentation en anglais - licence CC Attribution-Share Alike 3.0 Unported.