126

Re: SD Press - Under the Kimono

MacGyverX wrote:

Yeah, After about 3~8 layer or 15 mins of so, It would stop extruding. It would create filament dust or start thumping. When I took the chassis for the hotend apart, There would be a "C" shaped kink in the filament. I've tried temps between 210~290 still did it. If I where to guess. The assembly for the hotend gets hot and the filament starts to get 'floppy' and deforms.

Mine dusts the drive gear as well.

The Workbench creates the same filament dust to the point it coats the gear and stops extruding at times.  That machine has so much potential.  But, why on earth they went with a 3D printed carriage (as well as all the other gantry parts) is beyond me.  I am investigating piggybacking your ideas (http://www.soliforum.com/topic/9485/is- … me/page/3/) to get a Chimera (or the water-cooled Kraken) working in it.

127

Re: SD Press - Under the Kimono

Nice. I think when my SD2 gets retired I am going to build something that's dual extruded.

Quick question out there as I am stumped. Has anyone done any software testing against the FAN or PWN pins? I see it mapped to pin 16. But M105 S<value> M106 does nothing to either ports. Both ports stay on at full power. I am wondering if the PWM pin is for something else and FAN is just another fan header (like the others on the board which are on at full power on power up.)

I guess there is a possibility that the PIN in the FW is in one of the JST headers on the board.

Any ideas?

SD Press - v1 (Pre-order) / RAMPs /w DRV8825's / Cyclops (25w) / Dual Bowden / Mk8 Gear / MK2b PCB Heat bed /w custom replacement Z / PEI Bed
SD2 / E3D v6 / Direct Drive / Mk8 Gear / RAMBo v1.3 / PEI Bed / Anti Z backlash mod / Ikea Expedite enclosure.
Both Driven by Octoprint (devel) via a RPi B+ / Neopixel status alerts / GPIO Controlled SSR / (SD2) 450 Watt PSU for remote power-up/shutdown.

128

Re: SD Press - Under the Kimono

Have you reflashed your AT90USB chip? It has not been confirmed that the released firmware code is exactly what is loaded on the Press motherboard. 

I did a review of the source code for fan pin 16.  There is nothing in the firmware that would prevent command M106/M107 from working.  You could also try the pin specific command, but I doubt the results would be different.
M42 S0 P16
M42 S255 P16


After the software, the next thing to check is the circuit trace.  We have not seen the Press's schematic yet.  There may be an undocumented enable needed to be set first to enable those outputs.  Pin 16 in teensy arduino is actually pin 41 on the processor.  See if pin 41 actually runs to the transistors / resistors nearby the FAN or PWM connectors.  Next time I have my motherboard exposed, I'll poke around.



Code stuff
pins.h

#define FAN_PIN            16  // Fan

Marlin_main.cpp

case 106: //M106 Fan On
        if (code_seen('S')){
           fanSpeed=constrain(code_value(),0,255);
        }
        else {
          fanSpeed=255;
        }
        SERIAL_ECHOLN(fanSpeed);

Call Tree

Marlin_main.cpp > loop()
    Marlin_main.cpp > manage_inactivity()
        planner.cpp > check_axes_activity()
            tail_fan_speed = fanSpeed;
            analogWrite(FAN_PIN,tail_fan_speed);

129

Re: SD Press - Under the Kimono

Yeah I've reflashed the AT90. M42 S0 P16 / M42 S255 P16 doesn't do anything to either ports.

SD Press - v1 (Pre-order) / RAMPs /w DRV8825's / Cyclops (25w) / Dual Bowden / Mk8 Gear / MK2b PCB Heat bed /w custom replacement Z / PEI Bed
SD2 / E3D v6 / Direct Drive / Mk8 Gear / RAMBo v1.3 / PEI Bed / Anti Z backlash mod / Ikea Expedite enclosure.
Both Driven by Octoprint (devel) via a RPi B+ / Neopixel status alerts / GPIO Controlled SSR / (SD2) 450 Watt PSU for remote power-up/shutdown.

130

Re: SD Press - Under the Kimono

Crap, ... ok, next step then.  If you don't beat me to it, I will take a look next week at the wiring.

131 (edited by MacGyverX 2015-02-05 17:17:45)

Re: SD Press - Under the Kimono

Well thats not going to be easy. I figured I'd follow the traces under the board- but under those pins is the GND plane.
On the top of the board, I don't see any traces leaving those pins. So I am going to guess this is a 4 layer board. And what we need I can't see. So the next step is taking a meter and do a continuity check on all the pins on the AT90 to the positive side of that pin.

Heh. Yay.

Or they could release the gerber/eagle files. Or a schematic.

http://mlabs.us/public/ZZ10A2A210.jpg
http://mlabs.us/public/ZZ1522D40C.jpg

Too bad the 'cooling' fan for the board is in a weird spot. I'll like to drop some heatsinks on the exposed vias. But it's under the board. I'd have to figure out where to move that fan so its more effective than where it is.

SD Press - v1 (Pre-order) / RAMPs /w DRV8825's / Cyclops (25w) / Dual Bowden / Mk8 Gear / MK2b PCB Heat bed /w custom replacement Z / PEI Bed
SD2 / E3D v6 / Direct Drive / Mk8 Gear / RAMBo v1.3 / PEI Bed / Anti Z backlash mod / Ikea Expedite enclosure.
Both Driven by Octoprint (devel) via a RPi B+ / Neopixel status alerts / GPIO Controlled SSR / (SD2) 450 Watt PSU for remote power-up/shutdown.

132 (edited by MacGyverX 2015-02-05 18:03:36)

Re: SD Press - Under the Kimono

So the PWM GND is connected to (Q7) Then Q7 is connected to GND (PIN 53 on the AT90USB1286) Q7 POS is connected to PIN 10 (SS/PCINT0 - PB0)  on the AT90

http://mlabs.us/public//ZZ42AD3E02.jpg
http://avrhelp.mcselec.com/at90usb1287.png

SD Press - v1 (Pre-order) / RAMPs /w DRV8825's / Cyclops (25w) / Dual Bowden / Mk8 Gear / MK2b PCB Heat bed /w custom replacement Z / PEI Bed
SD2 / E3D v6 / Direct Drive / Mk8 Gear / RAMBo v1.3 / PEI Bed / Anti Z backlash mod / Ikea Expedite enclosure.
Both Driven by Octoprint (devel) via a RPi B+ / Neopixel status alerts / GPIO Controlled SSR / (SD2) 450 Watt PSU for remote power-up/shutdown.

133

Re: SD Press - Under the Kimono

Confirmed, it is a 4 layer board.  Tracing the wiring will take some trial and error without the gerbers or schematic.

Can convert chip pin numbers to arduino teensy pin numbers using this reference:  https://www.pjrc.com/teensy/card4b.pdf

Looks like B0 is arduino pin 20, HEATER_BED_PIN.  That doesn't make sense though...

134 (edited by MacGyverX 2015-02-05 20:47:17)

Re: SD Press - Under the Kimono

I goofed (I thought I rotated the image so pin 1 as in the right orientation as the mcu on the SD board. Nope.). I rechecked. POS side of the NPN goes to pin 41 (C6). The docs I have said it was A14 but the link you send said A16.

So I guess it has to be 16. 14 is mapped for Y_STOP_PIN. 16 is what it was set too. And M106/M105 does nothing to it.

SD Press - v1 (Pre-order) / RAMPs /w DRV8825's / Cyclops (25w) / Dual Bowden / Mk8 Gear / MK2b PCB Heat bed /w custom replacement Z / PEI Bed
SD2 / E3D v6 / Direct Drive / Mk8 Gear / RAMBo v1.3 / PEI Bed / Anti Z backlash mod / Ikea Expedite enclosure.
Both Driven by Octoprint (devel) via a RPi B+ / Neopixel status alerts / GPIO Controlled SSR / (SD2) 450 Watt PSU for remote power-up/shutdown.

135

Re: SD Press - Under the Kimono

So, from some quick research, I've found that if additional hardware timers are used, it disables groups of PWM pins on the chip.  People were running into this issue when they were attempting to use a servo for the auto-leveling probe with Marlin firmware... specifically with Pin 16 for fan control.

Supposedly, using a mechanical probe like the Press does shouldn't have this issue, but I wonder if there is a configuration item somewhere that is assigning that timer?   I don't have time to investigate further at the moment, but just wanted to share the info.

I did a google search for "marlin printrboard timer pwm" to find some discussion of the issue...

136

Re: SD Press - Under the Kimono

Yeah I was looking at FAN_SOFT_PWM & FAST_PWM_FAN. When FAST is enabled, It will not complie. When SOFT_PWM is enabled no changes the PWM pin is at full blast.

I decide to connect it up to my scope and got this.

http://mlabs.us/public/ZZ53529A61.jpg

That doesn't look PWM'y. Its a flat (noisey) 12V feed.

SD Press - v1 (Pre-order) / RAMPs /w DRV8825's / Cyclops (25w) / Dual Bowden / Mk8 Gear / MK2b PCB Heat bed /w custom replacement Z / PEI Bed
SD2 / E3D v6 / Direct Drive / Mk8 Gear / RAMBo v1.3 / PEI Bed / Anti Z backlash mod / Ikea Expedite enclosure.
Both Driven by Octoprint (devel) via a RPi B+ / Neopixel status alerts / GPIO Controlled SSR / (SD2) 450 Watt PSU for remote power-up/shutdown.

137

Re: SD Press - Under the Kimono

The one thing I noticed is when a fan connected to PWM, The heatbed take ALOT longer to get to temp. (The fan was connected but external to the printer so I can see if the changes where working at a glance)

SD Press - v1 (Pre-order) / RAMPs /w DRV8825's / Cyclops (25w) / Dual Bowden / Mk8 Gear / MK2b PCB Heat bed /w custom replacement Z / PEI Bed
SD2 / E3D v6 / Direct Drive / Mk8 Gear / RAMBo v1.3 / PEI Bed / Anti Z backlash mod / Ikea Expedite enclosure.
Both Driven by Octoprint (devel) via a RPi B+ / Neopixel status alerts / GPIO Controlled SSR / (SD2) 450 Watt PSU for remote power-up/shutdown.

138

Re: SD Press - Under the Kimono

MacGyverX wrote:

The one thing I noticed is when a fan connected to PWM, The heatbed take ALOT longer to get to temp. (The fan was connected but external to the printer so I can see if the changes where working at a glance)

Did you happen to figure out how the extra FAN connector is wired?

139

Re: SD Press - Under the Kimono

FAN pin is straight to power it seems.

SD Press - v1 (Pre-order) / RAMPs /w DRV8825's / Cyclops (25w) / Dual Bowden / Mk8 Gear / MK2b PCB Heat bed /w custom replacement Z / PEI Bed
SD2 / E3D v6 / Direct Drive / Mk8 Gear / RAMBo v1.3 / PEI Bed / Anti Z backlash mod / Ikea Expedite enclosure.
Both Driven by Octoprint (devel) via a RPi B+ / Neopixel status alerts / GPIO Controlled SSR / (SD2) 450 Watt PSU for remote power-up/shutdown.

140

Re: SD Press - Under the Kimono

It may seem a bit extreme, but I would try commenting out these lines in Marlin_main.cpp:

#if NUM_SERVOS > 0
#include "Servo.h"
#endif

or, just remove the "include "Servo.h"

Even though NUM_SERVOS is Undefined/0, The Arduino IDE does not handle preprocessor directives well... and the Servo library disables AnalogWrite for PWM on Pin16 on the AT90USB1286.

The Servo Library isn't needed, so "forcing" it to not be included shouldn't hurt.

I'll try this myself at some point... but I really haven't had much time to actually work on the printer.

I could be completely wrong here, but something seems to be making the Analogwrite command be ignored....

141

Re: SD Press - Under the Kimono

I'll give that a try as soon as this print finishes.

SD Press - v1 (Pre-order) / RAMPs /w DRV8825's / Cyclops (25w) / Dual Bowden / Mk8 Gear / MK2b PCB Heat bed /w custom replacement Z / PEI Bed
SD2 / E3D v6 / Direct Drive / Mk8 Gear / RAMBo v1.3 / PEI Bed / Anti Z backlash mod / Ikea Expedite enclosure.
Both Driven by Octoprint (devel) via a RPi B+ / Neopixel status alerts / GPIO Controlled SSR / (SD2) 450 Watt PSU for remote power-up/shutdown.

142

Re: SD Press - Under the Kimono

That didn't work either. Don't know what the deal is. I've tried everything I can think of. Rechecked the board again to make sure that it's in fact C6 aka PIN 16. (Or in some case PIN 22).

Pretty much stumped.

SD Press - v1 (Pre-order) / RAMPs /w DRV8825's / Cyclops (25w) / Dual Bowden / Mk8 Gear / MK2b PCB Heat bed /w custom replacement Z / PEI Bed
SD2 / E3D v6 / Direct Drive / Mk8 Gear / RAMBo v1.3 / PEI Bed / Anti Z backlash mod / Ikea Expedite enclosure.
Both Driven by Octoprint (devel) via a RPi B+ / Neopixel status alerts / GPIO Controlled SSR / (SD2) 450 Watt PSU for remote power-up/shutdown.

143

Re: SD Press - Under the Kimono

Have you tried soliprint after flashing firmware? I can no longer use it... It sees the printer, but reads wacky values for the extruder temp. RH works fine.  I still have the solidoodle press firmware header... Not sure what's up.

I wouldn't care, except I can't set the z-offset   RH prints a few mm above the bed. I tried an m206, and saved to eeprom...the eeprom reports the value, but it doesn't hep the first layer. Very weird.

Previously I set it with soliprint, and RH was fine, so I'm sure they are saving it somewhere.

144 (edited by MacGyverX 2015-02-07 18:07:46)

Re: SD Press - Under the Kimono

Haven't touch Soliprint until today. Man it's buggy. For me it shows the temp for the hotend is -100C.

My Press has been only used with OctoPrint. Haven't had any issues there.

When I swapped out the glass sheet for PEI. I manually leveled the media with a digital angle gauge and used 1mm precision washers under the four screws. Then ran G29 and off to the races.

I am assuming M105 response is different in the SD Provided Firmware files then what was shipped on the Press. And SoliPrint is expecting a specific response.

SD Press - v1 (Pre-order) / RAMPs /w DRV8825's / Cyclops (25w) / Dual Bowden / Mk8 Gear / MK2b PCB Heat bed /w custom replacement Z / PEI Bed
SD2 / E3D v6 / Direct Drive / Mk8 Gear / RAMBo v1.3 / PEI Bed / Anti Z backlash mod / Ikea Expedite enclosure.
Both Driven by Octoprint (devel) via a RPi B+ / Neopixel status alerts / GPIO Controlled SSR / (SD2) 450 Watt PSU for remote power-up/shutdown.

145 (edited by MacGyverX 2015-02-07 18:34:50)

Re: SD Press - Under the Kimono

Oh, The one thing I noticed with SoliPrint is it does a press_firmware_read and changes a couple values.
As a safety, I dumped my current hex before I connected it to SoliPrint. (Was not sure what was going to happen) I've done too much work for this crap app to screw it all up in <1 sec.

SD Press - v1 (Pre-order) / RAMPs /w DRV8825's / Cyclops (25w) / Dual Bowden / Mk8 Gear / MK2b PCB Heat bed /w custom replacement Z / PEI Bed
SD2 / E3D v6 / Direct Drive / Mk8 Gear / RAMBo v1.3 / PEI Bed / Anti Z backlash mod / Ikea Expedite enclosure.
Both Driven by Octoprint (devel) via a RPi B+ / Neopixel status alerts / GPIO Controlled SSR / (SD2) 450 Watt PSU for remote power-up/shutdown.

146

Re: SD Press - Under the Kimono

Thanks.  I think I may have found the command I need... I'm going to try it shortly.  There is an M851 command in the source code which is "M851 Set leveling probe Z offset".  I suspect that is the one I need to use.  I'll be trying it later today.

the -100 hotend temp is what I'm seeing also... that wasn't an issue with the original solidoodle firmware...  makes it seem as if the source code they provided is not quite what was loaded on the shipping units, unless Soliprint is checking for a build date or something.

I did dump my Flash before updating... it was identical to the .hex you pulled from yours.

147

Re: SD Press - Under the Kimono

I found the M851 also yesterday. I'll like to make a plug-in for OctoPrint that can do something similar was that SoliPrint does.
I have not explored that yet as I was dead set on getting the PWM pin working. Which still pisses me off.

SD Press - v1 (Pre-order) / RAMPs /w DRV8825's / Cyclops (25w) / Dual Bowden / Mk8 Gear / MK2b PCB Heat bed /w custom replacement Z / PEI Bed
SD2 / E3D v6 / Direct Drive / Mk8 Gear / RAMBo v1.3 / PEI Bed / Anti Z backlash mod / Ikea Expedite enclosure.
Both Driven by Octoprint (devel) via a RPi B+ / Neopixel status alerts / GPIO Controlled SSR / (SD2) 450 Watt PSU for remote power-up/shutdown.

148 (edited by MacGyverX 2015-02-12 02:37:18)

Re: SD Press - Under the Kimono

I still am having no luck with the PWM pin on the controller. I asked a SD employee if they could share some insight on how to get that configured. They also shared that the FW for the ATTiny & the Press gerber/eagle files will most likely not be released.

'the firmware on the attiny is proprietary and was written completely in house'

Don't understand the secrecy for something that blinks and lifts a FET. As we know, There are triggers to make the Press home on a single push. And you can make the LED blink via a M command. I am still going to see what I can do with the hex dump I got from the attiny. Any progress there will be reported.

As a side note. Although this is a couple days old- I've decided to do one more mod to the Press. And it was well worth it.

http://mlabs.us/public/ZZ20132322.jpg

http://mlabs.us/public/ZZ330AF001.jpg

That's a MK2B Dual Power PCB Heated bed (With a sheet of PEI above that). As you can see in the graph above. It gets to full temps as fast as the hotend- (<6 min'ish (The hotend is a E3D v6).

Where I got it > http://www.amazon.com/gp/product/B00M9TQ18A/

Is it worth the upgrade? Hells-to-the yes.

Currently out of town. I'll make a fresh post with all the mods I have done and the troubles I had along the way.

*--Edit --*

Oh yeah I've added a spool holder to the rear of the printer. Nothing fancy. But effective.

http://mlabs.us/public/ZZ3C6FCB02.jpg
http://mlabs.us/public/ZZ7A9B5A13.jpg

SD Press - v1 (Pre-order) / RAMPs /w DRV8825's / Cyclops (25w) / Dual Bowden / Mk8 Gear / MK2b PCB Heat bed /w custom replacement Z / PEI Bed
SD2 / E3D v6 / Direct Drive / Mk8 Gear / RAMBo v1.3 / PEI Bed / Anti Z backlash mod / Ikea Expedite enclosure.
Both Driven by Octoprint (devel) via a RPi B+ / Neopixel status alerts / GPIO Controlled SSR / (SD2) 450 Watt PSU for remote power-up/shutdown.

149

Re: SD Press - Under the Kimono

MacGyverX wrote:

Currently out of town. I'll make a fresh post with all the mods I have done and the troubles I had along the way.

Definitely looking forward to seeing that post!  Looks like great work.

I'm considering following your upgrade route, particularly with the E3D.  The new heater seems worthwhile too.  And once I've gone that far, not doing the PEI would just be silly. tongue

But... I probably won't bother if we can't figure out something with the PWM pin.  That situation is just ridiculous.  I'm wondering if Solidoodle may have some sort of design flaw on the board. 

They claim the board is an "entirely new solidoodle design", but it has an awful lot of similarities to the Printrboard boards...  That board is distributed under a Creative Commons License... Any work that is derivative, or "builds off of" that technology is required to be released under the same license.  Seems like Solidoodle is in violation of this by not releasing the Gerber/Eagle files.

in fact, the manual for the Press even specifies:

"The Solidoodle Press 3D Printer's motherboard is subject to the CC Sharealike license".

and

"Sources for both the motherboard and the firmware are available at: http://support.solidoodle.com/hc/en-us/articles/201317740-Firmware"

But, of course, they aren't really...

Anybody know a lawyer?

The AT-Tiny code is a different story, if developed completely in-house.

150 (edited by MacGyverX 2015-02-19 01:23:09)

Re: SD Press - Under the Kimono

Yeah. Pretty lame really.

I am seriously considering switching out the controller for something else (extreme I know. But I've done so many mod/upgrades- I mind as well). There are other things I'd like to add. i.e PWM controlled fan and a filament diameter sensor.
Not having the gerbers for the board would make that task a nightmare. I'd have to probe each pin to figure out where it goes.
And even then it may not even work (i.e. the fact that the PWM port is mapped to C6 / PIN 16 and it doesn't work. At all.)

And with them saying they have no intentions of releasing the gerber/eagle files or even the FW for the ATTiny is a bummer.
Considering as you've already said their other printers are operating of an open platform like the Printrboard. Come to think of it, With all the unpopulated JST headers on the board, I wonder if they plan moving all there next gen. printers to that board. It does say 'SD5" silkscreened on the controller after all.

Argh.

SD Press - v1 (Pre-order) / RAMPs /w DRV8825's / Cyclops (25w) / Dual Bowden / Mk8 Gear / MK2b PCB Heat bed /w custom replacement Z / PEI Bed
SD2 / E3D v6 / Direct Drive / Mk8 Gear / RAMBo v1.3 / PEI Bed / Anti Z backlash mod / Ikea Expedite enclosure.
Both Driven by Octoprint (devel) via a RPi B+ / Neopixel status alerts / GPIO Controlled SSR / (SD2) 450 Watt PSU for remote power-up/shutdown.