Jump to content
THIS IS THE TEST SITE OF EUROBRICKS! ×
THIS IS THE TEST SITE OF EUROBRICKS!

Recommended Posts

Posted (edited)

I'm currently doing a postdoc, in my home country and I decided its time to build something useful with what I have at the moment (Unfortunately, I have left a lot of legos at my granny's place).

I would like to build a lego printer out of EV3.

(Edit : I can also use the Powered Up system as well)

I pretty much have an idea on how to build a physical (lego) printer - one motor to control the X-axis, and the other motor to control the Y-axis. (We could add in another motor to just control the pen, but that's optional) And if I want to print something, like letter "A" - just program it to make three line strokes, so that it looks like an "A".

Well, that is the gist that I have.

However, I can't wrap around how to make the lego printer to actually print an image file, like a real printer.

Of course, after this, I would love to move on, to make a 3D printer as well.

(I'm good with Python and other programming languages like Java, and am familiar with algorithms. And I heard ev3dev is good? Also I am familiar with html/css/javascript - just know how it works. I'm not good with it though)

 

So here is my question :

How do you make an interface between the lego ev3 and the computer, so that the lego printer can actually print an image file? How does it work? What are the steps involved to make one?

Edited by Knight3
Posted

Here's a model Anton has been working on for a long time, making many iterations.

I've seen it do multiple styles of drawing in person, and it looks really cool.

Posted

Maybe something with CNC process steps to draw out the image file?

-Have the computer convert the image file to a vector based image.

-Generate GCODE drawing paths from the vector image.

-Send to the GCODE to EV3.

-Have the EV3 parse the GCODE to command the servo motors in moving the pen on a piece of paper.

 

If you can get your EV3 to understand GCODE, then it could open the door to a whole bunch of other stuff like 3D print, laser engrave, drag knife cut vinyl decals...

 

Posted

Mould King recently released its 13181 pen plotter. It uses 3 conventional L-motors and a Bluetooth remote control unit. Assembly instructions are available in the manufacturer's Facebook thread.

Posted

There are instructions for a CNC style plotter for mindstorms (the 51515 kit) available on their app. It is sort of impressive what you can do with LEGO, but actually not a very good plotter at all. There is a lot of kickback, meaning the lines are not particularly accurate. I guess really the question is do you want to build it for fun / for a project, or do you want to build it to use it more seriously. For a project, they are great. For professional output, not.

Posted

If you would take a gantry and add a pen, you could make a vertical speed plotter (maybe need to change the 40T gears with 24T, to increase stability instead of having high speeds.

 

Posted
20 hours ago, Sokolov Edward said:

Mould King recently released its 13181 pen plotter.

Hm, it looks awfully similar to my plotter design:

 

On 10/11/2023 at 3:19 PM, dr_spock said:

Maybe something with CNC process steps to draw out the image file?

-Have the computer convert the image file to a vector based image.

-Generate GCODE drawing paths from the vector image.

-Send to the GCODE to EV3.

-Have the EV3 parse the GCODE to command the servo motors in moving the pen on a piece of paper.

This is basically how I did it @Knight3, except with a Robot Inventor hub rather than EV3. There is a lot of detail in the WIP thread here (including the python program I wrote in pybricks):

I highly recommend the command-line tool "vpype" and a plugin for it called "vpype-gcode". They are purpose built for plotter vector graphics, and with them you can convert any .svg file into gcode, which you then just paste into a program and run it (feel free to use/copy mine).

Posted (edited)
7 hours ago, ord said:

Hm, it looks awfully similar to my plotter design:

file.php?id=161265&mode=view

This one is simpler than yours in terms of controls, which are the same as those of a regular Lego car. And the design and principle of operation of all flatbed plotters is almost the same.

Edited by Sokolov Edward

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...