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

    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
    • RE: duet 3 power sbc from dedicated power supply

      @bearer said in duet 3 power sbc from dedicated power supply:

      You'll have to use a shared ground for the SPI signaling so faulty wiring could result in current flowing through the ribbon cable.

      dc42 posted something about potential (theoretical?) damage to the Pi if the Pi is connected to a unpowered Duet, as such the reccomendation is to always power both from the same 5v supply through the ribbon cable, be it internal or external to the Duet (and set jumpers accordingly)

      ok, so in my case is safer if the sbc provide the 5v to the duet.

      posted in Duet Hardware and wiring
      morgoth90undefined
      morgoth90
    • duet 3 power sbc from dedicated power supply

      I have a 24v power supply connected to the duet 3 and a 5v 10a buck converter I will use to power additional electronics.
      Its safe to power the sbc from the 5v buck converter removing the 5V->SBC jumper? I have read about ground loops in other threads but I'm not an expert so I tink its safer to ask.

      posted in Duet Hardware and wiring
      morgoth90undefined
      morgoth90
    • RE: Duet 3 + raspberry: power management

      Thank for the ideas.
      I will connect an arduino as led indicators and buttons controller to the raspberry's spi bus, that arduino probably will also trigger the shutdown event on the pi and wait for a signal (on a gpio pin?) to confirm the 5v cut.

      posted in General Discussion
      morgoth90undefined
      morgoth90
    • Duet 3 + raspberry: power management

      What is the correct method to manage the raspberry shutdown sequence?
      I'll connect a stop button (and probably a relay connected to the duet) to shutdown the 24v psu and the splidle psu mantaining the 5v line on.
      So when the 24v line is disabled the duet and the raspberry will still be on. I know the duet does no have problems with power loss but for sure the raspberry will need a shutdown button.
      Does DuetPi have some system to manage that or should I use a free gpio pin to trigger a shutdown script?

      posted in General Discussion
      morgoth90undefined
      morgoth90
    • PanelDue for CNC

      What is the current status of the PanelDue firmware for cnc machines? I see only old threads on the argument and I'm undecided if buy a panel due o not.

      posted in CNC
      morgoth90undefined
      morgoth90