Skip to main content

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. The code from Github has several "branches".  Each branch is pre-made for a different type of machine.
    • The code from Github has several "branches". Each branch is pre-made for a different type of machine.

    • Click here to change the current branch.

    • bugfix-2.1.x-polargraph-with-config is the branch installed by default on all Makleangelo 5 robots.

    • bugfix-2.1.x-polargraph-huge is the custom version for Huge machines. Out of the box a Huge might still have the 5 branch installed.

  3. Click on "Explorer"
    • Click on "Explorer"

    • Click on "Switch PlatformIO Environment"

    • Choose your environment. The default env for Makelangelo robots is env:mega2560.

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

  4. By default the firmware is setup for Makelangelo 5 polargraph robots.
    • By default the firmware is setup for Makelangelo 5 polargraph robots.

    • Please use Friday Facts 4 to customize your firmware for other hardware, etc.

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

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

    • Some custom boards (such as STM32* type) 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

7,136 Reputation

37 Guides authored

0 Comments

Add Comment

View Statistics:

Past 24 Hours: 1

Past 7 Days: 2

Past 30 Days: 8

All Time: 1,303