QuoteDust your loop is weird... if((FilamentPinStatus>FilamentPinLastStatus) && (ELAPSED(fil_ms, fil_next_ms))) will always be true the instant FilamentPinStatus>FilamentPinLastStatus as fil_next_ms == 0 Right on. I didn't get it to compile at first because fil_next_ms wasn't declared, duh, so I just declared it with zero without thinking about it, thanks for pointing that out.von davidramiro - Firmware - Marlin
Hi there, I'm kind of struggling with millis_t and the ELAPSED macro. I'm working on a filament runout routine that triggers only if the sensor has been high for 3 seconds. So far my code looks like this, my issue is that the routine gets executed immediately: FilamentPinStatus=READ(FIL_RUNOUT_PIN)&0xff; const millis_t fil_ms = millis(); millis_t fil_next_ms = 0; // use real timvon davidramiro - Firmware - Marlin
Quotedc42 The DotStar LED strips from AdaFruit are a better bet, because they accept standard SPI protocol. This means that the timing of the signal to them isn't critical, also it can be done using DMA. Thanks for the suggestion, although those do not seem to be natively supported by Marlin.von davidramiro - RAMPS Electronics
Thank you for the answer! Guess I will hook it up to my Raspberry and control it via OctoPrint then.von davidramiro - RAMPS Electronics
Hi guys, I would like to add an RGB strip to my printer that can be controlled via Marlin. There's already a lot to find, but mostly for regular RGB strips, which use 3 pins on the board and have to be equipped with transistors. Now since Marlin has support for NeoPixel/WS2812B LEDs, that would simplify the whole thing. Power the strip externally with 5V and add only one wire for control on boavon davidramiro - RAMPS Electronics
Ok, figured it out: The constant M105 commands seemed to fill the serial buffer while wait_for_heatup was true. When the heating finishes, it seems like M1 is executed. I suppose there is a chance of two bytes getting cut off when the buffer is full so that M105 becomes M1. Anyways, adding flush_and_request_resend() to the end of the M109 and M190 loops fixes this issue. Hope it's not too dirtyvon davidramiro - Firmware - Marlin
Hi guys, using the latest bugfix-1.1.x, I enabled EMERGENCY_PARSER to be able to use M108 in headless mode, via host, to resume from M600 pause. The issue I am seeing now is that on some hosts (e.g. Pronterface) the firmware halts on M109 heatup. It heats up, displays "paused for user" and holds the temperature. Only if I send M108 the print starts (since that sets wait_for_user to false I suppvon davidramiro - Firmware - Marlin
Danke für die Antwort! Dass sie laufen, ist mir bewusst, bin ja schon seit längerem mit denen am Drucken. Zur Nutzung von UART definiert man allerdings "TMC2208", ohne "_STANDALONE". Das hatte mich lediglich gewundert, da ja Standalone meines Wissens nach keine Möglichkeit der Konfiguration bietet. Deswegen wollte ich nur des Verständnisses halber nachfragen, wieso man die in Marlin explizit avon davidramiro - Software
Hallo zusammen, und zwar geht's um die Marlin 1.1.x-bugfix, bin gerade dabei die Config für ein RAMPS1.4 Board anzupassen. Eigentlich ist es nur eine kleine Verständnisfrage, vielleicht kann mich einer aufklären: Ich betreibe meine TMC2208 noch im Standalone, stealthChop war mir wegen der Lautstärke fürs erste das Wichtigste. Man kann ja in der Configuration.h X_DRIVER_TYPE etc. auf TMC2208_STvon davidramiro - Software
QuoteWutz Der Ausgang für die Filamentkühlung, da lag der Wert deutlich unter den sonst gemessenen Werten der anderen Ausgängen. Also muß der Transistor für die Filamentkühlung defekt sein. Und sei es klargestellt, der Lüfter war immer am Board angeschlossen. Vermutlich war aber dieses Kabel für den neuen Lüfter, wo die Politärität gegenüber dem originalen Kabel vertauscht war, was mir zunächsvon davidramiro - Elektrik & Elektronik
QuoteWutz Jetzt hab ich mal die Firmware nochmals aufs Board gebügelt, hat aber nix gebracht, Der Lüfter von der Filamentkühlung läuft sobald ich den Drucker einschalte. Ich kann den am Drucker auf Null stellen oder in S3D, er läuft trotzdem. Und es liegt permanent Strom am Steckeranchluß am Board direkt mit 12,4 Volt an, das wird dort auch über eine futzelkleine SMD LED angezeigt, die eigentlichvon davidramiro - Elektrik & Elektronik