Skip to main content

Introduction

In this guide we will use Arduino to upload the code that runs the Sixi 2 robot.

  1. Download the stable master from https://github.com/MarginallyClever/Make...
  2. Go into the folder called Makelangelo-firmware and open Makelangelo-firmware.ino with the Arduino app. The Arduino app is available from https://www.arduino.cc/en/Main/Software
    • Go into the folder called Makelangelo-firmware and open Makelangelo-firmware.ino with the Arduino app.

    • The Arduino app is available from https://www.arduino.cc/en/Main/Software

    • You may be asked to update some features of Arduino. Please follow the prompts and get up to date.

    • You should see many tabs at the top of the app. If you have only one tab then Arduino has created that folder and moved the ino file into the folder. Quit Arduino, move the rest of the files into the new folder, and re-open the file.

  3. close Arduino.
    • close Arduino.

    • In the folder with Makelangelo-firmware.ino, find the subfolder presets/ and in there find the file sixi.h

    • copy presets/sixi.h to ./local_config.h

    • Reopen Arduino. there should now be a tab that called "local_config.h". click the tab and confirm that there is a line which reads #define MACHINE_STYLE SIXI

    • confirm there is a line which reads #define MOTHERBOARD BOARD_SIXI_MEGA

  4. Connect the USB from your computer to your robot. In Arduino, set Tools > Board to Mega 2560
    • Connect the USB from your computer to your robot.

    • In Arduino, set Tools > Board to Mega 2560

    • set Tools > Port to the port that says Mega 2560. This name is slightly different for OSX and Linux users.

    • If you do not see any com port, don't panic. Read the next step.

    • If you already see the COM port, you can ignore this step.

    • Suddenly disconnecting power while your PC is talking to your robot scares Windows. It will hide the COM port until after a reboot as a precaution.

  5. Click the upload button. The app will say "Compiling..." and then "Uploading..."
    • Click the upload button. The app will say "Compiling..."

    • and then "Uploading..."

    • When finished OK, it will say Done uploading.

    • For all other results, please copy all the text in the orange text in the fail message and post it to our support forums at https://www.marginallyclever.com/learn/f...

  6. Click the Serial Window icon in the top right (looks like a magnifying glass) Confirm that in the bottom right of the window the dropdowns says "newline".
    • Click the Serial Window icon in the top right (looks like a magnifying glass)

    • Confirm that in the bottom right of the window the dropdowns says "newline".

    • Confirm that in the bottom right of the window the dropdowns says "57600 baud".

    • Confirm that text appears and the first line says "[some noise]HELLO WORLD! I AM SIXI"

Conclusion

Congratulations! The code in your Sixi's brain is now reloaded. If this is your first time, proceed to step 11. Calibrate your robot.

One other person completed this guide.

Dan Royer

Member since: 02/13/2019

7,136 Reputation

37 Guides authored

0 Comments

Add Comment

View Statistics:

Past 24 Hours: 0

Past 7 Days: 0

Past 30 Days: 0

All Time: 186