Différences entre versions de « 3D-OrdBot-Firmware-Config »

De MCHobby - Wiki
Sauter à la navigation Sauter à la recherche
(Page créée avec « {{3D-ORDBOT-NAV}} == Introduction == Ce que vous trouverez ci-dessous est une traduction "AT THE BEST" des instructions disponibles sur la page "[http://www.buildlog.net/wi... »)
 
Ligne 15 : Ligne 15 :
 
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:
 
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
+
* 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.
+
* 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.
+
* 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.
+
* Un logiciel sur Arduino (habituellement appelé "''firmware''") pour convertir le G-Code en mouvements.
 
 
  
 
== Configuration du Firmware ==
 
== Configuration du Firmware ==

Version du 29 juillet 2013 à 10:41

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 [1] 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

You need to tell the firmware the type of electronics you are using, like RAMPS, Sanguinolulo, etc

If you are using RAMPS 1.3 or 1.4 and Marlin, then use in the firmware:

 #define MOTHERBOARD 33

if you have an extruder, bed and fan, or

 #define MOTHERBOARD 34

if you have **two** extruders and a bed

Resolution

X and Y

 Stepper Resolution (s) = 200 steps/rev
 Driver microstepping (m) = 16 microsteps/motor step
 Pulley teeth (d) = 20 
 MXL Belt pitch (p) = 0.08 inches (2.032mm)
 Resolution = s * m / d /p
 Resolution = 200 * 16 / 20 / 2.032 = **78.7402** steps/mm

Z

 Resolution = s * m / p
 Stepper Resolution (s) = 200 steps/rev
 Driver microstepping (m) = 16 microsteps/motor step
 !!! For 1/4-20 Threaded Rod !!!
 Lead Screw pitch (p) = #1/4-20 = 20 threads/in = 0.05 inch = 1.27 mm
 Resolution = 200steps/rev * 16microsteps / 1.27mm/thread = 2519.68
 !!! For 8mm x 1.25mm Threaded Rod !!!
 Resolution = 200step/rev * 16microsteps / 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.