MarlinFirmware / Marlin

Marlin is an optimized firmware for RepRap 3D printers based on the Arduino platform. Many commercial 3D printers come with Marlin installed. Check with your vendor if you need source code for your specific machine.
https://marlinfw.org
GNU General Public License v3.0
16.3k stars 19.25k forks source link

New controller card: MPX.3 arduino/RAMPS mashup single card pins.h #2906

Closed RalphSutherland closed 8 years ago

RalphSutherland commented 8 years ago

I have a chinese single board, a Arduino Mega2560/RAMPS with 4988 stepper drivers mashup called an MPX.3. The main difference is a fourth power MOSFET pin in addition to the normal three. I have made a pins_MPX3.h for a ramps compatible and the following power pins and it seems to run fine.

/**
 * MPX-3 with RAMPS v1.4 pin assignments EEB + fan
 *
 *  ie RAMPS_14_EBFE (Extruder, Bed, Fan, Extruder)
 */

#define IS_RAMPS_EEB

#include "pins_RAMPS_13.h"

#undef HEATER_BED_PIN
#define HEATER_BED_PIN    8    // BED

#undef FAN_PIN
#define FAN_PIN           9    // FAN

#undef HEATER_0_PIN
#define HEATER_0_PIN     10    // E0

#undef HEATER_1_PIN
#define HEATER_1_PIN      7    // E1
KiteLab commented 8 years ago

Do you have a link to the product?

RalphSutherland commented 8 years ago

http://www.maxmicron.com/index.php?route=product/product&product_id=52 the dual extruder model is the only one I have seen, no idea if their other single E models use the same card. I'll take a closeup photo of the board and make a URL for it soon. It is that single red board in the background of some of the photos. It came with a version of marlin 1.0.0 already installed.

Here is a shot of the board, you can see the four mosfets on the right .

http://postimg.org/image/vht0rh6wh/

thinkyhead commented 8 years ago

I'll put this on my to-do list for dev and perhaps we can toss it into RCBugFix as well since it's both obscure and in need of wider testing. Just recently we properly assigned most boards as derivatives of RAMPS 1.4 instead of 1.3. This MPX.3 is probably also RAMPS 1.4. (The SERVO_0_PIN is the only difference.)

Incidentally do you have Configuration.h and Configuration_adv.h for the machine that this board comes with?

MikeInMinnesota commented 8 years ago

I also have this MPX.3 board. It seems to be the same as a HICTOP controller. I've been running it as a RAMPS 1.4, with basically Ralph's EBFE configuration. My board came as the controller for a dual head Max Micron printer. Attached are my Configuration.h and Configuration_adv.h for the board. My configuration has auto bed leveling, which is an option for the Max Micron. I'm currently running RC6.

MPX.3-configuration.zip

thinkyhead commented 8 years ago

The pins listed in the original post are identical to the MKS_BASE pins, actually. So I think we should just make a note in the boards.h file that the HICTOP MKS_BASE also applies to MPX.3.

http://www.amazon.com/HICTOP-Printer-Control-RepRap-Arduino-compatible/dp/B015W7PWRG

jbrazio commented 8 years ago

Thank you for your interest making Marlin better and reporting this issue but this topic has been open for a long period of time without any further development. Marlin has been under heavy development for the past couple of months and moving to it's last mile to finish the RC cycle and release Marlin v1.1.0. We suggest you to try out the latest RCBugfix branch and reopening this issue if required.

MikeInMinnesota commented 8 years ago

Yes, I'm very much looking forward to the 1.1 release.

My comment about the issue was more towards the configuration issue for different printers. I believe the controller itself should work as a stock 1.4 board, and indeed that is how I have been using it. I am unaware of the status for providing a tool for adjusting the configuration.h and Configuration_adv.h parameters. I understand Thinkyhead was working on this a while back. Do you have any further information about this effort?

Regards, Mike

thinkyhead commented 8 years ago

@MikeInMinnesota A friendlier configuration tool is in the planning stage, but so far not built. In the meantime I'm continuing to work on a more complete (advanced mode) configuration tool at https://github.com/thinkyhead/MarlinConfigurator – which needs code updates to deal with the latest config files, and to make it smarter as well.

I'd also like to make a barebones drag-and-drop Javascript web page to simply convert old configs into new ones, but that requires a pile of specifics to do the conversion.

jasonb194 commented 8 years ago

