touchCNC/README.md

74 lines
1.6 KiB
Markdown
Raw Normal View History

# touchCNC 1.0
GRBL 1.1 CNC Controller for ODROID C2 with VU PLus Touch Screen or Linux Desktop
2021-08-30 18:51:27 +02:00
2021-09-14 11:33:51 +02:00
Should run on any System wit at least 1024x600 Screen Resolution.
2021-09-05 21:18:58 +02:00
2021-09-14 11:33:51 +02:00
- Jog
- Zero positions
- Job commands
- Spindle Coolant, Tool and Macro commands
- Gcode milling envelope preview
2021-09-14 11:33:51 +02:00
- G28 Position
- Feed override (Not yet working)
2021-09-14 11:33:51 +02:00
- terminal
- Laser status and switch
2021-08-30 18:51:27 +02:00
2023-12-28 20:55:03 +01:00
![Screen.png](Screen.png)
-
- Tested on latest Armbian stable https://www.armbian.com/odroid-c2/#kernels-archive-all
- Tested on Manjaro
- Using cncpro v3 with grbl1.1f
2021-09-14 11:33:51 +02:00
## Clone to your PC
`git clone https://github.com/BKLronin/touchCNC.git`
2021-09-14 11:33:51 +02:00
## Install
2023-12-28 20:50:51 +01:00
- (Create env)
- In folder enter:
`pip install requirements.txt`
## Run
2023-12-28 20:55:03 +01:00
`python cnc_gerbil.py`
or
2023-12-28 20:50:51 +01:00
`cd dist`
2023-12-30 19:03:31 +01:00
`./cnc_gerbil` (Bundled pyinstaller executable)
## Settings
`nano settings.py`
or any other editor to setup to your specific usecase, the options are:
- The resolution of your SBC-screen
`resolution = '1024x600+0+0'`
- When running on SBC with touch set to: True
`set_fullscreen = False`
- Platform dependent com ports
`portlist = ['/dev/ttyUSB0', '/dev/ttyACM0', '/dev/ttyUSB1', '/dev/ttyACM1', '/dev/ttyACM2', '/dev/ttyACM3',
'/dev/ttyS0', '/dev/ttyS1', '/dev/ttyS2', '/dev/ttyS3']`
- Where the file dialog points to. Ideally some Nextcloud folder or Samba share etc.
`basepath = '/home/'`
- Machine commands
`spindle_on = 'M3S1000' `
`spindle_off = 'M5'`
`cooling_on = 'M8' `
`cooling_off = 'M9' `
`toolchange = 'G10 P0 L20 X0 Y0 Z0' `
- Table Info Text
`table_text = 'Fräsbereich 300mm x 300mm'`
### Based on:
2023-12-28 20:50:51 +01:00
Python3
tkinter
pyserial
gerbil
2021-09-14 11:33:51 +02:00