Dan

Forum Replies Created

Viewing 25 posts - 276 through 300 (of 1,021 total)
  • Author
    Posts
  • in reply to: Skycam/SpiderCam #21501
    Dan
    Keymaster

    I believe your change makes no functional difference. If it helps you understand what’s going on, do it. 🙂

    in reply to: Skycam/SpiderCam #21492
    Dan
    Keymaster

    I assume we’re talking about https://github.com/MarginallyClever/Skycam/blob/master/skycamFirmware/skycamFirmware.ino

    I must have tried to do belt at some point. Probably got distracted and never finished the demo.

    PLOTTER_Z is an offset. Say your plotter head has attachments for the belts that are 5cm above the bottom. then PLOTTER_Z would be 5.

    If I had a pen in the plotter head then I would change the offsets so that they reflected the distance from the belts to the pen tip, so my G0 commands don’t require extra math in my head. Done correctly G0 X0 Y0 Z0 would touch the pen tip to the center of the floor.

    in reply to: Sanguinololu (or Sanguinolulu) Support #21385
    Dan
    Keymaster

    in servo.h,

    #else // everything else
    #define _useTimer1
    //#define _useTimer3
    typedef enum { _timer1, _Nbr_16timers } timer16_Sequence_t ;
    //typedef enum { _timer3, _Nbr_16timers } timer16_Sequence_t ;
    #endif

    in configure.h,

    //#define HAS_LCD // if you have an LCD panel
    //#define HAS_SD // if you have SD card support on your LCD panel (must be on panel?)
    #undef HAS_LCD
    #undef HAS_SD

    // only uncomment one of these options
    //#define LCD_IS_128X64 // reprapdiscount Full Graphic Smart LCD Controller
    //#define LCD_IS_SMART // reprapdiscount Smart LCD Controller (including XXL model)

    that gets me a little further.

    in reply to: Sanguinololu (or Sanguinolulu) Support #21384
    Dan
    Keymaster

    i’ve made the matching change and get the same TCNT3 problem. Unfortunately I didn’t write the servo.cpp file and I don’t know enough about timer interrupts to be helpful.

    in reply to: Gosper Curve #21377
    Dan
    Keymaster

    Now in the dev branch of the code. Expect it in the next release.

    in reply to: Hello, I would like advice or help #21359
    Dan
    Keymaster

    i am cleaning forums and i see no answer to your question. wait. what is your question?

    in reply to: Gosper Curve #21358
    Dan
    Keymaster

    Somehow I missed this post. Great suggestion! I’ll see about adding it right away.

    in reply to: Sanguinololu (or Sanguinolulu) Support #21297
    Dan
    Keymaster

    The current sanguinolulu defintions in board_sanguinolulu.h only have pins for two steppers and one servo.
    There’s even a line here that says:

    // TODO: if ZARPLOTTER & SANGUINOLULU throw a compile error, not enough motors.

    I have found some more here: https://reprap.org/wiki/Sanguinololu#Pin_Assignments
    I’ve added motor 3 and 4.

    BUT

    Motor 4 breaks with convention of all other boards because it doesn’t have a dedicated (recommended?) limit switch pin.
    I’ve assigned it to pin 24, the e-thermistor pin. I hope that works for you.

    get the latest version here: https://github.com/MarginallyClever/Makelangelo-firmware/tree/dev

    in reply to: Sanguinololu (or Sanguinolulu) Support #21294
    Dan
    Keymaster

    I’d really like to know why it doesn’t compile before you start removing sanity checks. What are the error messages?
    I’ll then open a github ticket here: https://github.com/MarginallyClever/Makelangelo-firmware/issues

    Note that I don’t have a sanguinolulu so this might take several tries to get right. Did you remember to set sanguinolulu in tools > boards?

    Dan
    Keymaster

    I’m a little surprised it isn’t there already!
    I made a ticket: https://github.com/MarginallyClever/Makelangelo-firmware/issues/48

    in reply to: ZARPLOTTER Makelangelo 5 FIRMWARE #21270
    Dan
    Keymaster
    in reply to: ZARPLOTTER Makelangelo 5 FIRMWARE #21234
    Dan
    Keymaster

    D0 command should jog a motor. I forget the exact details atm. But it should give you a way to test that motor independently.

    in reply to: Can't change settings on software #21071
    Dan
    Keymaster

    @mikecogs I’ll schedule time this afternoon to test and see if I can get the same results.
    Please give me a detailed step-by-step of what you are doing so I can repeat your actions as a test.

    in reply to: Skycam/SpiderCam #21070
    Dan
    Keymaster

    > The type java.lang.Object cannot be resolved.

    I would Google it and see what stackoverflow says.

    > can you confirm

    code says “Skycam – supports raprapdiscount RUMBA controller”. I don’t have hardware set up to retest it.

    All limits are relative to the origin (0,0,0). In my cube I set the home on the floor in the center at the origin. the corners are 1m away and 2m up, or
    (1000,1000,2000) for limit a,
    (1000,-1000,2000) for limit b,
    (-1000,-1000,2000) for limit c, and
    (-1000,1000,2000) for limit d.

    I hope that helps.

    in reply to: Skycam/SpiderCam #21014
    Dan
    Keymaster

    THREAD_PER_STEP should be mm – the amount of belt moved on each step of each motor. Assumes all motors are the same.
    If you know the pitch of your pulley then you can say thread_per_step = pitch / actualSteps.
    at 1/16 microstepping and 400 steps per turn, with twengty-tooth GT-2 pulleys,

    pitch = 20*2; // GT-2 is 2mm per tooth.
    actualSteps = 16 * 400; // microsteps*full steps per turn
    thread_per_step = pitch / actualSteps;

    M101 will let you adjust teh limit values at run-time so you don’t have to keep rebuilding the code while you figure out the right numbers.
    movement commands like G0 and G1 understand X, Y, and Z.

    in reply to: Skycam/SpiderCam #21013
    Dan
    Keymaster

    There are 1000 (one thousand) mm in a meter. so each of your corners would be something like (1000,1000,2000).
    limit_a* is the position of the motor A relative to the origin.

    in reply to: No "click to continue" menu #21001
    Dan
    Keymaster

    A day and a half of work… I think I am making progress. The M117 works better and the pauses happen when they should.
    Unfortunately the rewrite makes the LCD much much slower for reasons I don’t get yet.

    Is there anyone who is willing to grab the development version and try it out?

    in reply to: Zarplotter 4-motor drawing machine #20999
    Dan
    Keymaster

    in zarplotter.ino there should be a method called IK(). it takes the cartesian coordinates and converts them to motor steps (aka belt lengths).
    Acceleration is trapezoidal and is calculated in motor.ino. You can adjust acceleration within a G command by adding an A value. M114 will tell you the current A.

    Keep me posted on your development, please!

    in reply to: the drawing is offbeat #20990
    Dan
    Keymaster

    spools with string wound around them work poorly. each winding changes the diameter, which ruins the accuracy.

    There’s definitely a calibration problem, probably a measurement issue. You’re close, I can feel it. It doesn’t take much error on a polargraph to make a big difference.

    in reply to: No "click to continue" menu #20982
    Dan
    Keymaster

    Testing has found M06 tool change includes a pause command. Now that we have an explicit beep command and an explicit pause command, this is not required AND it’s invisible to the user. Oops. Removed the pause.

    There’s definitely more bugs in M117 and M226. I’m still working on it.

    Dan
    Keymaster

    So it would seem that with Scratch support now included, A-C are completed. Neato.

    in reply to: the drawing is offbeat #20980
    Dan
    Keymaster

    Your pulley pitch should be calculated from the number of teeth. For example, if you are using GT2 belt (2mm per tooth) and your pulley has 20 teeth then your pitch is 40mm.

    If your pitch is correct and your X or Y movements are wrong, check the measurement between both motors (machine width).

    Does that help?

    in reply to: No "click to continue" menu #20938
    Dan
    Keymaster

    please show the finished piece!

    in reply to: modification nouveau ploter #20937
    Dan
    Keymaster

    on our machines the servo wires for ground (black) and power (red/orange) are swapped. probably you have to do the same if you are using a RUMBA board.

    in reply to: No "click to continue" menu #20932
    Dan
    Keymaster

    That’s by design. People wanted to run without using the PC and I still needed a way to say “prepare the pen and click to continue”, especially if they were running a CMYK drawing.

Viewing 25 posts - 276 through 300 (of 1,021 total)