@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
Posts made by morgoth90
-
RE: CNC pendant encoder skipping step
-
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 -
RE: XYZ probe wiring
Nevermind...
for some reason I didn't see that the P parameter specifies the probe to use -
XYZ probe wiring
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)
-
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. -
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? -
RE: Duet 3 SBC: Stuck on "Setting up reprapfirmware (3.4.5-1) ..."
I've solved flashing the board using bossa
-
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:
The duet was working fine on an old 2019 firmware version and the state led is blinking correctly.
-
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? -
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? -
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.
-
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. -
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. -
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? -
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.