Comments (7)
Have you pulled the very latest version of stream.rb? I recently changed the protocol slightly.
Can you paste the output from stream?
from grbl.
yes, using the latest version. (also tried the previous version which was working, with no acceleration).
I am sending this test code:
G21 G90
(profile 1)
G0 Z15
G17
M3
G0 X0.7695431472081218 Y-2.014467005076142
G1 Z-1.5 F100
G1 X160.7690355329949 Y-2.015228426395939 F500
G3 X163.2690355329949 Y0.4847715736040609 I0 J2.5
G1 X163.2690355329949 Y83.27664974619289
G3 X160.7690355329949 Y85.77664974619289 I-2.5 J0
G1 X0.7690355329949239 Y85.77664974619289
G3 X-1.7309644670050761 Y83.27664974619289 I0 J-2.5
G1 X-1.7309644670050761 Y0.4847715736040609
G3 X0.7690355329949239 Y-2.015228426395939 I2.5 J0
The result differs from time to time. When I do an Arduino reset before most of the times it shows:
G21G90
Grbl >>
Grbl >> Grbl 0.6b
Grbl >> '$' to dump current settings
_
So it looks like the code is interfering the startup. Stopping and starting again (no reset):
Processing file profile.gcode
G21G90
_
or
Processing file profile.gcode
G21G90
Grbl >> ok
G0Z15F100
Grbl >>
_
Trying with stream.rb file -p gives some more response (until halfway) but is not the desired method i guess.
from grbl.
Thanks. I'll have a look at this tonight
from grbl.
well, looks like the stream.rb is not the problem. Probably it has something to do with the Arduino. I upgraded a 168 to 328. 168 version was ok, this one gives troubles.
I will let you know what happens.
from grbl.
sorry, accidently closed this issue. I guess my issue is more related to my own computer than grbl/stream or the arduino. It worked once yesterday, but it is unclear why...
Now first some testing with other computers.
from grbl.
ok, I seem to have tracked down the issue finally. Somehow the G3 command gave problems. I believe it should work because it is a A328, but that needs some more testing.
I made an AIR application, with a socket connection, and serproxy for the usb-air connection. It seems that the 'ok' response is sometimes received as 'o\n' and 'k\n'. So the loop i wrote stopped since it didn't receive 'ok' anymore. This can be addressed by implementing a handshake in GRBL, as mentioned in another issue.
So, my issue is closed ( for now:) )
from grbl.
Thanks. I'll have a look at it.
from grbl.
Related Issues (20)
- Will grbl have X-axis data overflow? HOT 1
- GRBL feed control with potentiometer HOT 4
- about connecting arduino uno to UGS HOT 1
- X axis losses position only when another axis is moving HOT 5
- ERROR Aurdude: my computer STK 500-getsync()
- grbl without disabling timer0 in stepper.c ??
- How to utilize GRBL for driving a single axis? HOT 1
- The spindle/laser output stuck HOT 7
- GRBL 1.1F ERROR WHILE PROCESSING RESPONSE (EMERGENCY HELP) HOT 1
- CO2 laser best and budget friendly controllers
- grbl 1.1h spindle with relay shield ( Buzzing Relay) HOT 3
- Error correction/checksum HOT 5
- GRBL return to origin
- Laser marking machine solution discussion by grbl
- Pen up/down is not working wit bachin draw software HOT 1
- Bachin draw software servo problem HOT 1
- Self-squaring with CNC Shiel 3.0
- How to disconnect the GRBL serial connection after the stepper motor has completed its entire operation HOT 1
- homing issue on my cnc 3018 pro using ugs HOT 4
- H-Bridge adaption for GRBL
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grbl.