Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
This repository was archived by the owner on May 24, 2023. It is now read-only.
/laserinterfacePublic archive

The touchscreen UI for for an embedded Rapberry pi in GRBL lasercutters.

License

NotificationsYou must be signed in to change notification settings

JelmerV/laserinterface

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The only touch interface for lasercutters that implements the GPIO functionalities of an embedded Raspberry Pi.

LaserInterface was created with the goal of atouchscreen controlled laser cutter that does not require an external PC. You simply plug a USB drive into the machine, use the touchscreen to set an origin, and fire away. Now, there are already a ton of gcode senders, a lot of which also run on a raspberry pi, but none of them use the GPIO to automate actions and check the safety of the machine.

Controlling GPIO is not the only thing LaserInterface can do. You can select jobs and see a preview of the path, size, and duration. You can jog the machine around to set working offsets and fire test-pulses. And you can control jobs, set them to repeat, and override power and speed values

Controlling the GPIO works by having a relay board connected to the GPIO as an output; and a thermometer, switches, and sensors for the inputs. Of course you can control them manually, but you can alsoconfigure automated actions. Like pausing grbl when the laser tube gets too hot or if a door is opened; or bind the power of the air assist and the laser so it only makes noise during a job.

Screenshots

Start/monitor/control jobsJog the machine
picpic
Select and preview a jobcontrol and monitor GPIO
picpic

View more

Installing LaserInterface

A fully pre-configured image for the raspberry pi is planned, but has not yet been released. For now you will have to download the source code, runinstall.sh to setup the environment, and configurestart.sh to be run at startup.

Configuring LaserInterface

Changing the settings can be done by modifyingdata/config.yaml. In there you can configure the GPIO pins, names, and callbacks; the different poll frequencies; and the path for the gcode directory. Read the comments inthe file for better explanations.

Starting LaserInterface

For the best embedded experience, LaserInterface should start at bootup. Starting LaserInterface manually can be done usingstart.sh or by running LaserInterface as a python module:python -m laserinterface.

Further development

Short term improvements:

  • Replace threading for multiproccesing to add multi core support. Currently the interface can get unrespronsive while sending a job with very small segments (this requires very fast sending). Multiproccesing should solve that.
  • Set up a list of command for a raspberry pi (start at boot, mount usb in gcode folder)
  • Release a completely set up image for the raspberry pi
  • Add Settings menu to change the config.yaml file
  • Add callbacks for starting/stopping a job
  • Fix the virtual keyboard
  • Make gpiodisplay more dynamic to work with the config values

Planned features:

  • Support for reading SVG and converting to gcode
  • Support for reading png/jpg and converting to engrave job
  • Implement boxes.py for integrated boxes creation

Reusing part of the software

The code is split up over modules that share datamanagers to pass data. It should be fairly easy to reuse only a single submodule in your code but most ui elements do depend on the helpers and datamanagers modules. So if you are getting errors while running individual modules, this should be the first place to look.

Lasercutter Control Panel

This project is kind of abandoned. I am now usingLaser controlpanel in combination withLightburn. there is simply no way i could integrate that many usefull features on a touchscreen. Laser controlpanel also offers automatic safety actions, eventhough grbl is controlled from a seperate device.

About

The touchscreen UI for for an embedded Rapberry pi in GRBL lasercutters.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp