Comments (6)
And what's about usb cdc?
from 6-axis-usbcnc-grbl.
I have not yet test with USB.
Anyway, with USB I can't trace the message with my digital scope (it is just a cheep chinese item).
Furthermore, to communicate between my ESP32 stand alone micro computer and GRBL I can't use USB. UART is by far the easiest way to let ESP32 communicates with STM32
from 6-axis-usbcnc-grbl.
Ok.
from 6-axis-usbcnc-grbl.
@mstrens There is a native port of GRBL for ESP32 (not for 6 axes though) https://github.com/bdring/Grbl_Esp32
from 6-axis-usbcnc-grbl.
I know the ESP32 project but I wanted a system that can run is stand alone with a display, a touch screen and a sd card. ESP32 does not have enough pins to manage all this. My ESP32 project seems OK (just some more tests to finalise) but the issues are now with GRBL on STM32. With some other people we already made some PCB for the Blue pill and for the ESP32.
I hope we will find the solution for this issue with GRBL on STM32
from 6-axis-usbcnc-grbl.
I made some more analysis.
I changed the code in order to set a pin HIGH each time the program enter the interrupt that generates step and dir signals. The pin is then set LOW when it exits the interrupt.
When I run the test Gcode, I saw that I got pulse about 5 usec HIGH and 5 usec LOW.
It means that the signal was at about 100khz.
I expect that this does not leave lot of time to the CPU to manage other tasks (there is less than 5 usec between interrupt).
I looked further the set up and I was using the default values (5200 steps/mm).
This high value combined with a high speed (2000 mm/min), explains that GRBL had to generate signals at such a high frequency and so lose some incomming characters.
I reduced the step/mm to 120 (realistic for my machine) and now it seems OK.
I will further investigate to be sure it is really OK.
from 6-axis-usbcnc-grbl.
Related Issues (20)
- Dual Y axis HOT 1
- backlash compensation HOT 1
- OT Question: How to create the pinout diagram like this? HOT 2
- only x axis can reach 230khz, y and z axis have problem HOT 1
- CNCjs Issue due to bug in mode state reporting HOT 5
- Makefile? HOT 3
- ! news. Project is no longer supported. HOT 3
- $h then system happens to restart
- configure grbl with "$x=val" commands (optional)
- about coolant! HOT 2
- pcb for this project (inside)
- Planner buffer question
- Installation on arduino uno or nano. HOT 1
- Using UART3 same times with UART1 please HOT 1
- Set machine positions for homed limit switches HOT 1
- Probing Issue
- Uart1 cant connect hc05 bluetooth HOT 1
- UART TX overlapping
- What is the problem that the serial port cannot communicate?
- No #undef USEUSB in grbl.h
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 6-axis-usbcnc-grbl.