Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login
    1. Home
    2. morgoth90
    • Profile
    • Following 0
    • Followers 0
    • Topics 9
    • Posts 15
    • Best 3
    • Controversial 0
    • Groups 0

    morgoth90

    @morgoth90

    3
    Reputation
    6
    Profile views
    15
    Posts
    0
    Followers
    0
    Following
    Joined Last Online
    Location Italy Age 35

    morgoth90 Unfollow Follow

    Best posts made by morgoth90

    • CNC pendant encoder skipping step

      I was trying the firmware on an Arduino nano: https://github.com/Duet3D/CNC-Pendant-Firmware/tree/master
      After a few fast encoder rotations the detected pulses disalign resulting in two stray pulses after each detected movement:

      pulse1
      pulse2
      pulse3
      pulse4
      MOVEMENT +1
      ... after some fast movements...
      pulse3
      pulse4
      MOVEMENT +1
      pulse 1
      pulse 2
      

      This behaviour is probably caused by some missed pulse but as result will ignore the first movement in the opposite direction.

      After some tests I fixed the issue rewriting the encoder code using the arduino Encoder library:
      RotaryEncoder.cpp
      RotaryEncoder.h

      posted in CNC
      morgoth90undefined
      morgoth90
    • RE: Duet 3 SBC: Stuck on "Setting up reprapfirmware (3.4.5-1) ..."

      I've solved flashing the board using bossa

      posted in Firmware installation
      morgoth90undefined
      morgoth90
    • RE: CNC pendant encoder skipping step

      @droftarts
      Right, probably was included in the available libraries because time ago i was sperimenting with a teensy controller.
      The encoder library is from here:
      https://github.com/PaulStoffregen/Encoder

      posted in CNC
      morgoth90undefined
      morgoth90

    Latest posts made by morgoth90

    • RE: CNC pendant encoder skipping step

      @droftarts
      Right, probably was included in the available libraries because time ago i was sperimenting with a teensy controller.
      The encoder library is from here:
      https://github.com/PaulStoffregen/Encoder

      posted in CNC
      morgoth90undefined
      morgoth90
    • CNC pendant encoder skipping step

      I was trying the firmware on an Arduino nano: https://github.com/Duet3D/CNC-Pendant-Firmware/tree/master
      After a few fast encoder rotations the detected pulses disalign resulting in two stray pulses after each detected movement:

      pulse1
      pulse2
      pulse3
      pulse4
      MOVEMENT +1
      ... after some fast movements...
      pulse3
      pulse4
      MOVEMENT +1
      pulse 1
      pulse 2
      

      This behaviour is probably caused by some missed pulse but as result will ignore the first movement in the opposite direction.

      After some tests I fixed the issue rewriting the encoder code using the arduino Encoder library:
      RotaryEncoder.cpp
      RotaryEncoder.h

      posted in CNC
      morgoth90undefined
      morgoth90
    • RE: XYZ probe wiring

      Nevermind...
      for some reason I didn't see that the P parameter specifies the probe to use

      posted in CNC
      morgoth90undefined
      morgoth90
    • XYZ probe wiring

      650c6810-2425-4984-8b82-e23898332a3c-image.png

      I have a xyz probe that act as a switch and I'm planning to use somethig like this to find the center of the hole:

      ; Find center of cavity
      M675 X R2 F300 K0							; Find center in X axis
      M675 Y R2 F300 K0							; Find center in Y axis
      

      I already have microswitches as endstops on the minimum of the axes.
      What pin should I connect the probe to and how should it be configured?
      Does M675 expect the probe to be set for both the minimum and maximum of the axis in the configuration or is there a way to specify one pin as a probe for multiple axes?

      (I'm using a Duet 3 6HC with a raspberry SBC)

      posted in CNC
      morgoth90undefined
      morgoth90
    • What CAM should I use?

      Before wasting time on software that is not fully supported, I would like to know some recommended CAMs.
      As a cad I use fusion but I would have no problem using an external one.

      posted in CNC
      morgoth90undefined
      morgoth90
    • How to write a plugin?

      I have a duet 3 paired with a rasperry 4 and I need to write some code running on the raspberry to interact with the duet and a usb device.
      I'm a programmer so it's not a code related problem but I'm a bit confused on how to write and load a plugin into the DSF system.
      What can be a good sample to start with and what is the procedure to add a custom plugin?

      posted in DSF Development
      morgoth90undefined
      morgoth90
    • RE: Duet 3 SBC: Stuck on "Setting up reprapfirmware (3.4.5-1) ..."

      I've solved flashing the board using bossa

      posted in Firmware installation
      morgoth90undefined
      morgoth90
    • RE: Duet 3 SBC: Stuck on "Setting up reprapfirmware (3.4.5-1) ..."

      Seems that the firmware files are moved correctly into /op/dsf/sd/firmware, the update process remain stuck on the last line of the .deb postinst:
      fa7fc00b-6ab7-4170-8e19-7d7c9789686d-image.png

      The duet was working fine on an old 2019 firmware version and the state led is blinking correctly.

      posted in Firmware installation
      morgoth90undefined
      morgoth90
    • Duet 3 SBC: Stuck on "Setting up reprapfirmware (3.4.5-1) ..."

      I'm trying to update a duet 3 6hc with a sbc but apt is stuck on "Setting up reprapfirmware (3.4.5-1) ..."
      I've tried to reboot several times but nothing had changed.
      The web panel now is always sayng "Starting".
      There's a installation log to check or a way to fix this?

      posted in Firmware installation
      morgoth90undefined
      morgoth90
    • Duet3 1.0: using LASER/VFD and OUT9 connector at the same time

      My plan is to have a generic connector to control varius tools with both 0-10v and pwm.
      Is the out9 connector still outputting the pwm signal if the LASER/VFD connector is wired to a 0-10V module?

      posted in Duet Hardware and wiring
      morgoth90undefined
      morgoth90