Jump to content

Firmware for UMO+ containing a fix for the M42 command


etix

Recommended Posts

Posted (edited) · Firmware for UMO+ containing a fix for the M42 command

Few days ago I bought a 24v LED strip to add to my Ultimaker Original+ but after setting everything up on port J15 I wasn't able to control it. It seemed the firmware was crashing right after sending the M42 command.

In fact it was a firmware bug, the issue has been fixed for the UM2 but not for the UMO+ yet so I built my own version that I made available on Github.

This is the result:

IMG_20151125_222749.thumb.jpg.233dc24f484d0dd9c2263bfedb9abc9a.jpg

The intensity of the light can be controlled by PWM using the the M42 S[0-255] command. 0 being lit off and 255 being maximum brightness.

To flash, just get the proper firmware in 115200 or 250000 baud and single or dual extruder and use Cura to install the custom firmware.

Hope it helps :)

IMG_20151125_222749.thumb.jpg.233dc24f484d0dd9c2263bfedb9abc9a.jpg

Edited by Guest
  • Link to post
    Share on other sites

    • 1 year later...
    Posted · Firmware for UMO+ containing a fix for the M42 command

    Hello there,

    My UMO+ shows exactely the same problem and I hope that you have the solution to it.

    What was the bug with the M42 command and what did you have to change in order to get rid of it?

    Kind regards,

    jvcraen.

  • Link to post
    Share on other sites

    Posted · Firmware for UMO+ containing a fix for the M42 command

    This is 'funny' because I never experienced that issue myself although I always use the LEDs...

    But it is indeed a bug, for the ones using my builder that fix has been committed a couple of weeks a ago as well in my branch...

  • Link to post
    Share on other sites

    Posted · Firmware for UMO+ containing a fix for the M42 command

    Hoy,

    We now run the modified firmware as proposed by ETIX and our printer transformed in an intense light source. The 24V leds can do their job at last.

    I am new in the world of 3D printing, which means that I am haunted by many unanswered questions.

    Suppose you receive an UMO+ as a New Years present from a friend. How can you know which firmware has been uploaded into the Arduino memory? On the display of our printer eg. you will get the cryptic answer: Control -> firmware version -> DEV. 250000_single.

    When I look at the comments, replies, hints... on the internet it seems important to get a bit more information than that. Because depending on the firmware version, origin, flavour ... the printer is loaded with, it is going to respond differently to the led problem. Version12.9 seems to work version 12.14 not, modified UMOP-250000.hex is OK, the UMOP-250000.hex which came with our Cura version (2.3.0) is not and so on. Is there a satisfying answer to our question?

    Any comments?

    And by the way a very Happy New Year to you all.

  • Link to post
    Share on other sites

    Posted · Firmware for UMO+ containing a fix for the M42 command

    Ultimaker's Marlin for UMO has not been modified since ages, but each time there is a new Cura it is recompiled from sources, so you get a new version number for the same software...

    The issue we are talking about in this thread is a buffer overrun, so depending on how it is compiled you may or may not have issues which explains why some versions runs and other don't...

    To be more accurate, the version also corresponds to tags in the GitHub source tree, so you can go back to sources and check the differences. But as you will see, last 2 years tags are pointing to the same code.

    (Shameless plug: if you like playing with the LEDs, my firmware branch allows you to set brightness from the controller and save it in NVRAM so you get light at power on)

  • Link to post
    Share on other sites

    Posted · Firmware for UMO+ containing a fix for the M42 command

    Thx Amedee,

    your last remark seems very interesting. I will look into it tomorrow or the day after.

  • 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...