Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hardlimits on gpio36 and gpio39 not working #183

Closed
1subu opened this issue Dec 18, 2021 · 3 comments
Closed

Hardlimits on gpio36 and gpio39 not working #183

1subu opened this issue Dec 18, 2021 · 3 comments
Labels
bug For Developer use only

Comments

@1subu
Copy link

1subu commented Dec 18, 2021

Version: FluidNC v3.2.7 (wifi)

I have 4 limit switches on gpio 34, 35, 36 and 39. All with external pull ups.

When I test the switches with $limits, all working fine. Homing works also.
But when i enable hard_limits, only 34 and 35 are working.

The limit switches on gpio 36 and 39 immediately report alarm1 when I clear the alarm after startup.

log:

[MSG:INFO: '$H'|'$X' to unlock]
[MSG:INFO: Caution: Unlocked]
ALARM:1
[MSG:INFO: Reset to continue]

Config for gpio39:

  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.39:low
      hard_limits: true
      pulloff_mm:1.000
      stepstick:
        direction_pin: gpio.33
        step_pin: gpio.25
    motor1:
      null_motor:

It could be a bug, or did I miss something?
Any ideas?

@1subu 1subu added the bug For Developer use only label Dec 18, 2021
@1subu 1subu changed the title Hardlimits on gpio36 anf gpio39 not working Hardlimits on gpio36 and gpio39 not working Dec 18, 2021
@MitchBradley
Copy link
Collaborator

This is a known problem with the ESP32 hardware - see this ESP32 issue

@MitchBradley
Copy link
Collaborator

Try this https://github.com/bdring/FluidNC/releases/tag/TestIssue183 to see if it fixes the problem

@1subu
Copy link
Author

1subu commented Dec 19, 2021

Thank you, this works perfectly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug For Developer use only
Projects
None yet
Development

No branches or pull requests

3 participants