Code Monkey home page Code Monkey logo

highlander01 / pythoncncgui-grbl Goto Github PK

View Code? Open in Web Editor NEW
25.0 25.0 10.0 697 KB

HMI/GUI done in Python using Opengl for graphics is used to interface to modified Simen Grbl CNC code on an Arduino over USB. Operating System Notes: Currently runs well in Linux with Ubuntu and Python2.5. Also in process it now runs in Windows XP 32bit with Python2.7 but comms need to be improved to run faster and gcode files only partial open. Change usbport to ex. COM3 when running windows.

Python 100.00%

pythoncncgui-grbl's People

Contributors

highlander01 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

pythoncncgui-grbl's Issues

Windows Python Text Limited

I recently did some running in windows. Windows Python does some text limiting to Gcode files when I am opening them. To fix this I found adding self.gcodetc1.SetMaxLength(99000) lets me open bigger files as I would like to do. If 99000 is not big enough for you make it bigger. I will try to get this fix into the online code soon.

error running UC_Vlk.py

I just downloaded and tried to run UC_vlk.py. I after installing a few additional python modules I received the following error.

python UC_V1k.py

The program 'python' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadDrawable (invalid Pixmap or Window parameter)'.
(Details: serial 330 error_code 9 request_code 137 minor_code 8)

I'll be happy to provide more info.

chuck

Problems getting modified grbl to run on Arduino

Hi

I'm very excited about your project, but having problems getting it going on my Mac. My first problem is getting your modified grbl to work. I have the code up in the Arduino IDE, compiling and downloading okay, but it is failing during initialization. Debug printPgmStrings show that there is an issue with st_init. If it is called, the Arduino seems to crash, by which I mean that I see the "'$' to dump current settings" message on power up, but I don't see the startup message: "Grbl 0.51\nok". The board also doesn't respond to serial commands.

In st_init, the line that directly causes the crash is: TIMSK2 |= (1<<TOIE2);
If I comment that line out, I get as far as the "Grbl 0.51\nok" message, but no further.

As I'm using the Atmega328, rather than your 1280, I wondered if that was contributing to the issue? I suspect this is a simple config issue, but I'm new to the Arduino, so any hints you can give would be welcome.

bob

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.