Skip to content

Plotter Estremamente Preciso E Reattivo Ottimizzato Nel Controllo Istantaneo Non Ostruibile

License

Notifications You must be signed in to change notification settings

WEEE-Open/Peperoncino

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

P.E.P.E.R.O.N.C.I.N.O

Plotter Estremamente Preciso E Reattivo Ottimizzato Nel Controllo Istantaneo Non Ostruibile

Project Structure

This repository includes three sub-projects:

  • Firmware - PlatformIO project to be uploaded on the ESP32 board.
  • Backend - Software capable of communicating with the board through serial
  • Frontend - Optional Web Interface for the backend

Setup

In the backend/ directory, create a virtual environment and run: pip install .[all] or if you want to install exclusively the cli/server dependencies poetry install .[cli] poetry install .[server]

If using the web frontend, in the frontend/ directory, run npm install npm run build

In the firmware/ directory, build and upload to the board (Only tested with PlatformIO, but other methods should work)

Usage

Hardware

Make sure that:

  • The plotter is powered and set to 'Servo On'
  • The pen is positioned at the top-right corner
  • Range is 10 and Gain is barely more than 1 for both X and Y
  • Sweep is external for X and Y
  • Polarity is Inverted for X and Y
  • Cables:
    • Green -> Input X
    • Red -> Input Y
    • Blue -> Remote 1
  • The arduino is connected via USB to a computer that will host the backend (CLI/Server)

CLI

peperoncino_backend cli [COMMAND] The available commands are:

  • start - start or resume the drawing job
  • pause - pause the drawing job
  • reset - reset the drawing job (restart from line 0)
  • send $path - send a file. The path to a valid gcode file must be specified.

Since they're still in early development, the frontend, backend and firmware might get out of sync. If you see strange things (like the plotter not responding to the commands you send) I suggest restarting the backend, then resetting the esp32 and refreshing the frontend.

Server

in backend/

peperoncino_backend server

in frontend/

npm run preview

About

Plotter Estremamente Preciso E Reattivo Ottimizzato Nel Controllo Istantaneo Non Ostruibile

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published