Hi I have a reprappro meldel tricolor with melzi electronics and marlin formware and

strange. I don’t understand why. maybe the melzi board does not support software reset @Jarred_Baines does software reset in the App work for your melzi board ?

Actually I think I had an issue with reset and pause from memory, but It was before you had full SD support and I was printing from the SD (pause / reset command wasn’t inserted into the que?)

I will take a look tonight and report back :wink:

Hi. I just did a print last night from the tablet and it worked perfectly, so it is only during connection that I have to do this manual reset. Besides that everything works as it should.

Once connected, does the reset button (red circle) work as expected and trigger a reset, or does it nothing ? Trying to find out if melzi board recognizes the DTR signal to do soft reset.

Reset button in pronterface works @Mathias_Dietz , I’d say it does recognize it?
RepRapPro have their own “version” of marlin, perhaps it has a glitch!

@Jarred_Baines reset is usually handled by the underlying arduino and not by the firmware. Therefore it might be implemented differently on melzi. Not sure if pronterface does something special,

        self.printer.setDTR(1)
        self.printer.setDTR(0)

This is the reset code from pronterface which resets my Melzi. I guess it is using DTR… And therefore, I guess that a Melzi can be reset by DTR?

I’m reaching here, lol - but thought the info might help you find the issue :wink:

Hi looking at the diagrams for the melzi I might have an idea … I will test this tonight when I get home from work.

@Jarred_Baines pronterface code looks pretty much like the GCodePrintr code:
serialPort.setDTR(false);
try {
Thread.sleep(800);
} catch (Exception e) {}
serialPort.setDTR(true);
//Wait to fill buffer

Yes. The this is that the DTR is not coupled on the melzi electronics, so no matter what the code does, the DTR pin is not triggered. The Melzi electronics does however have a auto reset function, that I will play with tonight

Oh? Lol I’ve never clicked it in pronterface I only use pause or manual reset ifsd printing :wink:

I can confirm that enabling auto reset on the Melzi hardware makes it possible for the App to connect to the printer without you having to manually push the reset button.

@Jorgen_Larsen thanks, I will add this to the FAQ. I still don’t understand why the non-reset mode does not work. Here the App just sends M105 and waits for a response.

Great @Jorgen_Larsen - if you have auto reset enabled does that interrupt SD printing if device is disconnected / reconnected?

I start a print and walk away WITH my phone… Come back in a few hours and plug the phone back in to tweak a setting etc - auto reset would interrupt the print I would think?

@Jorgen_Larsen did you see any improvement with the current beta version ? I changed some code in this area to better cope with Repetier firmware which might affect you as well.

I plug in, press ‘connect’ and it’s all smooth sailing from there, RepRapPro / Melzi / latest marlin / latest GCodePrintr…

Bot’s still going through “growing pains” so no long-term results, but I DID sometimes have to press connect twice in the past, now it’s click > done…