The code in Arduino

Shop Forum Makelangelo Polargraph Art Robot The code in Arduino

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #10497
    Anonymous
    Inactive

    Hi guys.

    I’m newbie in this project. I started the Java Software that make lines and columns about a image.

    But i have a question.

    (I’m read the documentation, but i’m not understand.)

    I need install any code in Arduino ??
    What the file need to install in Arduino ??

    Tks guys.

    #10501
    tjhawkey
    Participant

    Depends on what hardware you have. You can use an arduino and adafruit motorshield.
    There’s different code to download to the arduino depending on which shield you have.
    If you have homebrew hardware, expect to spend some time going through the firmware.
    It will likely need some modification. Fortunately, it’s nicely documented.

    #10503
    Dan
    Keymaster

    There are two parts to the project.

    The robot is loaded with FIRMWARE, which teaches it how to move the motors and listen to a language called GCODE. By sending the right commands you can make the robot do what you want.

    Sitting there typing out the commands by hand is so 1965. The Java SOFTWARE makes a nice interface with a menu with buttons and a preview. The software can send all the GCODE to the robot (one line at a time) and has some built in tests to prevent user mistakes.

    GCODE mostly tells the robot how to move in lines – move here, move there, move up, move down. The software can make a set of line instructions with the Generators. These include fractals and a few other patterns. The real trick is Converters that look at a picture you chooose. Each converter looks at the picture in a different way and creates a different set of line commands in GCODE.

    As an aside, if you write a sweet new Generator or Converter, I’ll include it in the project and you’ll be able to say your code runs on thousands of robots around the world. That might look good on a resume.

    Lastly, the software can read some kinds of DXF files. DXF files describe lines already, so they show up in the software exactly as you saved them from some other app. You can save DXF files from Inkscape (free), Fusion360, Solidworks, and more.

    #10599
    Anonymous
    Inactive

    Thanks DAN and Tjhawkey.

    I managed the software in java, the software open a image file and convert to gdoce, but my problem is with arduino.

    I download a zip file named “MarginallyClever-Makelangelo-firmware-c6f305a”. In this folder have two folders “firmware_ams” and “firmware_rumba”.

    In the folder “firmware_rumba”, i open the file firmware_rumba.ino with Arduino IDE with Arduino Mega 2560 and i have a error “This code is not meant for Arduino MEGA or RUMBA boards.”

    I would ask.

    The code not run in Arduino Mega?
    The code only runs in Arduino Uno ?

    #10601
    Anonymous
    Inactive

    HI again
    i downloaded the firmware version 1.4 and errors above ended.

    I need configure the ports of steppers motors and servo motor in file configure.h ??

    #10602
    Dan
    Keymaster

    Servo angle is configured in makelangelo-software. we only sell steppers with 400 step per turn. if your steppers are not then you need to adjust in configure.h

    #10622
    Anonymous
    Inactive

    tks, i will try.
    tks again

    #10623
    Anonymous
    Inactive

    hi dan, the makelangelo works, the steppers motors and servo motor works,
    but i have other ask,

    what the distance of stepper motor 1 and stepper motor 2 ?

    What the length of belt for stepper motors ??

    #10624
    Dan
    Keymaster

    the distance between the center of the two stepper motors depends on your individual setup.

    The makelangelo 2 comes with 3m of belt by default (1.5m each side). The Makelangelo 3 comes with 4m (2m each side).

    #10706
    Anonymous
    Inactive

    Hi dan, other question.

    I have four stepper motors, (two stepper motor with 1.8 step) and (two stepper motor with 3.6 step)

    What is better ?? Or i can configure step in file configure.h

    #10709
    Dan
    Keymaster

    The more steps the better. We use 400 step (0.9).

    #10790
    Anonymous
    Inactive

    Hi Dan

    I put my “Makelangelo” to work. The motors works and the servo too.

    I compile the software in java,connect to serial port, open a picture and click in “Start”, but my “Makelangelo” don´t draw,It looks like he’s crazy.

    I need to synchronize the position of pen in java software with the position of pen in my board ?

    The machine “machine width” and “machine height” is only to calculate the length of wires and belts ??

    #10791
    Dan
    Keymaster

    Yes, you need to synchronize. That is what the “set home” button does – it tells the software that the pen holder is at the location on the screen. you can use the calibration.pdf (https://github.com/MarginallyClever/Makelangelo-software/tree/bb690393628b8442c9e740018b6a7bed16c3ade9/calibration%20pattern) to line up the pen holder with the software. I did not include the paper instructions in the video for the 2.5, I have to edit and re-upload it.

    Machine width affects all the math for triangulation. Much more than wire length. Machine height also affects position of paper.

Viewing 13 posts - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.