https://github.com/sthysel/nejemojo
NeJe engraver driver
https://github.com/sthysel/nejemojo
driver engraving laser neje python
Last synced: 6 months ago
JSON representation
NeJe engraver driver
- Host: GitHub
- URL: https://github.com/sthysel/nejemojo
- Owner: sthysel
- License: gpl-2.0
- Created: 2017-08-02T14:06:58.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2024-10-21T20:26:07.000Z (6 months ago)
- Last Synced: 2024-10-22T14:52:14.543Z (6 months ago)
- Topics: driver, engraving, laser, neje, python
- Language: Python
- Size: 357 KB
- Stars: 8
- Watchers: 2
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# nejemojo (Version 0.1.0)

NeJe NEJE DK-8 Pro-5 500mW Laser Engraver tool. Loads and burns images on your NeJe mini-burner.
[](https://results.pre-commit.ci/latest/github/sthysel/nejemojo/master)
# Usage
```zsh
$ nejemojo --helpUsage: nejemojo [OPTIONS] COMMAND [ARGS]...
Options:
-p, --port TEXT The serial port [default: /dev/ttyUSB0]
--help Show this message and exit.Commands:
box Draws preview box
burn Burn the image
burntime Set the pulse burn time, the longer the darker
erase Erase image from eeprom
home Move to home position
load Load the image
pause Pause Neje burning
read Read from port
reset Reset Neje
view View the image
```# TTY settings
- baud 57600
- 8 data bits
- 1 stop bit
- parity none# Engraver protocol
| msg | description |
| --- | --- |
| 0xf9 | stop/reset |
| 0xf1 | start (Once issued incoming data will specify the position, data uses a modulus format.) |
| 0xf2 | pause |
| 0xf4 | engraving preview (visualizes bounding box) |
| 0xf5 | go up |
| 0xf6 | go down |
| 0xf7 | go left |
| 0xf8 | go right |
| 0xf3 | go to left corner |
|# Install
Seems tkinter is not the dejour GUI lib it used to be, thats propably a good thing.
```zsh
$ sudo pacman -S tk
```Need to be able to use ttyUSBn as normal user.
```zsh
$ sudo gpasswd -a $USER uucp
```