Makelangelo suport for UNO+AMS

Home Forum Makelangelo Polargraph Art Robot Makelangelo suport for UNO+AMS

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #19317
    DanDan
    Keymaster

    Marginally clever no longer officially supports this hardware choice. It’s just not good enough to produce an aesthetically pleasing image.
    However! We didn’t just throw out the code. If you, the community, want to continue support for this hardware, this is the Github project:

    https://github.com/MarginallyClever/makelangeloFirmwareAMS

    Please feel free to send pull requests and we will merge your changes into the code for everyone.

    #20187
    AvatarAnonymous
    Inactive

    What about the software??

    #27656
    AliakberAliakber
    Participant

    Michelangelo Software is a wonderful tool. But it formats 2A0 and 4A0 which you want to do the robot with a width >1500 mm. With this width home position will become unreachable because the belt tension will be excessive, the pen does not rise to a height of 210mm.
    Is there a way to lower the home position a meter down from the axis of the motors?
    Is it possible to do this by editing files attached in Makelangelo-7.11.0-with-dependencies.jar -file?

    #27655
    AliakberAliakber
    Participant

    Hello everyone! My English is not so good, I’m from Russia.
    Here are the firmware + software for UNO+AMS that work for me
    Makelangelo win uno ams

    #27662
    DanDan
    Keymaster

    Please make this code a github pull request so that everyone can read it and your name goes into the development history. You deserve recognition for your work!

    #27679
    AliakberAliakber
    Participant

    it’s not my code, it’s yours, Dan.
    https://github.com/MarginallyClever/Makelangelo-firmware/releases/tag/7.11.0
    https://github.com/MarginallyClever/Makelangelo-software/releases/tag/7.11.0
    7.11.0 – it works on arduino uno + ams

    Dan, please tell me how to adjust the home position below, 1000mm down from the axis of the motors. 210mm is too high.

    #27684
    DanDan
    Keymaster

    @Aliakber we don’t currently have a nice way to do that. It has been an open ticket for a long time: https://github.com/MarginallyClever/Makelangelo-software/issues/223

    #27685
    AliakberAliakber
    Participant

    Ok, let it be a hard way. I’m open Makelangelo in Eclipse, but can’t find the “Home position” options. Where should I search and what is the name of this parameter?

    #27713
    AliakberAliakber
    Participant

    I found it!
    Here:
    src/main/java/com.marginallyclever.makelangeloRobot.settings/MakelangeloRobotSettings.java/

    package com.marginallyclever.makelangeloRobot.settings;
    
    import java.awt.BasicStroke;
    import java.awt.Color;
    import java.io.IOException;
    import java.io.Writer;
    import java.text.DecimalFormat;
    import java.text.DecimalFormatSymbols;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Iterator;
    import java.util.LinkedList;
    import java.util.List;
    import java.util.ServiceLoader;
    import java.util.prefs.Preferences;
    
    import com.marginallyclever.makelangelo.Log;
    import com.marginallyclever.makelangeloRobot.settings.hardwareProperties.Makelangelo2Properties;
    import com.marginallyclever.makelangeloRobot.settings.hardwareProperties.MakelangeloHardwareProperties;
    import com.marginallyclever.util.PreferencesHelper;
    
    /**
     * TODO move tool names into translations & add a color palette system for quantizing colors
     * All the hardware settings for a single Makelangelo robot.
     * @author Dan Royer
     */
    public final class MakelangeloRobotSettings {
    	public static final double INCH_TO_CM = 2.54;
    	/**
    	 * measured from "m4 calibration.pdf"
    	 * @since 7.5.0
    	 */
    	public static final float CALIBRATION_CM_FROM_TOP = 21.7f;
    	
    	private DecimalFormat df;
    	
    	private String[] configsAvailable;
    	
    
    	private ArrayList<MakelangeloRobotSettingsListener> listeners;

    public static final float CALIBRATION_CM_FROM_TOP = 21.7f;

    #27714
    AliakberAliakber
    Participant

    Hey Dan!

    My work is done
    https://yadi.sk/d/QXhNosq1rzSyGQ
    I apologize for the fact that I spread the file on file sharing, download and do everything as it should, on github
    I edited your *.jar file, named it makelangelo 7.11.2
    It works on arduino UNO + AMS
    The “home” point is located down 600 mm from the axis of the motors.
    Added the paper size I needed 1050 x 2100
    If necessary, I will be able to maintain this product by adding some changes to it. But I’m not a programmer, I’m an artist, and Arduino and Java know so-and-so .
    Have a nice day!

    • This reply was modified 1 week, 4 days ago by AliakberAliakber.
    #27716
    AliakberAliakber
    Participant

    I have a question

    image1
    image2

    my robot draws curved squares. The sides of the squares are 100 mm, but one diagonal is longer by 10 mm

    The motors are the same each winding is 7 Ohms
    Weights are the same, 150 grams
    Power Supply 5 Volts, 2 Amps
    Everything works well, quickly, nothing is heated, but the square is always skewed to the right.
    Any ideas?

    #27720
    DanDan
    Keymaster

    I don’t know why it would be skewed.

    You are certain you are starting in the right spot?

    Are the pulleys tight on the motor shafts?

    Are the belts slipping on the pulleys?

    Is there numerical error in the old firmware? (doubtful)

    #27721
    AliakberAliakber
    Participant

    I’ve rechecked it many times, and last night it occurred to me that this behavior might be caused by a difference in the diameter of the gears.
    The thing is, I use timing belts and stepper motors from an old printer. Two identical engines stood in different nodes of the printer and it turned out that they have a different number of gear teeth: one 14, the other 15. Rearranged the gear, now both 15 teeth and everything works fine!

    #27735
    AliakberAliakber
    Participant

    Dan, look how I implemented the belt clamp, can be useful
    belt clamp

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