filipmu / marlin-mackerel Goto Github PK
View Code? Open in Web Editor NEWMackerel - A Version of Marlin for Lyman Extruders
Home Page: http://www.thingiverse.com/thing:380987
Mackerel - A Version of Marlin for Lyman Extruders
Home Page: http://www.thingiverse.com/thing:380987
Hi Filipmu!
I bought a machine to make filament but it is not performing as good as I would like, so I decided I will add a filament sensor and connect it, through ramps 1.4, to the puller, displaying all necessary information in a 2004 LCD (RPM of the puller motor - measured diameter of filament in mm - filament feed rate at puller in mm/sec - lenght of filament produced in mm - average measured filament diameter - minimum measured filament diameter - maximum measured filament diameter).
For what I am seeing, it is contemplated in the firmware, but I want it to be an isolated system, that only controls the puller speed due to the real time readings of filament diameter, because the other parts of the machine run ok and I don't want to change them because I don't have the current firmware. The seller is not answering my mails and isn't giving me support as he promised.
Can you help me a bit telling me what do I have to modify to achieve this? I am really frustrated with the machine I have and I think this is the solution.
I would appretiate it a lot.
Thank you and greetings from Argentina!
Santiago Serrano.
I wrote a comment on thingiverse to include max and min filament width in the display. Alternating those two values with average on the display. And clearing it when "clear statistics" is selected.
Hi,
I'm trying to swap the extruder stepper motor with a DC motor, as I got a geared one that should work well enough. My idea is to swap the winder motor with the stepper using the firmware, but I don't know which parts of the firmware I should change.
I have checked in the code and it seems I only need to change some stuff between the lines 722-877 on the Mackerel.h file. Is there anything else that I need to be aware of?
I am building my own filament extruder and I would like to use Mackrel as firmware. In my defign I would like to use a stepper motor to drive spool winder.
I would like to also keep the option to use 12V DC motor as winder. To do this there would be something like USE_WINDER_STEPPER
directive in the config file. The directive would switch between logic that drives the D8
pin and logic that drives the stepper winder, lets call it W_AXIS
.
The idea is to repurpose X
axis of the printer board as a winder W
axis if USE_WINDER_STEPPER
is defined. The extruder does not use the X
,Y
,Z
axes anyway.
To make the stepper work we need to re-enable the X stepper logic. Specific issue with X
,Y
,Z
axes is they have software endstops. We need to disable those if USE_WINDER_STEPPER
is defined.
Logic of resuming and stopping the extrusion needs to be changed to not enable winder using winderSpeed
variable. Feedrate settings can remain unchaned, the logic of planing moves will handle Winder RPM
setting as is. Other than that minor changes to the menu is needed to include winder in Move axes
menu.
Might it be an idea to have an option to set extruder speed before first having to select "resume extruder" and then "Tune" ? Specially when directly at start the extruder will stall. When a stall happens I rather first select "pause extruder" and then change the speed then letting the stall continue and select "tune" and changing the extruder speed.
Hi,
I have the following issue :
It beeps when reaching min temperature, fan is starting and puller motor starts but motor extruder doesn't. I switched the motors and the pins e0 with e1 to check if any issues with the driver on the ramps=> none.
I use 3 jumpers on E0 instead of a switch and it shows E RPM Off when reaching temperature. Any suggestions ? Thank you ๐ก๏ธ
I also get this when upload Mackerel ๐ฏ
In file included from sketch\Mackerel.h:23:0,
from sketch\thermistortables.h:4,
from sketch\Configuration.h:847,
from C:\Users\control\Desktop\Firmaware\Mackerel\Mackerel.ino:33:
sketch\pins.h:499:0: warning: "X_MAX_PIN" redefined
#define X_MAX_PIN -1 //FMM remove definition for limit pins to speed the stepper interrupt.
sketch\pins.h:445:0: note: this is the location of the previous definition
#define X_MAX_PIN 2
sketch\pins.h:500:0: warning: "Y_MAX_PIN" redefined
#define Y_MAX_PIN -1
sketch\pins.h:451:0: note: this is the location of the previous definition
#define Y_MAX_PIN 15
sketch\pins.h:501:0: warning: "Z_MAX_PIN" redefined
#define Z_MAX_PIN -1
sketch\pins.h:457:0: note: this is the location of the previous definition
#define Z_MAX_PIN 19
sketch\pins.h:502:0: warning: "X_MIN_PIN" redefined
#define X_MIN_PIN -1
sketch\pins.h:444:0: note: this is the location of the previous definition
#define X_MIN_PIN 3
sketch\pins.h:503:0: warning: "Y_MIN_PIN" redefined
#define Y_MIN_PIN -1
sketch\pins.h:450:0: note: this is the location of the previous definition
#define Y_MIN_PIN 14
sketch\pins.h:504:0: warning: "Z_MIN_PIN" redefined
#define Z_MIN_PIN -1
sketch\pins.h:456:0: note: this is the location of the previous definition
#define Z_MIN_PIN 18
When you want to change the temperature before starting the preheat procedure the default value is 0 and not the predefined value.
Might it be an idea to echo the filament width measurements with a time stamp and/or length info to the serial port so that a full audit of the filament run can be done after the extruding has been finished?
can you please provide some help to implement that sensor in your firmware?
Is you sensor used in a closed loop control or is it just for monitoring the diameter?
link to the sensor im talking about : https://www.youmagine.com/designs/filament-diameter-sensor
link to the firmware for the sensor: https://github.com/drspangle/infidel-sensor
InFiDEL - Inline Filament Diameter Estimator (lowcost)
this sensor outputs data via i2c
Hi, i downloaded the files but when i try to upload it i get a error
and it stops uploading could you help fix it??
regards Danny Geurts
Arduino: 1.6.13 (Windows 10), Board:"Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
In file included from sketch\Mackerel.h:23:0,
from sketch\thermistortables.h:4,
from sketch\Configuration.h:847,
from D:\Downloads\Marlin-Mackerel-master\Marlin-Mackerel-master\Mackerel\Mackerel.ino:33:
sketch\pins.h:499:0: warning: "X_MAX_PIN" redefined
#define X_MAX_PIN -1 //FMM remove definition for limit pins to speed the stepper interrupt.
^
sketch\pins.h:445:0: note: this is the location of the previous definition
#define X_MAX_PIN 2
^
sketch\pins.h:500:0: warning: "Y_MAX_PIN" redefined
#define Y_MAX_PIN -1
^
sketch\pins.h:451:0: note: this is the location of the previous definition
#define Y_MAX_PIN 15
^
sketch\pins.h:501:0: warning: "Z_MAX_PIN" redefined
#define Z_MAX_PIN -1
^
sketch\pins.h:457:0: note: this is the location of the previous definition
#define Z_MAX_PIN 19
^
sketch\pins.h:502:0: warning: "X_MIN_PIN" redefined
#define X_MIN_PIN -1
^
sketch\pins.h:444:0: note: this is the location of the previous definition
#define X_MIN_PIN 3
^
sketch\pins.h:503:0: warning: "Y_MIN_PIN" redefined
#define Y_MIN_PIN -1
^
sketch\pins.h:450:0: note: this is the location of the previous definition
#define Y_MIN_PIN 14
^
sketch\pins.h:504:0: warning: "Z_MIN_PIN" redefined
#define Z_MIN_PIN -1
^
sketch\pins.h:456:0: note: this is the location of the previous definition
#define Z_MIN_PIN 18
^
In file included from sketch\Mackerel.h:23:0,
from sketch\Mackerel_main.cpp:36:
sketch\pins.h:499:0: warning: "X_MAX_PIN" redefined
#define X_MAX_PIN -1 //FMM remove definition for limit pins to speed the stepper interrupt.
^
sketch\pins.h:445:0: note: this is the location of the previous definition
#define X_MAX_PIN 2
^
sketch\pins.h:500:0: warning: "Y_MAX_PIN" redefined
#define Y_MAX_PIN -1
^
sketch\pins.h:451:0: note: this is the location of the previous definition
#define Y_MAX_PIN 15
^
sketch\pins.h:501:0: warning: "Z_MAX_PIN" redefined
#define Z_MAX_PIN -1
^
sketch\pins.h:457:0: note: this is the location of the previous definition
#define Z_MAX_PIN 19
^
sketch\pins.h:502:0: warning: "X_MIN_PIN" redefined
#define X_MIN_PIN -1
^
sketch\pins.h:444:0: note: this is the location of the previous definition
#define X_MIN_PIN 3
^
sketch\pins.h:503:0: warning: "Y_MIN_PIN" redefined
#define Y_MIN_PIN -1
^
sketch\pins.h:450:0: note: this is the location of the previous definition
#define Y_MIN_PIN 14
^
sketch\pins.h:504:0: warning: "Z_MIN_PIN" redefined
#define Z_MIN_PIN -1
^
sketch\pins.h:456:0: note: this is the location of the previous definition
#define Z_MIN_PIN 18
^
sketch\Mackerel_main.cpp:2408:36: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
LCD_MESSAGEPGM(MACHINE_NAME" "MSG_OFF".");
^
In file included from sketch\SdFile.h:27:0,
from sketch\cardreader.h:8,
from sketch\Mackerel_main.cpp:50:
SdBaseFile.h:38: error: using typedef-name 'fpos_t' after 'struct'
struct fpos_t {
^
In file included from sketch\Mackerel.h:10:0,
from sketch\Mackerel_main.cpp:36:
c:\program files (x86)\arduino\hardware\tools\avr\avr\include\stdio.h:950:33: note: 'fpos_t' has a previous declaration here
extension typedef long long fpos_t;
^
exit status 1
using typedef-name 'fpos_t' after 'struct'
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
To test new hardware, I connected the MEGA, RAMPS and LCD up and uploaded the firmware. Just after the splash screen, the beeper started a sickly screech. I think this is supposed to be the alarm for the min temperature in order to detect an bad thermistor. The problem is that the beeper is only half on because at this point, the BEEPER has not been set to output. Maybe it is set to INPUT_PULLUP which partially turns on the BEEPER?
Add this to the end of setup()
#if BEEPER > 0
SET_OUTPUT(BEEPER);
#endif
and the beeper will clearly sing out its displeasure at having no thermistor attached.
Hi,
In the actual firmware the desired diameter goes from 1.70 to 1.80 directly. Anyone knows what do I need to change for being able to set 1.75mm diameter?
Thank you!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.