Replies: 11 comments 13 replies
-
Hi there. For this reason µCNC expects you to use Normally Closed (NC) switches to close this pins to ground. If you are using Normally Open (NO) these pins will remain in the triggered state. There are several ways you can go around this.
The other alternative is to do your customization in the web config generator tool but the latter option (to invert the pins logic mask) is not present there. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
The Shield V3 boardmap uses the boardmap configuration for Grbl 1.1, and modifies it to mimic Grbl 0.8 mapping since this shield was designed for that version. Do not comment the PWM settings since pin D11 is used for Z-limit on Grbl 0.8 and for PWM on Grbl 1.1. Using the original Shield V3 boardmap Z limit will be in the Z- and Z+ terminals as it should be. Also the probe pin is configured for PIN A5 which is not routed on Shield V3. The active Probe alarm will have no effect unless you try to probe. |
Beta Was this translation helpful? Give feedback.
-
Just another note that just caught my eye. |
Beta Was this translation helpful? Give feedback.
-
I have flashed the firmware with 1.7.1 and I also spotted the problem. I had defaulted back to BOARD_UNO. Looking back at my journey I can see that you have kind of thought of everything. I wish I had begun with uCNC and not go through GRBL 0.8 and 1.1 as that just overcomplicated things for me. This project is a much better way to get started right out of the box. 🙂 I hope the community will recognize your project as a really awesome alternative to GRBL 1.1. |
Beta Was this translation helpful? Give feedback.
-
i try install ucnc in arduino uno with ide 2, but i have error like this (i use linux mint una) Sketch uses 33824 bytes (104%) of program storage space. Maximum is 32256 bytes. Compilation error: text section exceeds available space in board try old ide same result Arduino: 1.8.7 (Linux), Board: "Arduino Uno" Sketch uses 33824 bytes (104%) of program storage space. Maximum is 32256 bytes. Sketch too big; see http://www.arduino.cc/en/Guide/Troubleshooting#size for tips on reducing it. This report would have more information with this my file |
Beta Was this translation helpful? Give feedback.
-
boardmap_uno.zip |
Beta Was this translation helpful? Give feedback.
-
Hi there. First I recommend using the 1.7.x bugfix branch To enable Y dual drive you need to enable it in cnc_hal_config.h file Modify it to this:
Your Y2 step output will be at pin A4 like you defined in your boardmap. |
Beta Was this translation helpful? Give feedback.
-
yes its work, and i have successfully compile.with makefile in linux,😄😄😄😄 |
Beta Was this translation helpful? Give feedback.
-
This time to switch the board, i have a question about uno and wemos, my machine still use uno, with lead screw, 8 mm with 4 start, its came to slow... If i have push to 1.200 mm/second feedrate its loosing steps, so i have to down speed with 500 mm/second, if i switch to wemos or esp32 dev kit v1 are they can push speed for 1.200 mm/second, my machine information, x y z with 4 nema 23 3,6 Amps, tb6600 driver, power supply 24v 15amps, lead screw 8mm with 4 start 2 lead, acme nut run on bcnc linux mint |
Beta Was this translation helpful? Give feedback.
-
You need to make the math to check the limits. That is to relate the number of steps per mm (settings $10x - x for each axis) and the max speed in steps per min (settings $11x - x for each axis) (note that is mm/min not mm/s). The Uno board should be able to get to 30K steps per second or near 40K steps per second in 16bit mode. Lets say you are using a 1/16th microstepping in a 1,8º per step motor (200 steps per full rev) and no gear. With a rod with a pitch of 2mm that translates to a step/mm of 1600 (16 * 200 / 2 = 1600). 30000 steps/s @ 1600 steps/mm translates in to a max of 18,75 mm/s or 1125 mm/min. The ESP have a higher stepping rate so they will be able to do faster step rates. |
Beta Was this translation helpful? Give feedback.
-
Hi, I was looking for a maintained and better updated alternative to GRBL and I found uCNC. Big thank you to the author of this project and for all your efforts in maintaining it. 🙂
I compiled uCNC 1.7.0-beta with Arduino 2.1.0 IDE.
I set the board to
BOARD_UNO_SHIELD_V3
incnc_config.h
.I commented the PWM spindle override in
board_uno_shield_v3.h
(as I use the board's Limit Z pins for the Z limit switch).Booting it throws non recoverable hard limit warnings in my CNC software. I use to get around soft limit errors with a configuration wizard, but that's a no go with hard limit errors.
This makes me wonder if I got it compiled right by setting the board in cnc_config.h?
Here are the pins I currently use:
Beta Was this translation helpful? Give feedback.
All reactions