An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

        

# nejemojo (Version 0.1.0)

![NEJE](docs/neje.jpg)

NeJe NEJE DK-8 Pro-5 500mW Laser Engraver tool. Loads and burns images on your NeJe mini-burner.

[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/sthysel/nejemojo/master.svg)](https://results.pre-commit.ci/latest/github/sthysel/nejemojo/master)

# Usage

```zsh
$ nejemojo --help

Usage: 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
```