I actually got HIC to send me the source files for their Marlin Set up for the MPX.3

Their config has the board set up as a 33. I can send you any of the files if you want to see them.

RalphSutherland commented 8 years ago

HI,

Not a problem. I am fine, and adding aux and servo boards anyway so non-standard now anyway.

R

Dr Ralph Sutherland Research School of Astronomy and Astrophysics Australian National University

Blade893 commented 7 years ago

Hi jasonb194, can you please send me your HIC source files?

Fever2112 commented 7 years ago

@jasonb194 Can you send me the source files? I have this board but the language is not English... I would like to reprogram the menus or get one that is the right language.

probonopd commented 7 years ago

@jasonb194 best would be to upload the source files to a GitHub repository. I suspect the Renkforce RF100 from Conrad Electronic is using this board too.

Fever2112 commented 7 years ago

Is the firmware from HIC any different that the Marlin kit at marlinfw.org? Does the MarlinFW 1.0.x run on this MPX.3 board?

Fever2112 commented 7 years ago

and yes, please upload the files if/when you are able. :)

jasonb194 commented 7 years ago

Below is the firmware that HICTOP sent me for the MPX.3 board.

It's the normal Marlin Firmware, but different settings. Its actually an old build, but you can port the setting over to the most current Marlin release. Marlin_3DP08_3DP11_398.zip

probonopd commented 7 years ago

Does anyone know where the serial port is located on the MPX.3? Is there a pinout? Does it provide 3.3V or 5V somewhere that would be sufficient to hook up a ESP8266? I would like to use https://github.com/luc-github/ESP3D with it to turn it into a WLAN-enabled board.

probonopd commented 7 years ago

Does anyone know where the serial port is located on the MPX.3?

Turns out on the AUX-1 header, same as for the RAMPS board. There is also 5V.

ronenst1 commented 7 years ago

Does anyone know how can I connect the BLtouch sensor to the MPX.3 board? I need to use the servo output to raise the BLtouch pin.

MikeInMinnesota commented 7 years ago

You use D11 by the S1 button for the servo connection (3 pin) and the Z- end stop that is almost next to that for the bltouch 2 pin connector. The Z- stop touches the EXP2 connector that goes to the display. If we call the EXP2 connector the top right corner, then the vertical pin assignment on the servo is (top to bottom) 5V, GND, D11. You only use 2 pins of the Z- stop. The middle pin is GND and the bottom pin is the Z MIN signal.

You also need to rebuild the Marlin firmware. I’d suggest RC8.

enter801 commented 7 years ago

Also should mention that if you have your firmware set up with RAMPS 1.3 as the board (33), then it will re-assign the servo pin to 7. Needs to be 11 in the firmware, so setting it as RAMPS 1.4 EFB instead of 1.3 EFB should do the trick. Just about to test as my BLTOUCH isn't responding, as I'm sure it's set to pin 7 instead of 11 (but hooked up to 11).

ronenst1 commented 7 years ago

Thank you all. I will try it this week.

ronenst1 commented 7 years ago

maxmicron board mpx pro v3 0 Mike thanks again but unfortunately my board printer (Max Micron dual head including Auto-Leveling) in the same as the HICTOP board but without that specific D11 connectors. I can see that the name of the board is MPX PRO V3.0 Mike do you have any suggestions?

MikeInMinnesota commented 7 years ago

That’s a good question. It sounds like Max Micron has a slightly changed version of the MPX 3, maybe via HICTOP. If nothing on the board is labeled D11 then the controller has been re-worked in their latest version. I’d suggest contacting Max Micron’s support at maxmicron@hotmail.commailto:maxmicron@hotmail.com. I don’t know if he’s still there, but they had a pretty knowledgeable guy named ZhaoMonster that was helpful for some of my previous questions about connecting sensors to various end-stops.

Regards, Mike

ronenst1 commented 7 years ago

Thanks Mike I will try Zhao

robertch1969 commented 7 years ago

has anyone ended up getting a new marlin version for this board working ?\

i have the board on this machine and am trying to install a BLtouch on it have tried to make a few different versions of marlin for it myself but am not sure how to do this so been reading and trying different things closest i have got is new firmware runs but axises are very erratic things they seem to be missing steps i revert to the old version of the firmware and it works fine

i have the source file for the original firmware i think it is 1.0.0 RC2

i want to achieve 2 things get a new more recent version of Marlin for my board and get the Bltouch connected and working

