1 (edited by rpineau 2014-02-13 07:57:27)

Topic: I can't get the printer to print starting in the center of the bed

I have a solidoodle 2 that I try to use on my Mac (OS X 10.9.1).
I already have another thread going on about size issue when printing (Z axis print height is about 25% to short).
Now I also have issue printing in the center of the print bed.
I set the printer dimensions in Repetier-Host Mac to x max =159 and y max =150, front bed is 0 left bed is 0 (as seen in the wiki and other places).
Now in Slic3r printer config I set the same values and set the center to 75, 75
no matter what, it still try to print in the front corner. I try to set the center to 0,0 as it looked like it was print of center by 75,75 but still no go.
How do I configure Repetier-Host Mac and Slic3r to print in the middle of the bed ?!

Thanks, Rodolphe

PS : I'm a newbie at this.. so please ne kind wink

2 (edited by rpineau 2014-02-08 23:23:44)

Re: I can't get the printer to print starting in the center of the bed

I ran some test code :

G21 ; set units to millimeters
G90 ; use absolute coordinates
G92 E0
M82 ; use absolute distances for extrusion
G1 F9000.000 E-2.50000
G92 E0
G1 Z5 F4500.000
G1 X0.0 Y0.0F450

So it should put the extruder in the front left corner .. except it's obviously trying to go further and the motors are not happy.
It's like the printer is totally off-center !

I set the printer dimentions like this Repetier-Host Mac :
Home : x-max, y-max, z-min
x-min : 0
x-max : 159
y-min : 0
y-max : 150

print area width : 159
print area depth : 150
print area height : 150
bed front : 0
bed left : 0

I can’t get the printer to print anything center. It’s like it think the print bed is 200x200 mm even if I give it the right dimension.

3

Re: I can't get the printer to print starting in the center of the bed

I noticed that my solidoodle 2 report the machine_type as :
PROTOCOL_VERSION:1.0 MACHINE_TYPE:Solidoodle_3 EXTRUDER_COUNT:1

As the solidoodle 3 has a different bed size could this be my issue ?!
How do I fix the bed size? Do I need a different firmware ?

4

Re: I can't get the printer to print starting in the center of the bed

You will be ed to change the firmware setting if it's reading as SD3

5

Re: I can't get the printer to print starting in the center of the bed

Which mean installing a new firmware compiled for the SD2 ?

6

Re: I can't get the printer to print starting in the center of the bed

I tried reflashing the firmware and It doesn’t flash :

Binary sketch size: 58944 bytes (of a 63488 byte maximum)
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding



As I’m a developer and write my on code on Amtel MCU I tried directly from the command line with a recent version of avrdude and got a similar error but with a lot more debug :

[scooby ~]$ avrdude -v -v -v -v -v  -C/Applications/Tools/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf -q -q -patmega644p -cstk500v1 -P/dev/tty.usbmodem12341 -b38400 -D -Uflash:w:/var/folders/mn/tzxt87gn4_396k8np5f10ml00000gn/T/build4301570786225719726.tmp/Marlin.cpp.hex:i

avrdude: Version 5.11.1, compiled on Feb 12 2013 at 01:24:54
        Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
        Copyright (c) 2007-2009 Joerg Wunsch

        System wide configuration file is "/Applications/Tools/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf"
        User configuration file is "/Users/XXXXX/.avrduderc"
        User configuration file does not exist or is not a regular file, skipping

        Using Port                    : /dev/tty.usbmodem12341
        Using Programmer              : stk500v1
        Overriding Baud Rate          : 38400
avrdude: Send: 0 [30]   [20]
avrdude: Send: 0 [30]   [20]
avrdude: Send: 0 [30]   [20]
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding


So it looks like the board doesn’t go in firmware flashing mode after avrdude sends it the init.

Any clue ?

7

Re: I can't get the printer to print starting in the center of the bed

Looks like my board is a Printrboard Rev E ,  so I actually need a firmware for Solidoodle 2 on at90usb1286.
In addition to this, if I press reset it doesn't go in the boot loader and comes back directly in the Marling firmware so I'll also have to flash a boot loader. I have an AVRISP mkII so I really need the firmware hex file, fuse bit config and a boot loader (so that next time I don't need to use the AVRISP mkII).
Any tips, direction, pointers .... please.. I'm getting desperate.

Thanks, Rodolphe

8 (edited by rpineau 2014-02-12 06:51:39)

Re: I can't get the printer to print starting in the center of the bed

So I built a firmware under Windows in a VM , chose the right board (81 = Printrboard (AT90USB1286)) and flashed the firmware.
But now it says that the machine type is Mendel !!
Which board should I chose to get the proper Machine type (Solidoodle_2) ?

Thanks
Rodolphe

9

Re: I can't get the printer to print starting in the center of the bed

There is a minor change that needs to be made to the firware to get the Machine Type .

Below shoudl fix your porblem.

To get the firmware to correctly recognize board type you need to change the language.h file to read as

#elif MOTHERBOARD == 6 || MOTHERBOARD == 62 || MOTHERBOARD == 33 || MOTHERBOARD == 34 || MOTHERBOARD == 81  //{SD Patch}

10 (edited by rpineau 2014-02-13 01:43:35)

Re: I can't get the printer to print starting in the center of the bed

Easy patch indeed. Done. Thanks (I should have done a grep for the machine type and found this.).
Regards, Rodolphe