Reprap 3D printer mega2560 ramps1.4 complete circuit of 4 A4988 stepstick


sold: 0


Set default red 4988 drive (max 1A), if you need to replace the green 2A 4988 drive current, please leave messages.
The use of the process can refer to the video, shipment will test.
For ordinary Arduino 2560 easy problems, particularly the introduction of optimized version of MKS 2560, reference connection: special optimization, special promotion, more preferential prices, better quality, new buyers, especially buyers occupied recommend purchasing optimization version.
Product Name: reprap 3D mega2560 ramps1.4 printer circuit 4 A4988 stepstick
Weight: 200g
Send 30cm or 50cm USB line, plus 4.5 yuan to replace 1.5 meters USB line
Arduino mega2560 a
Ramps1.4 a
A4988 stepstick four (with heat sink and double upgrade silica gel, PCB copper technology to 2oz, the copper thickness is 70UM, average is 35um, higher copper content, better thermal performance)
Technical support and guarantee:
And the official Wiki products, 100%!
Do the power test before delivery, which can be used to ship.
This package contains:
All of the circuit board required all 3D printers, including Arduino mega2560, ramps1.4 and 4 A4988 stepper motor driver board, are welded and the test.
Special note:
Reverse power, motor driver board will likely reverse burning chip and circuit, please repeatedly confirmed after electrify.
How to use:
1, need to use a module or device:
Arduino Mega2560 control board (the package contains): This is the 3D printer of the brain, is responsible for the control of the printer to complete certain actions, such as print specific documents etc.;
RAMPS1.4 (the package contains): This is the development board above the main control board, it is in order to better connect with other hardware and control, plays the role of a bridge transition;
A4988 stepper motor driver board (the kit contains): This is used to connect the stepper motor control board, so as to realize the control of stepper motor, XYZ and extruder action;
4 ~ 5 stepper motor (the kit does not include): This is the dynamic part of the 3D printer, driven by the A4988 control board, the motor is connected to the RAMPS1.4 board;
The heating head (not included): the heating head is used for melting of printed material (ABS, PLA), the general heating head has two electrical components, an electric heating wire is electrified for heating, similar to the electric furnace, the other is a thermistor, used to obtain the temperature of the heating head is how much, in order to achieve better temperature control, because the firmware (Marlin: to obtain the temperature after the success for many operations, so even a simple test also need to connect the two thermistor (another to get a hot bed temperature), so I will send two thermistors for you;
Hot bed (heatbed) (not included): ABS in print, in order to make the invariant and the first layer tend to stick to the platform, the general solution is to use hot bed, hot bed also includes two parts, heating part and a thermistor, wherein the thermistor is required;
12V power supply (not included): in order to be able to drive motor and circuit board, you need to supply yourself with a 12V 100W to about 200W.
The above parts are necessary parts of circuit connection part, if the lack of a corresponding, will not be part of the test.
Other non essential, including 12V fan and at least 3 limit switch (if not does not affect the circuit board test, but will affect the use of the printer, if you set the printer, it is necessary, especially the limit switch).
2, ready to work:
Before the start of the connection and testing, you need some necessary software:
Arduino IDE, used to be transmitted to the main control board firmware tools, download address:;
The firmware (Marlin), which is the main control board is required to execute the program, which is transmitted to the main control board, download address:, transmission method: open Arduino IDE, select the menu Tools – > Board – > Arduino Mega 2560, and then select the serial Tools ->Serial Port – > the corresponding serial port, click to compile and download board. That the corresponding reference firmware inside, the most important is the configuration board type RAMPS1.4 (found in the Configuration.h file for the #define MOTHERBOARD 33 [] here must be changed to 33), the other can temporarily default;
* PC software: printrun: download and install the corresponding version;
The above is the need to use the software, the first one is often used when you need to configure the parameters, if the parameter is determined, is rarely used anymore, the third is the printer control software, usually will use print.
3, burning firmware:
* edit and upload the firmware to the main control board:
The main control board is connected to the computer through the USB power supply, the main control board exhibit of lanterns lit.
Open the main file to download the firmware files in Arduino IDE (Marlin.pde), after opening, chosen by TAB to the Configuration.h file, and find:
A digital #define MOTHERBOARD
To modify:
#define MOTHERBOARD 33
These parameters can be temporarily modified. Then select the menu Tools – > Board – > Arduino Mega 2560, and ->Serial serial port Tools Port – > corresponding serial port (usually the reciprocal of the first wrong, you can try several times other), click the right arrow on the IDE (-) icon, upload the firmware, if installed above steps down should not be a mistake. And you can see the main control board on another LED exhibit of lanterns non-stop flash, which is uploaded by waiting can be completed.
4, connecting other circuit board and test:
Disconnect the USB cable, the RAMPS1.4 board connected to the main control class, do not pay attention to connection error, RAMPS on the back of the pin should be connected to the main control board of.
Then connect the two thermistors corresponding to the position of the first board, at this time, open the printrun software (above third software), serial port (usually the last), set the baud rate (250000). Click on the link if normal, right there will be a successful connection hint text, and the following buttons will be used normally.
Through the printrun software on the “check temp” (read the temperature), can get two of the thermistor temperature, because the thermistor is directly connected, so the temperature reading should be close to your room, if the read value is 0, all connection error, please check.
Although not connected to the heating head and the hot bed, but can be a simple test, first connect the 12V power, and then set the heating bed and the heating head temperature were 230 and 110, there were two red LED will have light board, which indicates that this part of the circuit is normal, can be turned off. Then the lower right corner of the input command: send M106 S255, to open the fan control, the other a red LED will light, send input: M107 can turn off.
Disconnect the power supply, the A4988 driver board access RAMPS board, pay attention to the correct direction or not, or else it may burn the board, you can refer to my photos. There should be at least one motor test, the motor connection should be connected as shown below, the red blue green yellow in order to connect, connect, connect the power supply, the printrun can try to let the motor move, for example, you will be connected to the X motor shaft, motor shaft motor +10mm X the motor will rotate, -10mm, click, the motor will reverse. The same can test the YZ axis (should change the broken power motor). The extruder motor when the temperature is not reached when can not be tested, you can be the A4988 driver installed to test XY or Z axis, in order to ensure the normal drive.
If the above test is no problem, indicating that the main circuit is no problem, the rest is put up your 3D printer assembly.
Connection detection method:
One, preparation
“To do good work, must first sharpen his tools”, before going to work, you should be prepared for what tools (including software and hardware).
1, you need to download the software
1.1 firmware upload tool — Arduino IDE
This is a necessary tool to upload firmware, with this software to upload firmware become easier, plug in the USB, you can easily upload.
Download address:
Windows version:
MAC version:
Linux 32 version:
Linux 64 version:
The other version: Arduino
1.2 slice 3D printing software — Slic3r
This software is a necessary tool of production control code can identify the 3D printer. Without it, the 3D printer will not recognize the 3D model format. Only through this software into G code, the printer can be used normally. The slice of Slic3r is a great tool.
Download address:
Windows 32 version:
Windows 64 version:
MAC version:
Linux 32 version:
Linux 64 version:
If you want to compile their own source code, please refer to: slic3r
1.3 3D printer control software (PC) — Printrun
The official reprap PC, simple interface, convenient operation, is a good choice. It is the control center of the 3D printer, the computer reads it will not stop the G code file (generated by the software section above), then to the 3D printer control board through the USB transmission line (mega2560) to realize the precise control of the printer.
Download address:
MAC version:
Windows version:
More choice: Printrun version
1.4 firmware — Marlin
The firmware is installed on the mega2560 board software, a powerful Marlin is a good choice.
Download address:
Download unpacked, all files in Marlin folder is the firmware source code, found inside the PDE or ino file with IDE software can open.
2, install the driver
The MAC and Linux systems do not need a mega 2560 installation specific driver, plug in the USB can be used, because the mega 2560 board is actually USB serial, so after the plug if normal, will have a serial out.
Install the driver 2.1 windows operating system
When you install Arduino IDE, came to the IDE directory, there is a
The folder, go looking for
Mega2560 R3
The words of the INF file, if not, the directory should have a compressed file, after decompression can find this file, right click to install on it. This is inserted on the mega2560 board, the equipment should be identified.
3, tools and accessories
DIY 3D printer without the necessary tools, is almost impossible, of course, necessary accessories is a must.
3.1 commonly used tools
In the test suite or install 3D printer, may use the tools including, screwdriver, pliers, crimping pliers, electric iron, tweezers, Piankou, pliers, high temperature tape etc..
Supporting 4
3.2 accessories
A complete 3D printer is composed of dozens or even hundreds of parts assembled. If you want to complete the test or a printer, you should have the following parts:
– 3D printer master suite: mainly contains a 2560 Mega main control board, a RAMPS1.4 extension boards and 4 4988 stepper motor driver board;
12V – 200W: 12V for providing a voltage switching power supply, ATX power supply can be used on the computer, but when wiring should pay attention to;
2 – 100k NTC thermistor: in order to realize the control of the heating head plate and heating bed temperature control, there are two temperature sensors, the most convenient way to NTC thermistor, 100k resistance is a good choice (most directly support firmware);
– at least a two-phase four wire stepper motor: if you only need a simple test, the stepper motor can be completed in the test, if you want to form a product, you need 4 to 5 stepper motor, Z axis according to the mechanical structure of some different by two motor driving. Motor models need to choose according to your own situation, general common 42 motor can do, need to pay attention to is the 4988 largest driving current support is 2A;
– at least one limit switch: the limit switch is a printer used to identify the important position of the sensors, to form a complete printer requires at least 3 limit to help determine the origin position of the printer, the limit switch can be of many types, mechanical, optical, magnetic (Holzer);
12V heating tube: if your machine is FDM (thermal printer), so the heating pipe is almost a must, used in the heating head, can choose 12V 40W heating tube. If you are testing the main control board is normal, do not need to, because the ramps board LED lights, know whether in electricity;
– 12V: fan for cooling fan, there is not much need to explain, note that the negative pole must be connected to the fan, otherwise it will not turn, can also be judged whether work just by LED indicator;
12V PCB: in order to make the heating bed plate printing material more easy to stick in the print on the platform, and to prevent the cooling deformation (mainly ABS), if PLA printing materials, the board may not be required, if the test can also be indicated only by led;
4, ready to start
If you have the above software and hardware are ready, then you can enter the next link.
Two, upload firmware and firmware configuration
Mega 2560 board in 3D printer is equivalent to the brain, which control all the 3D printing accessories to complete the print job is complex, but mega2560 cannot be used directly, need to upload firmware (upload) (Firmware) can be used.
1, download the firmware — Marlin, the powerful function of Marlin firmware and easy to use, so here only introduce the Marlin firmware.
2, the firmware configuration parameters
The following is the need to configure the parameters. No mention of the default parameters.
#define BAUDRATE 250000
This is the configuration of the PC serial baud rate, only the baud rate and baud rate to the same firmware can communication success, will need to pay attention to. Of course, also cannot change, common baud rate: 24009600192003840057600115200250000. The 3D printer is widely used in the 3.
#define MOTHERBOARD 33
This parameter is of type 3D printer configuration board, main control board type very much, each board IO configuration is not the same, so this parameter must be the same with your own board type, otherwise not normal use. My board is the RAMPS1.4 version, the corresponding configuration (configuration should be 33 and 34, a single print head) (configuration doubles India). If you are using other board, please refer to the note next to and select the appropriate configuration.
#define TEMP_SENSOR_0 3
This type of configuration of the two parameters were temperature sensor. It is important to read the temperature parameters are normal, if not normal to read the temperature will not work even with great potential danger (burning device). If you use other temperature sensors need to change according to their own circumstances.
This parameter is the potential risks in order to prevent the temperature does not reach the extrusion operation, if you do other 3D printer, such as a friend to do chocolate printer, extrusion temperature only 45 degrees, then this parameter needs to be configured to lower value, such as 40 degrees.
Const bool X_ENDSTOPS_INVERTING = true;
Const bool Y_ENDSTOPS_INVERTING = true;
Const bool Z_ENDSTOPS_INVERTING = true;
Here is the three parameter configuration of 3 axis type limit switch, limit switch configuration for the true, the default output is 1, triggering state output for the 0, is also the mechanical limit should be connected with normally open scripts. If you are connected with a normally closed piece, will be changed to false true.
#define INVERT_X_DIR false
#define INVERT_Y_DIR true
These two parameters are relatively easy to mistake. According to the type of mechanical barrier, the two configuration is not the same. But the principle is to ensure that the origin of the print platform should be in the lower left corner (origin position [0,0]), or the upper right corner (the origin position is [max, max]). This print only model is correct, otherwise it will be a mirror axis caused by the wrong location model.
#define X_HOME_DIR -1
#define Y_HOME_DIR -1
#define Z_HOME_DIR -1
If the origin position of a minimum value for the parameter is -1, if the origin position is the maximum value allocation is 1
#define X_MAX_POS 205
#define X_MIN_POS 0
#define Y_MAX_POS 205
#define Y_MIN_POS 0
#define Z_MAX_POS 200
#define Z_MIN_POS 0
This parameter is important to configure print size, coordinate map reference to fill out the above, there is a need to explain the origin of coordinates is not print center, real printing center in general [(x.max-x.min) /2, (y.max-y.min) /2] position. Coordinate the center position of the need to use the tools in the back section, the print center coordinates should match the parameter configuration here, otherwise it may be printed onto the platform outside.
#define HOMING_FEEDRATE {50*60, 50*60, 4*60, 0}
Rate allocation back to the origin, in millimeters per minute, if you are using the XY axis synchronous belt transmission, Z axis screw drive, this parameter can use the default value.
#define DEFAULT_AXIS_STEPS_PER_UNIT {85.3333, 85.33332560158.8308}
This parameter is the most important parameter is the correct size of the printer, the meaning of parameters for running the 1mm axes required pulse number, corresponding to x, y, Z, e four axis. In most cases, this number can be calculated to. You can refer to the
So far, the most commonly used parameters are configured, you can start using. If the 2004LCD board also need to change
In front of the will
/ /
Delete can be used normally.
3, upload the firmware
Before uploading, Windows users need to install the driver. Board type configuration: Tools > Board > Arduino Mega 2560 or Mega ADK, as shown in Fig.
Serial configuration: Tools > Serial > Port your Mega board corresponding serial number is usually the last one. Figure
Click the right button to check whether there are errors, and then click the right arrow button to upload the firmware, as shown in Fig.
The upload process, three LED RX and 2560 L corresponding to the TX lamp board will flash. If you do not flash, upload complete
Upload complete tips
If the upload is successful, you can go to the next step, if the problem can not upload upload, please see below the IDE prompt box, confirm what the problem is solved after the upload, the wrong choice of common mistakes board type, serial selection error etc..
Three, RAMPS1.4 connection
RAMPS1.4 as the development board mega2560 inserted in the mega board above. So the mega board can control the 3D printer work. The ramps connection is crucial, not only can not take the wrong print, or even burn out device and board. Be sure to note.
The distribution of the RAMPS1.4 board, please refer to diagram, in order to prevent the wrong, please confirm the following repeatedly after electricity,
* the power is negative is correct?
* RAMPS power only 12V, no 5V access.
* 4988 driver board to ensure no dislocation and inserted upside down (if error, electricity will be burned.).
Can refer to the:
Finally, the ramps1.4 inserted in the mega2560 board, do not pick the dislocation. In the electricity before you should check carefully, lest there is negligence. Pick the wrong cause behind the work can not be normal. If no problem, can be connected to the USB line, and 12V power.
Four, connected to the computer and do a simple manual control
If before the operation smoothly, you can now plug in the USB line, open the printrun PC software. Mega2560 just when the power is turned on, the RAMPS board of LED1 (green) will be flashing. This shows that mega2560 board firmware is starting.
1, through the PC connection board
Pictured above, open the software, select the correct serial port, set the correct baud rate (with you need to configure the firmware, click on the connect line). If the connection is normal, the right side of the tip area, there will be similar to the following tips:
Printer is now online.
echo: External Reset
Marlin 1.0.0
echo: Last Updated: Sep 8 2013 15:04:20 | Author: (MakerLab, default config)
Compiled: Sep 8 2013
echo: Free Memory: 4260 PlannerBufferBytes: 1232
echo:Hardcoded Default Settings Loaded
Also, graphics operation area to the left of the color can be changed to operation. Check next on the temperature curve of the watch option, can obtain real-time temperature, as shown below.
2, check whether the correct temperature (only 5V)
If the above operation is correct, you can now see the two temperature sensor temperature, and the temperature should be at room temperature, hand in the above we can see the change of temperature. If you read the temperature is 0 degrees, make sure it is properly connected, there are still problems should check the firmware in the relevant parameters.
3, test three outputs (to 12V)
Connect the 12V power, click the red button on the bid, the two temperature setting button, a button (if there is no fan fan open button, you can enter the M106 command on the right side to achieve). Figure:
If this RAMPS1.4 is lit up with three red LED, the output end of test success.
4, test motor and drive (to be 12V)
Connect the stepper motor with line 4 to X output end of the motor shaft, if the motor wire color is your standard color, can be connected with the red – Blue – green and black order, if you do not line color standard or no color, you need to find the instructions through the motor with line 4 which is which one, then install the B – B – positive negative phase phase A positive phase A negative sequence connection (and other wiring, please understand the principle of stepper motor).
4.1 XYZ three axis motor test
Click on the manual operation area on the left side of the PC, the XYZ three axis test. If there is only one motor test should end shaft, then inserted into another shaft.
Test process:
The first motor and a shaft direction + operation, motor to the positive direction and the corresponding axis motor operation; negative direction of operation, the motor should be reversed; repeat the above operation.
Note that, in order to prevent the printer firmware crash, is less than the minimum position and is greater than the maximum position after the motor will stop moving. That is not always a plus or minus down, the motor will turn.
4.2 extruder motor test
Because the firmware does not allow for minimum temperature extrusion temperature (parameters in firmware) extrusion action execution. So if you connect a real extruder, and the material inside, please don’t in the temperature does not reach 230 (ABS) and 185 (PLA) of extrusion machine test.
Test method:
1, the extrusion temperature, the temperature of the heating material to the corresponding PLA:185 degrees, ABS:230 degrees, and then tested, extrusion motor Extrude Reverse action, to move back. If the actual direction and the opposite direction, directly to all 4 with motor wire can reverse.
5, limit switch test
RAMPS1.4 support up to a total of 6 limit switches, respectively is X-min, X-max, Y-min, Y-max, Z-min, Z-max. At least 3 needed to determine the origin of the printer, can be a min or max axis position limit (by firmware configuration). The limit switch is different according to the different forms of wiring, limiting the mechanical switch only need to connect the two piece can be (and negative signal), photoelectric switch, Holzer generally need to connect three scripts (positive, negative and signal).
I am here to test with 3 axis position min to do configuration of the origin. Test limit switch should be connected in the axis of the min position. Then the motor home key test shaft, motor shaft corresponding should begin to rotate, and then press the corresponding shaft limit switch two (in order to improve the accuracy, once returned after a few millimeters met is the true origin), the motor should be stopped. The above test is repeated in other axis.
6, complete the test
If the above test is completed, you can start to put all the things in the shelf installation mechanism. Need to pay attention to the shaft and the limit switch of the corresponding relationship.
Five, test, modify and re upload the firmware
If you have problems you are strongly advised to firmware, go over firmware configuration section.
Comparison of error prone areas is: the limit switch configuration, pulse number per mm.
Start printing
If you successfully completed all the steps above, your printer should start to work

Additional information

Weight 0.4 kg


There are no reviews yet.

Be the first to review “Reprap 3D printer mega2560 ramps1.4 complete circuit of 4 A4988 stepstick”