Jump to content

Detection of cheap (chinese) Prusa i3 RepRap Machine - Solution


DoubleXMinus

Recommended Posts

Posted (edited) · Detection of cheap (chinese) Prusa i3 RepRap Machine - Solution

Hi,

I  ran into some problems while trying to use cura (2.4 as well as 2.5) with my cheap Prusa i3 RepRap Machine. The machine does not show up as connected USB-Printer in Cura.

Problem 1:

The USB-Controller would not be recognized as USBSER from Windows instead Windows will recognize it as VCP0-Device.

Fix 1:

So I changed the USBPrinterOutputDeviceManager.py to not only look for USBSER-Devices.

Diff for USBPrinterOutputDeviceManager.py (Cura 2.5.0):

 

263c263<                     if not only_list_usb or "VCP0" in values[0] or "USBSER" in values[0]:--->                     if not only_list_usb or "USBSER" in values[0]:

 

Problem 2:

Next problem i ran into was that the USB-Controller in my case does not run with a baud-rate of 115000 the controller I use works with a speed of 57600.

Fix 2:

Modification of the stk500v2.py, after timeout trying to connect to the USB-Device with a baudrate of 115000 retry it with 57600.

Diff for stk500v2.py (Cura 2.5.0):

 

31c31,33<             raise ispBase.IspError("Failed to open serial port")---> #Modified Exception to connect to other printers which use Arduino with a Baud-Rate of 57600>             self.serial = Serial(str(port), 57600, timeout=1, writeTimeout=10000)> #raise ispBase.IspError("Failed to open serial port")

 

This is more a dirty hack cause I used raising exception to try it with new settings. Maybe anyone has an better idea.

Maybe some admin sees this and trying to get this infos to the DEV-Team!

I would love to use cura ootb in future versions without dirty-hacking some files ;)

Edited by Guest
  • Like 1
Link to post
Share on other sites

Posted · Detection of cheap (chinese) Prusa i3 RepRap Machine - Solution

Well, if you make a pull request regarding these changes they can be added to the release.

The other dev's don't look on the forum a lot, so github is the best place for this.

  • Link to post
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
    • Our picks

      • UltiMaker Cura 5.7 stable released
        Cura 5.7 is here and it brings a handy new workflow improvement when using Thingiverse and Cura together, as well as additional capabilities for Method series printers, and a powerful way of sharing print settings using new printer-agnostic project files! Read on to find out about all of these improvements and more. 
         
          • Like
        • 18 replies
      • S-Line Firmware 8.3.0 was released Nov. 20th on the "Latest" firmware branch.
        (Sorry, was out of office when this released)

        This update is for...
        All UltiMaker S series  
        New features
         
        Temperature status. During print preparation, the temperatures of the print cores and build plate will be shown on the display. This gives a better indication of the progress and remaining wait time. Save log files in paused state. It is now possible to save the printer's log files to USB if the currently active print job is paused. Previously, the Dump logs to USB option was only enabled if the printer was in idle state. Confirm print removal via Digital Factory. If the printer is connected to the Digital Factory, it is now possible to confirm the removal of a previous print job via the Digital Factory interface. This is useful in situations where the build plate is clear, but the operator forgot to select Confirm removal on the printer’s display. Visit this page for more information about this feature.
          • Like
        • 0 replies
    ×
    ×
    • Create New...