Comments (26)
I2SO pins are only for boards like 6-pack that use I2SO-driven shift registers to increase the number of pins. ESP32 has a limited number of GPIOs, enough for some machines but not for others. The config file must refer to the pins that your board actually uses.
from fluidnc.
The "this one" refers to the "standard_stepper:" section type, not to the detailed assignment of which pins.
from fluidnc.
3.3V often works just fine. I have two machines where I drive external drivers directly from 3.3V.
from fluidnc.
Thank You Mitch. I don't know alot but I can read, sorta.. Just waned to make sure I was near the right path.
I realize that i have step stick in my little config bit i copied. Ive change it back to standard_stepper.
I just cant figure out what the hell is happening. now it's spitting an error saying my step pin isnt configured on Z motor 0.
Can you see what im doing wrong here?
stepping:
engine: I2S_static
idle_ms: 250
dir_delay_us: 1
pulse_us: 2
disable_delay_us: 0
axes:
shared_stepper_disable_pin: gpio.13:low
x:
steps_per_mm: 800
max_rate_mm_per_min: 2000
acceleration_mm_per_sec2: 25
max_travel_mm: 1000
homing:
cycle: 2
mpos_mm: 10
positive_direction: false
motor0:
limit_all_pin: gpio.17:low:pu
standard_stepper:
direction_pin: gpio.14
step_pin: gpio.12
motor1:
null_motor:
y:
steps_per_mm: 800
max_rate_mm_per_min: 2000
acceleration_mm_per_sec2: 25
max_travel_mm: 1000
homing:
cycle: 2
mpos_mm: 10
positive_direction: false
motor0:
limit_all_pin: gpio.4:low:pu
standard_stepper:
direction_pin: gpio.15
step_pin: gpio.26
motor1:
limit_all_pin: gpio.16:low:pu
standard_stepper:
direction_pin: gpio.33
step_pin: gpio.27
z:
steps_per_mm: 800
max_rate_mm_per_min: 2000
acceleration_mm_per_sec2: 25
max_travel_mm: 1000
homing:
cycle: 1
mpos_mm: 10
positive_direction: true
motor0:
limit_all_pin: gpio.16:low:pu
standard_stepper:
direction_pin: gpio.33
step_pin: gpio.27
motor1:
null_motor:
I mean no disrespect to any of the authors but the wiki is just a mess of information. seems back and forth. Im not stupid but a stand point of some one who doesn't know this stuff like some of you. It's really discouraging. I might have to go back to 8bit if i cant figure this out soon. it's been about 3 weeks of reading soldering desoldering. Thanks in advanced
EDIT: disregard engine: I2S_static I was screwing around It's RMT or whatever
from fluidnc.
Please learn to give complete information. "Spitting an error saying " is much less useful than providing the actual complete set of messages. Also, "please disregard" is much less useful than editing the post to include the actual correct data, or saying the above is erroneous, here is the correct data.
And attach the files instead of pasting them, because github Markdown can reformat stuff to lose important formatting data.
When you learn to give us good information, we will be more sympathetic to your complaints about the wiki inadequacies.
from fluidnc.
I did that incase you already read through it. you would see the bottom of the comment rather than not seeing it at all because your down in the comment section typing about how the engine isnt correct....
from fluidnc.
If the engine is not correct, all bets are off.
from fluidnc.
Mmm yes.. I realize that. Do you pride yourself in being arrogant? Ive just explained my reasoning.
from fluidnc.
If you give me a complete file and complete error messages, the first thing I am going to do is look carefully at the entire sequence of messages. If the error does not jump out at me from that, the second thing I am going to do is load your config file on a test machine to see what else I can discover. But since I have neither, all we are going to be able to do it jaw at each other.
from fluidnc.
You explained your reasoning, but you did not provide the data that I asked for in the form that I asked. I need good data, not arguments.
from fluidnc.
[config.txt](https://github.com/bdring/FluidNC/files/7360908/config.txt
config.zip
)
I had no idea Mitch. It said drag and drop or copy and paste, and yaml wasn't supported.
from fluidnc.
gpio.33 is used for both y motor1 direction and z motor0 direction.
from fluidnc.
Ditto for gpio.27 for the respective steps.
from fluidnc.
I could have seen that from the information you already pasted but the formatting made me mistrust it to the point where I was unwilling to look in great detail.
from fluidnc.
Uhh hold on. I remade it this morning after the trouble last night. that wasnt the issue. I must have hit undo after pasting and editing
from fluidnc.
[config.txt](https://github.com/bdring/FluidNC/files/7360932/config.txt
config.zip
)
Future reference What is the format you downloaded? I was guessing when i made the txt and zip
from fluidnc.
.txt is okay
from fluidnc.
The pin assignment is back where it originally was. Y motor 0 isnt responding Y 1, X and Z +/- works.
from fluidnc.
The only error I get when I load your most recent config.txt is related to the SD card. If you are not using an SD card, delete both the spi: and sdcard: sections. If you are using an SD card, you need to enter the correct pin numbers for the MISO, MOSI, and SCK pins.
That would not explain the Y0 motor problem. To debug that, you could try swapping the Y0 and Y1 motors. If, after swapping, Y0 works and Y1 fails, the likely problem is outside the controller board - in the cable to the driver, the driver itself, or the cable from the driver to the motor. Otherwise, if, after swapping, Y0 is still the failing one, the problem is likely to be in the wiring of the step pin between gpio 26 and the connector, or else a damaged ESP32 that can no longer drive that pin.
from fluidnc.
Another possibility for second case is something wrong with the disable pin at (only) the Y0 socket.
from fluidnc.
Im in process of wiring Y0 and Y1 together and testing the motor, It's just a relief to hear the config is OK. That's really the only part I was worried about.
from fluidnc.
Guess None of the above. Tethered Y0 & Y1 to Y1 step,dir works fine, Moved Y0 to pin 25 step, pin 5 Dir. Doesn't move. It's like they arent being ganged together. I have yet to find any specific instructions to compare. Also replaced the enable wire.
Dunno..
from fluidnc.
Temporarily remove the motor1: section from y: to see if motor0: works when not ganged. Simplify, simplify.
from fluidnc.
well that just makes more questions. motor 1 removed axis did not move. moved to another driver. And it worked? Both drivers Dip switches are the same. they both work when mirrored but then this.. obviously it has something to do with the driver itself. driver is fed 10 amps and the Esp32 is on a 2 amp regulator.
from fluidnc.
And if I send $limits it crashes every time.
from fluidnc.
Your description is too abbreviated for me to make a clear mental model of what you did.
from fluidnc.
Related Issues (20)
- Feature: Allow any .htm(l)(.gz) to be viewed as webpage HOT 1
- Problem: macrocfg.json not found und Spiffs mount failed: ESP_FAIL HOT 1
- Problem: Problem with the status information sent by FluidNC HOT 30
- Backlash compensation
- Add dual end stop support HOT 8
- Problem: Table pulling out of square after homing HOT 1
- Feature: I also design a board for fluidnc, but I don't know if someone like this designed style? HOT 2
- Problem: Cannot configure an ssid which contains an exclamation mark HOT 2
- Machine is not homing X HOT 9
- Web interface bug HOT 2
- Problem: Failed to communicate with FW! HOT 4
- OTA update to v3.7.15 failed at 36%, threw an error in the WebUI. Rebooting then failed. HOT 14
- Problem: MKS DLC32 v2.1 error rst:0x10 (RTCWDT_RTC_RESET),boot:0x1b (SPI_FAST_FLASH_BOOT) HOT 9
- Can't implement shared_fault_pin HOT 8
- Problem: v3.7.15 WiFi failed:406 wrong data HOT 4
- Probe no more working after 3.7.13 Upgrade HOT 14
- Problem: Fallback web page fails with 3.7.15 HOT 2
- Problem: Issues with uploading *.yaml to FluidNC (latest version) HOT 13
- Feature: Folinn BD600 class in "Spindles" for RS485 support HOT 1
- Problem: Fluidnc seems to respond to a jog command with the jog command itself on additional uart HOT 7
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 fluidnc.