Jump to content
Ultimaker Community of 3D Printing Experts

A Good GCode / Firmware Tutorial


jleichne
 Share

Recommended Posts

Posted · A Good GCode / Firmware Tutorial

Hey yall'

Two things: (1) I'm wondering if there is a good online resource for understanding the numerous commands in GCode. I know there is a list of all the commands but I haven't found any simple tutorial (although if there isn't I'm ready and willing to dissect the GCode of basic circles and squares for starters)

(2) I also want to update the firmware for Marlin, I've used Arduino environments before but before I start wading through the source code blind I would like to find a good resource. I plan to add additional printheads and I want to be able to add in the functionality of moving to a particular XY position and sending a trigger signal to the additional printhead (piezoelectric dropper) extrusion electronics.

Thanks for the help! I'm hoping there is a good place for me to start but I'm ready to start making my way through it anyways if there is not.

J

  • Link to post
    Share on other sites

    Posted · A Good GCode / Firmware Tutorial

    You can start with the RepRap gcode reference (

    http://reprap.org/wiki/G-code

    ), Ultimaker has the Marlin firmware and it supports most commands if the feature is present. The wiki does list for some commands if they are supported by Marlin or not, but others you just consider if the hardware support is there. For example the heated bed / heated chamber commands won't work on a stock Ultimaker as those features aren't present.

    Daid has a Marlin builder you can use to custom-build a firmware, you can add the 2nd extruder there in the configuration options IIRC. (

    http://daid.eu/~daid/marlin_build/

    )

    I'm not sure exactly what revision of Marlin it uses, I can't access it currently.

    You can do what you want with moving the head to XY and turn on the 2nd extruder without writing any code in Marlin, it will just take custom gcode as no slicer will autogenerate it for you.

    Edit: Also look at the Marlin github

    https://github.com/ErikZalm/Marlin

    Marlin.pde has comments for the list of supported commands.

    https://github.com/ErikZalm/Marlin/blob ... Marlin.pde

     

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

    • Our picks

      • New here? Get ahead with a free onboarding course
        Hi,
         
        Often getting started is the most difficult part of any process. A good start sets you up for success and saves you time and energy that could be spent elsewhere. That is why we have a onboarding course ready for
        Ultimaker S5 Pro Bundle, Ultimaker S5, Ultimaker S3 Ultimaker 2+ Connect.   
        They're ready for you on the Ultimaker Academy platform. All you need to do to gain access is to register your product to gain free access. 
        Ready? Register your product here in just 60 seconds.
          • Like
        • 13 replies
    ×
    ×
    • Create New...