Giter Club home page Giter Club logo

2dpenter's Introduction

2D Penter

by Breno Queiroz and Dikson Ferreira

Introduction

This printer was designed to draw polynomial functions from a string. When connecting to the wifi network created by ESP32, it is possible to make the printer go home, move the axes, draw points on the paper, or send the polynomial function string to draw the graphic.

Materials used

  • (2) Nema17 stepper motors
  • (1) Nema8 stepper motor
  • (3) Stepper Motor Driver
  • (2) GT2 Pulley 20T
  • (1) Esp32 DOIT
  • (2) Mechanical Endstop
  • (2) Clipboards
  • (1) GT2 Belt 6mm 3 meters
  • (1) PLA filament 0.25kg
  • (1) Stabilo Pen (can be another one of the same size)
  • (6) LM8UU bearing
  • (8) F623ZZ flange

Building

All 3d modeled parts are available in the 3Dmodels folder. First, open the 2Dprinter_v0.SLDASM file using SolidWorks. After that, generate the STL file of each assembly part. Printed parts must have at least 50% of infill to ensure a sturdy structure.

Pen structure

A Nema8 stepper motor was used to move the pen up and down.

Motor X

The image on the left shows motor X, this motor moves the bed to the left and right. There are 4 LM8UU bearing on the bottom of the bed as shown in the image on the right. An endstop button was used to set the minimum X.

Motor Y

The image above shows the motor Y, this motor moves the pen up and down. There is also an endstop button on the Y axis to detect the minimum Y.

Electronic

TODO

How to use

Before going on, you must have Atom installed on your computer with the PlatformIO package installed on it.

Connecting to the ESP32

After turn on the printer, the ESP32 will try to connect to an WIFI network. Because of this, you need to change the code in src/PlatformIO/src/main.cpp before using the 2D Penter to set your WIFI network. First, Open the folder PlatformIO with Atom. After that, go to the line 9 and change BrenoCQ to your wifi name. Also, go to the line 10 and change penter2d to your WIFI password.

Now the 2D Penter will automatically connect to the WIFI and show its address on the Serial Monitor! For example: 192.168.43.204.

The only thing you need to do now is type this address on your browser and the website will appear.

Website

On this website there are some basic commands you can do with the 2D Penter.

The first command is go home, to do this just click on the house.

Just below this there are arrow where you can move the axes. You can set the distance that will be traveled by selecting 0.1mm, 1mm, or 10mm. If you click on the middle of the arrows the printer will make a point on the paper.

The last command is to draw a polynomial functions. After clicking PLOT! the printer will move home and begin drawing the function at the range (-2,2) on the X and Y axes.

Results

In the images above, we show some of the functions drawn by 2D Penter (the last one was rotated).

Click here to see the Youtube video.

Future Work

  • Drawing the PCB wires in a copper plate to create circuits

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.