Modifying Marlin Extruder code to use 28byj-48 motor

1

I'm currently working on a project to convert an old 3D printer to a 2D powder dispenser. I'm using a Ramps 1.4 + Arduino Mega, and I'm trying to modify the extruder code in Marlin. I've printed a check plate and attached it to a 28byj-48 stepper motor.

The idea is to trigger the 28byj-48 motor to move a few steps in one direction to open the check plate on a "begin extrude" command (allowing the powder to flow through via gravity) and to close the check plate on a "stop extruding command".

However, I'm getting a little bit overwhelmed with the Marlin code, and would love any help making these changes or even figuring out which files I would need to look at to do this.

I've already done the hack on the stepper to make it work with the Ramps board, but haven't touched any of the code yet. Right now vanilla Marlin is running fine with my hardware, and I'm able to move the x and y axes fine.

** If you're interested, this is the inspiration for the project: https://www.youtube.com/watch?v=gXceYzhCWcs

Victoria Henri

Posted 2019-02-09T22:42:08.893

Reputation: 111

Welcome to 3dPrinting.SE! – Pᴀᴜʟsᴛᴇʀ2 – 2019-02-09T22:56:10.470

@Pᴀᴜʟsᴛᴇʀ2 Thanks! Hoping I can figure this out - any thoughts? – Victoria Henri – 2019-02-09T23:05:15.293

I'm a newbie to this stuff. Anything beyond throwing PLA into my printer and slicing something from Thingiverse and I'm left out ;-) – Pᴀᴜʟsᴛᴇʀ2 – 2019-02-09T23:16:40.227

The process you describe sounds very inaccurate. Preferably you should use an auger to dispense the powder. But, if you want to follow the path you started, you might want to look into controlling a servo from Marlin. – 0scar – 2019-02-10T08:13:47.583

No answers