enter801 commented 7 years ago

I have the BLToich working on this board with RC8 firmware. You have to set it to ramps 1.4 as the board in the firmware then plug the three pin cable into that. If you don't have headers on D11 then you should get some JST three pin male and female plugs. You can get those on Amazon, a whole box with all sizes for cheap. You have to set up the servo and a few other things. I can send you my config and config advanced files. The BLTouch is amazing btw. Way way better than the inductive sensor. Do yourself a favor and put a PEI/Ultem sheet on your bed. No need for glass or glue or tape after that. Can print ABS without warping without an enclosure. The BLTouch is awesome for that because it will get accurate bed leveling done on an uneven bed, which you can get with the PEI sheet being installed poorly (double sided 3m glue) like I did.

robertch1969 commented 7 years ago

yeah @enter801 have the PEI sheet i can get the bltouch to move but something is going wrong with the printer movement with the new firmware i am missing something i think pretty new to this so here is the whole source 双200x280.zip file

would be great if you could send the files may get me a little closer to getting it fully working

robertch1969 commented 7 years ago

so update here have played with the config h have y and z moving normally and BLtouch responding to basic test commands but x just makes a noise but no movement re flash with old firmware all axis move as expected but cant get BL touch to work with it

enter801 commented 7 years ago

Here are my RC8 configuration files. I have an e3d hot end set up as well, so you will have to match it for that, and for the bed size, offsets for where you have the BLTouch mounted with respect to the hotend. Another thing you will have to do is figure out what your z offset is. My firmware has the homing distance set to 5mm, so you can go down 5 mm, and then whatever past 5mm it requires to get the hotend 100 microns away(sheet of paper height) from the bed is your z offset. You can change it in the firmware config (I believe mine is set to -1.5 in the firmware) or override it with the z offset gcode command. MarlinRC8_BLTouch_MPX3_Board_enter801.zip

robertch1969 commented 7 years ago

thank you very much for this will give that a go i dont know what i am doing wrong but my x axis doesn't like it when i configure for BL Touch is the Pic here how you wired the BL touch to your board ? image my board has a slightly different number on it it is AS 1630

enter801 commented 7 years ago

So your servo wiring is off. Look at my config on how the servo is set up in the firmware. Take your equivalent values over to RC8 that are specific to your machine, then merge my settings for the servo and BLTouch. The wiring should be signal, 5v, then ground, signal on the inside pin of d11, 5v in middle, ground on outside pin. So make sure you're using all 5 wires on it.
Also, if your old firmware is working on the x-axis, and then it doesn't when you change firmware, look at the differences between the two. Use a diff program like Beyond Compare.

robertch1969 commented 7 years ago

thanks @enter801 pretty new at this loving my printer but i am not a software guy and dont know a lot about the electronics would you be interested in doing a firmware for me for some $$

enter801 commented 7 years ago

Make sure you have RAMPS 1.4 selected as well, the stock firmware from Hictop has it on 1.3, which puts D11 on some other input.

robertch1969 commented 7 years ago

@enter801 yeah have it on 1.4 but still no joy will keep trying

ronenst1 commented 7 years ago

Thanks to all, I uploaded the new Marlin version after updating the configuration.h files and install the BLTouch on my printer. It is working perfectly with dual head. Link to my dual head design. https://www.thingiverse.com/thing:2161827

probonopd commented 7 years ago

@enter801 since the BLTouch is relatively pricey, do you think a LJC18A3 would work too on this board?

ronenst1 commented 7 years ago

I have tried the LJC18A3 and it is working fine but the performance of the BLTouch is far away better and it is worth the price.

Stolarski Ronen

System Engineer

Camon, Migdal Hamaym 5 street

Camon 20112

Israel

Tel: : 972-4-9883429

Cell: : 972-52-3793279

BMW R1200GS 2005

On Sun, Aug 13, 2017 at 2:02 PM, probonopd notifications@github.com wrote:

@enter801 https://github.com/enter801 since the BLTouch is relatively pricey, do you think a LJC18A3 would work too on this board?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/MarlinFirmware/Marlin/issues/2906#issuecomment-322035307, or mute the thread https://github.com/notifications/unsubscribe-auth/ARog2TD08B9lK1qkKhsbCjtbWF91aV7xks5sXte3gaJpZM4HGoY7 .

github-actions[bot] commented 2 years ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.