Сборка/Способы Настройки

From RepRap
Revision as of 04:45, 26 November 2011 by Glenn (talk | contribs) (+ Category:Categories/ru)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Это не законченный перевод статьи. Пожалуйста, сделайте свой вклад в перевод документации.

Configuration

OK, you've built your RepRap - from a kit, or from scratch. But, before you go off building STL files, there's a bit of work to be done. Your machine has to be configured. Looking at the preferences files, there are *hundreds* of numbers. DON'T PANIC Most of the numbers are fine at the defaults - until you're more experienced. However, there are some key settings that really need to be correct.

Configuration Files

Where are they? If you're using the 'official' java host software and the SNAP arduino firmware, they will be available through the 'Preferences' button. (For programmers, on linux they are stored in the text file ~/.reprap/reprap.properties)


SNAP firmware

The thermistor/thermocouple settings are stored in the arduino software.

GCode firmware

This is the recommended firmware. After you opened the GCode firmware with the Arduino software, you'll see the tabs 'parameters.h' and 'pins.h'. Those are the main configuration files.

If you are using Sanguino or Arduino Mega, uncomment this line in parameters.h:

// #define SANGUINO

When you edit pin configurations, be sure that you are in the right section (eg. #ifdef SANGUINO)

If any setting is changed in the firmware, it has to be re-compiled, and re-uploaded to the Arduino/Sanguino.

Note that the same parameters (e.g. steps per mmm) in the host software will be ignored. While using GCode firmware, other settings will be in the host software, or the Skeinforge preferences.

Bug in GCode firmware 1.4 using DC motors

If you are using DC motors you have to fix a bug in the firmware.

  • In pins.h you have:
  1. define EXTRUDER_0_STEP_ENABLE_PIN (byte)-1

Since byte is unsigned (and later compared to (byte) < 0), this will have no effect. Change this to:

  1. define EXTRUDER_0_STEP_ENABLE_PIN (int)-1
  • in extruder.h
   // The pins we control
   byte motor_dir_pin, motor_speed_pin, heater_pin, fan_pin, temp_pin, valve_dir_pin, valve_en_pin step_en_pin;

to

   // The pins we control
   byte motor_dir_pin, motor_speed_pin, heater_pin, fan_pin, temp_pin, valve_dir_pin, valve_en_pin;
   int  step_en_pin;

then

  extruder(byte md_pin, byte ms_pin, byte h_pin, byte f_pin, byte t_pin, byte vd_pin, byte ve_pin, byte se_pin);

to

  extruder(byte md_pin, byte ms_pin, byte h_pin, byte f_pin, byte t_pin, byte vd_pin, byte ve_pin, int se_pin);
  • in extruder (.pde)
  extruder::extruder(byte md_pin, byte ms_pin, byte h_pin, byte f_pin, byte t_pin, byte vd_pin, byte ve_pin, byte se_pin)

to

  extruder::extruder(byte md_pin, byte ms_pin, byte h_pin, byte f_pin, byte t_pin, byte vd_pin, byte ve_pin, int se_pin)

that should be it (is there any bug tracker for the software btw?).


Configuration Methods