1. Got a question or need help troubleshooting? Post to the troubleshooting forum or Search the forums!

Repurposing Pirate3d Buccaneer

Discussion in 'Off Topic' started by milw, Jul 29, 2017.

  1. milw

    milw New Member

    Joined:
    Jul 8, 2017
    Messages:
    15
    Likes Received:
    6
    Yes I tried some obvious combos, but without source code I think it’d be really difficult to change how it works, like the horrid web interface.


    Sent from my iPhone using Tapatalk
     
    name61 likes this.
  2. gschielack

    gschielack New Member

    Joined:
    Sep 15, 2017
    Messages:
    7
    Likes Received:
    2
    i have mine working. it still needs some tweaking in the marlin firmware. i'm using the extruder that it came with, but i did get a new heater and thermistor. i haven't cut any stock wiring on mine. i was able to plug the x, y and z stepper plugs directly into the ramps board. i used some jumper cables to connect the home switches and the extruder stepper. i originally tried to use all the pins where the ribbon cable connected to the extruder, but ended up just using mechanical endstop, stepper motor, ground and fan. what i found out is that when the mechanical endstop on the extruder is pushed in, it kills the ground for everything else (ie. thermistor, optical endstop, etc.). i am using the optical endstop, but wired it directly to the ramps using jumpers. and i'm just using a computer power supply. i haven't had time to mess with it lately, but it does work, just needs some tweaking in marlin mainly the steps/mm on the axis and extruder. and this is my first 3d printer, so i am new to this. i tried to post my marlin files. hopefully it worked... 20171217_210359.jpg 20171217_210427.jpg 20171217_210716.jpg
     

    Attached Files:

    #22 gschielack, Dec 18, 2017
    Last edited: Dec 19, 2017
  3. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,912
    Likes Received:
    7,338
    If you can't use the RepRap calculator (maybe you do not know the thread sizes and the like) you can always dial in the numbers by trail and error. Set a value and then move 10/50mm whatever and then see how far it traveled and do the math to get the correct number :)
     
    Geof likes this.
  4. gschielack

    gschielack New Member

    Joined:
    Sep 15, 2017
    Messages:
    7
    Likes Received:
    2
    Yeah, one of these days i'm going to have to sit down and do that. i think the x, y and z should be fairly close. i measured how far it moved when i told it to move 100mm and as long as i go the math right, it should be close, but i havent actually tested it. but the extruder i haven't done yet. it looks like its putting out too much filament. and i have the x and y 0,0 at the back left of the machine. i have the limit switches for x and y reversed from the way they are labled on the printer to get it to work the way i wanted to.
     
  5. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,912
    Likes Received:
    7,338
    Just do the same math for the eSteps and you will be fine -- calculated is just as good :)
     
  6. racer

    racer Member

    Joined:
    Dec 23, 2017
    Messages:
    33
    Likes Received:
    14
    the Pirated 3D website is offline, does someone have the original buccaneer windows software (need it for reverse enginering). I'm trying to convert the buccaneer to a octo-print + marlin solution using the original hardware (Cubieboard2 + Sanguino)

    Please post a link where I can download the software.
     
  7. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,912
    Likes Received:
    7,338
    I would think you can simply edit the configuration to match your hardware (in terms of X/Y/Z/E steps) and be pretty well set.
     
  8. racer

    racer Member

    Joined:
    Dec 23, 2017
    Messages:
    33
    Likes Received:
    14
    That's just the beginning, I'm looking for the commands to load / eject filament, auto-levelling etc. I mounted a serial rx on the hardware connection and can now see the commands that the Buccaneer sends to the marlin firmware. The only thing I am missing is the original Windows installation software: buccaneer-0.9.7.exe
     
  9. milw

    milw New Member

    Joined:
    Jul 8, 2017
    Messages:
    15
    Likes Received:
    6
    racer likes this.
  10. racer

    racer Member

    Joined:
    Dec 23, 2017
    Messages:
    33
    Likes Received:
    14
    Thank you, download & installation worked!
     
  11. racer

    racer Member

    Joined:
    Dec 23, 2017
    Messages:
    33
    Likes Received:
    14
    I can now read the serial line, but I don't think I've got the correct serial settings yet as there is still some gibberish at the end of every line.

    This is some info that the ATMega1284p returns to the cubieboard2:

    ERR:printer halted. kill() called!*TnM-'a
    start*+M-aM-^IM-C
    echo: Watchdog Reset*#+zM-P
    Watchdog Interrupt Disabled*{SM-qM-M
    Marlin2.1*M-^NrM-TM-[
    echo: Last Updated: Feb 3 2015 16:30:19 | Author: Pirate3D*5M-8M-s0
    Compiled: Feb 3 2015*)M-sBM-d
    echo: Free Memory: 12931 PlannerBufferBytes: 1344*&M-OM-Ox
    echo:Stored settings retrieved*FzM-^N<
    echo:Steps per unit:*M-<M-&M-^RM-N
    echo: M92 X80.0000 Y80.0000 Z1600.0000 E115.0000*cuHV
    echo:Maximum feedrates (mm/s):*M-"M-oM-wM-^N
    echo: M203 X500.0000 Y500.0000 Z6.0000 E25.0000*r2*}
    echo:Maximum Acceleration (mm/s2):*M-^K'yM-#
    echo: M201 X9000 Y9000 Z333 E1000*M-J0M-oM-T
    echo:Acceleration: S=acceleration, T=retract acceleration*M-^JM-^SM-^Zj
    echo: M204 S1000.0000 T3000.0000*XcM-1M-^@
    echo:Advanced variables: S=Min feedrate (mm/s), T=Min travel feedrate (mm/s), B=minimum segment time (ms), X=maximum XY jerk (mm/s), Z=maximum Z jerk (mm/s), E=maximum E jerk (mm/s)*M-kM-^JM-^Js
    echo: M205 S0.0000 T0.0000 B20000 X20.0000 Z0.4000 E5.0000*L$@u
    echo:Home offset (mm):*yM-'M-^VM-^A
    echo: M206 X0.0000 Y0.0000 Z0.0000*}M-0M-?M-6
    echo:pID settings:*n|LM-^F
    echo: M301 P22.2000 I1.0800 D114.0000*HDxM-/
    echo:Auto leveling Settings:*M->7M-^NM-Z
    echo: zprobe_zoffset 9.7000*8M-0}M- ​


    And these are some commands that the Cubieboard sends to the ATMega1284p:

    N9091098 M104 S0*Z*-M-h
    N9091099 G27*!0MM-`
    N9091100 G5 C7 Q0*M-%M-^@:N
    N9091101 G5 C1 Q0*M-^QM-heM-k
    N9091102 M112*}.*M-8
    N9091103 M104 S0*M-^CM-&M-Ym
    N9091104 G27*_8M-h=
    N9091105 G5 C7 Q0*CM-l^M-^I
    N9091106 G28 Y0*i5M-MM-q
    N9091107 G5 C6 Q0*M-o;M-FM-h
    N9091108 G28 X0*M-jM-rM-BM-^X
    N9091109 G5 C5 Q0*M-H;KM-^O
    N9091110 G5 C1 Q0*M-Ea^?]​

    Any suggestions how to get rid off the gibberish?

    These are the current serial settings for the communication between the Cubieboard2 and the ATMega1284P:

    stty -F /dev/ttyS1 -a
    speed 38400 baud; rows 0; columns 0; line = 0;
    intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>;
    eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R;
    werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0;
    -parenb -parodd -cmspar cs8 hupcl -cstopb cread clocal -crtscts
    -ignbrk -brkint ignpar -parmrk -inpck -istrip -inlcr -igncr -icrnl -ixon -ixoff
    -iuclc -ixany -imaxbel -iutf8
    -opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
    -isig -icanon -iexten -echo echoe echok -echonl -noflsh -xcase -tostop -echoprt
    echoctl echoke






     
  12. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,912
    Likes Received:
    7,338
    Usually I run the Arduino at 115200, but theoretically it should work lower.
     
  13. racer

    racer Member

    Joined:
    Dec 23, 2017
    Messages:
    33
    Likes Received:
    14
    Me 2 or even 250000, but the Buccaneer has an ATMega 1284p which runs appaerently better at 38400.

    In case you use Linux, could you maybe run the following command on the serial port with the Arduino?

    stty -F ( serial port with the Arduino e.g. /dev/ttyUSB0 ) -a

    and post the outcome here? Maybe I can find out, by comparing, what's wrong with mine.
     
  14. racer

    racer Member

    Joined:
    Dec 23, 2017
    Messages:
    33
    Likes Received:
    14
    I‘m working on this now. My goal is to get Octo-Print working on the original hardware with The Marlin firmware.
     
    tomventie likes this.
  15. racer

    racer Member

    Joined:
    Dec 23, 2017
    Messages:
    33
    Likes Received:
    14
    What I did to get SSH root access was the following:

    Take the SD card from the Buccaneer, make a copy, use the copy to experiment. I copied my SSH public key to /root/.ssh/authorized_keys after which I can log on as root onto the Buccaneer.
     
  16. racer

    racer Member

    Joined:
    Dec 23, 2017
    Messages:
    33
    Likes Received:
    14
    What are these switches for?

    upload_2017-12-29_17-7-53.png
     
  17. milw

    milw New Member

    Joined:
    Jul 8, 2017
    Messages:
    15
    Likes Received:
    6
    unknown, there was no response when i tried them with printer on. Maybe following the traces would give a clue?


    Sent from my iPhone using Tapatalk
     
  18. racer

    racer Member

    Joined:
    Dec 23, 2017
    Messages:
    33
    Likes Received:
    14
    I was able to read the settings from the original Buccaneer Firmware:

    Steps per unit:
    X=80.0000
    Y=80.0000
    Z=1600.0000
    E=115.0000

    Maximum feedrates (mm/s):
    X=500.0000
    Y=500.0000
    Z=6.0000
    E=25.0000

    Maximum Acceleration (mm/s2):
    X=9000
    Y=9000
    Z=333
    E=1000

    Acceleration: S=acceleration, T=retract acceleration
    S=1000.0000
    T=3000.0000

    Advanced variables: S=Min feedrate (mm/s), T=Min travel feedrate (mm/s), B=minimum segment time (ms), X=maximum XY jerk (mm/s), Z=maximum Z jerk (mm/s), E=maximum E jerk (mm/s)

    S=0.0000
    T=0.0000
    B=20000
    X=20.0000
    Z=0.4000
    E=5.0000

    I hope this helps
     
  19. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,912
    Likes Received:
    7,338
    Awesome work. I would suggest you eliminate the 9000 numbers here though:

    That is too high for most printers, but it may work on a delta (they tolerate higher acceleration far better).
     
  20. tomventie

    tomventie New Member

    Joined:
    Dec 25, 2017
    Messages:
    4
    Likes Received:
    0
    i seem to have received a late version, only problem is using filaments due to the low heating temp. if you search for a quick solution here: cut the line to header pin#9 on the extruder board, and solder a 200 ohm trimmer between thermistor out and pin#9. that does it for me to go between ca 195 and 215°C.
     

Share This Page