Skip to main content
/

Site Navigation

Your Account

Choose Language

Introduction

As of 2021 Makelangelo-firmware is now built and uploaded with PlatformIO. These instructions will show you how to build & upload from any windows-based device running VSCode.

  1. Install Microsoft Visual Studio Code Install PlatformIO inside MSVC. Install Github Desktop (or your favorite flavor of git)
  2. Click on "Explorer"
    • Click on "Explorer"

    • Click on "Switch PlatformIO Environment"

    • Choose your environment. The first part of each name should be the board type. The second part of each name is the CNC style.

    • Compile your code to make sure there are no errors.

    • If your board allows and is connected, upload your code.

    • If your board communicates over serial USB, connect here.

  3. Early Makelangelo robots had 400 steps-per-turn on each motor, or 0.9 degrees per step.
    • Early Makelangelo robots had 400 steps-per-turn on each motor, or 0.9 degrees per step.

    • Newer models have 200 steps, or 1.8 degrees per step.

    • in configure_motors.h you may need to tell the machine which kind of motors you have. the line starting with // is ignored and will have no effect.

    • In this example, the code is set for 200 step motors.

    • Once this is set correctly, upload the firmware again.

  4. Makelangelo robots store some important numbers in EEPROM such as machine size.  New machines have all values at zero.  Old machines getting a firmware upgrade may have outdated numbers.
    • Makelangelo robots store some important numbers in EEPROM such as machine size. New machines have all values at zero. Old machines getting a firmware upgrade may have outdated numbers.

    • To set these numbers to factory default values, connect to your robot through the serial monitor and send M502, factory reset.

    • You can verify the new numbers with M503, report all settings.

    • In older firmware the factory reset command was D11.

    • Some boards must be updated by copying firmware to an SD card. If you're reading this, come to Discord and tell me to finish this section.

Finish Line

Dan Royer

Member since: 02/13/2019

6,174 Reputation

28 Guides authored

0 Comments

Add Comment

View Statistics:

Past 24 Hours: 1

Past 7 Days: 5

Past 30 Days: 16

All Time: 460