Git Product home page Git Product logo

Comments (26)

MitchBradley avatar MitchBradley commented on June 12, 2024

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.

MitchBradley avatar MitchBradley commented on June 12, 2024

The "this one" refers to the "standard_stepper:" section type, not to the detailed assignment of which pins.

from fluidnc.

MitchBradley avatar MitchBradley commented on June 12, 2024

3.3V often works just fine. I have two machines where I drive external drivers directly from 3.3V.

from fluidnc.

Wankah avatar Wankah commented on June 12, 2024

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.

MitchBradley avatar MitchBradley commented on June 12, 2024

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.

Wankah avatar Wankah commented on June 12, 2024

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.

MitchBradley avatar MitchBradley commented on June 12, 2024

If the engine is not correct, all bets are off.

from fluidnc.

Wankah avatar Wankah commented on June 12, 2024

Mmm yes.. I realize that. Do you pride yourself in being arrogant? Ive just explained my reasoning.

from fluidnc.

MitchBradley avatar MitchBradley commented on June 12, 2024

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.

MitchBradley avatar MitchBradley commented on June 12, 2024

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.

Wankah avatar Wankah commented on June 12, 2024

[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.

MitchBradley avatar MitchBradley commented on June 12, 2024

gpio.33 is used for both y motor1 direction and z motor0 direction.

from fluidnc.

MitchBradley avatar MitchBradley commented on June 12, 2024

Ditto for gpio.27 for the respective steps.

from fluidnc.

MitchBradley avatar MitchBradley commented on June 12, 2024

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.

Wankah avatar Wankah commented on June 12, 2024

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.

Wankah avatar Wankah commented on June 12, 2024

[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.

MitchBradley avatar MitchBradley commented on June 12, 2024

.txt is okay

from fluidnc.

Wankah avatar Wankah commented on June 12, 2024

The pin assignment is back where it originally was. Y motor 0 isnt responding Y 1, X and Z +/- works.

from fluidnc.

MitchBradley avatar MitchBradley commented on June 12, 2024

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.

MitchBradley avatar MitchBradley commented on June 12, 2024

Another possibility for second case is something wrong with the disable pin at (only) the Y0 socket.

from fluidnc.

Wankah avatar Wankah commented on June 12, 2024

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.

Wankah avatar Wankah commented on June 12, 2024

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.

MitchBradley avatar MitchBradley commented on June 12, 2024

Temporarily remove the motor1: section from y: to see if motor0: works when not ganged. Simplify, simplify.

from fluidnc.

Wankah avatar Wankah commented on June 12, 2024

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.

Wankah avatar Wankah commented on June 12, 2024

And if I send $limits it crashes every time.

from fluidnc.

MitchBradley avatar MitchBradley commented on June 12, 2024

Your description is too abbreviated for me to make a clear mental model of what you did.

from fluidnc.

Related Issues (20)

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.