Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login
    1. Home
    2. AndreS
    3. Posts
    • Profile
    • Following 0
    • Followers 3
    • Topics 11
    • Posts 87
    • Best 8
    • Controversial 0
    • Groups 0

    Posts made by AndreS

    • RE: Delta with 4th axis for extruder

      homedelta.g

      ; Homing file for RepRapFirmware on Mini Kossel
      G91				; use relative positioning
      M584 P4				; unhide 4th axis
      ;******* Change 320 in the following to a higher value if your Kossel has taller towers
      G1 H1 X340 Y340 Z340 U340 F2000	; move all carriages up 320mm, stopping at the endstops
      G1 H2 X-3 Y-3 Z-3 U-3		; move all carriages down 3mm
      G1 H1 X6 Y6 Z6 U6 F150		; move carriages slowly up 6mm, stopping at the endstops
      M584 P3				; hide 4th axis
      
      G1 Z-5 F2000			; down a few mm so that we can centre the head
      G90				; back to absolute positioning
      G1 X0 Y0 F2000			; centre the head and set a reasonable feed rate
      

      Relevant parts in config.g

      ; Axis and motor configuration
      M569 P0 S1				; Drive 0 direction
      M569 P1 S1				; Drive 1 direction
      M569 P2 S1				; Drive 2 direction
      M569 P3 S0				; Drive 3 direction (Extruder)
      M569 P4 S0				; Drive 4 direction (4th axis)
      M574 X2 Y2 Z2 S1			; set endstop configuration (all endstops at high end, active high)
      M584 X0 Y1 Z2 U4 E3			; create axes
      M574 U2 S0				; 4th axis endstop, high end, active low, connect to E0stop
      
      M665 L215.000:215.000:215.000:130 R101.791 H221.788 B85.0 X0.131 Y0.014 Z0.000
      M666 X-0.380 Y0.336 Z0.044 A0.00 B0.00
      M669 X-22 Y0				; position of extruder pivot mount relative to machine center
      
      M350 X16 Y16 Z16 U16 E16 I1		; Set 16x microstepping with interpolation
      M92 X80 Y80 Z80	U400 E412		; Set axis steps/mm
      M906 X1000 Y1000 Z1000 U1000 E750 I60	; Set motor currents (mA) and increase idle current to 60%
      M201 X800 Y800 Z800 U400 E2000		; Accelerations (mm/s^2) E1000
      M203 X20000 Y20000 Z20000 U3000 E7200	; Maximum speeds (mm/min)
      M566 X800 Y800 Z800 U500 E2400		; Maximum instant speed changes mm/minute E1200
      
      M208 S1 Z0.0				; set minimum Z
      M208 U0:500				;  set travel of 4th axis
      
      M584 P3					; hide 4th axis
      T0					; select first hot end
      

      I had to play with the value of rod length of 4th axis in M665 (its a bit more than the tubes length) and offset value in M669 (its less than actual) so that the bowden tube stays how I want it.

      Hope it helps.

      posted in My Duet controlled machine
      AndreSundefined
      AndreS
    • Delta with 4th axis for extruder

      I recently installed the 4th axis for the extruder on my delta printer.
      DuetWifi with Firmware 2.05.1
      See it in action (2min30):

      posted in My Duet controlled machine
      AndreSundefined
      AndreS
    • RE: mesh bed error detection

      @WillGIam
      Take a look here: link
      Maybe you can use some of the code.

      posted in Tuning and tweaking
      AndreSundefined
      AndreS
    • RE: XY Acceleration / Speed / Resolution on a Delta

      On a delta there is no fix resolution in XY plane. If one arm is nearly horizontally, the carriage has to move many steps to move the printhead a tiny bit, and is the arm nearly vertically then the printhead moves a 'huge' amount if the carriage move a little bit up or down.

      posted in Tuning and tweaking
      AndreSundefined
      AndreS
    • RE: Continue blocking during printing.

      check your config-override.g

      posted in My Duet controlled machine
      AndreSundefined
      AndreS
    • RE: 3144 5V Hall Sensors on duet?

      From Allegro there are A1120 to A1123. But at the time I bought them, the only source was AliExpress and only A1120. Rare to get.

      posted in Duet Hardware and wiring
      AndreSundefined
      AndreS
    • RE: Hall effect sensor

      @Vlad as mentioned in your other thread, your 3.3V hall sensor is a linear output type. A buffer circuit will not help. You need a circuit with an comparator and a pot to form a didgital output.

      posted in Duet Hardware and wiring
      AndreSundefined
      AndreS
    • RE: 3144 5V Hall Sensors on duet?

      Hey, i was writing a ton of text and now had to delete it 🙂
      Do as @dc42 suggested, should work.
      The SS49E has an analog output and is in its raw form not suitable as endstop.

      posted in Duet Hardware and wiring
      AndreSundefined
      AndreS
    • RE: Duet 085 and Fans

      @dc42 said in Duet 085 and Fans:

      Thanks. Please try the new 1.24RC2 release, which should behave exactly the same 1.24RC1+1.

      Tested and its the same.

      I also used this line:
      M106 P3 S1 I1 F500 H1 T45:100 L0.6 A4
      and PWM is working as expected.
      Mapping with A3 (Pin 21) and A2 (E1 heater) works also.
      A big thank you.

      posted in Firmware wishlist
      AndreSundefined
      AndreS
    • RE: Duet 085 and Fans

      @dc42
      Installed:
      Firmware Name: RepRapFirmware for Duet
      Firmware Electronics: Duet 0.85
      Firmware Version: 1.24RC1+1 (2019-05-11b1)
      Web Interface Version: 1.22.6

      Config.g (bench setup)
      ; Heaters
      M307 H0 A463.6 C845.6 D3.3 S1.00 B0
      M307 H1 A432.5 C186.7 D8.1 S1.00 B0
      M305 P0 T100000 B4480 C0 R4700 H34 L0; Set thermistor + ADC parameters for heater 0 (4138)
      M305 P1 X501
      M307 H5 A-1 C-1 D-1 ; Disable Heater, available for M42 P4(4,3) S0.xx, M106 A4 (Pin22)
      M307 H4 A-1 C-1 D-1 ; available for M106 A3 (Pin21)
      M307 H3 A-1 C-1 D-1

      M106 P0 S0 I0 F15000 H-1 ; Tool fan (Fan0)
      M106 P1 S0 I0 F500 H-1 ; Bed fan (Fan1)
      M106 P2 A5 I1 S0.15 H-1 ; LEDs (Pin23)
      M106 P3 S1 I1 F500 H1 T45 A4 ; Thermostatic control is turned on (Pin22)

      all working fine. Thank you.

      posted in Firmware wishlist
      AndreSundefined
      AndreS
    • RE: PanelDue goes wireless

      @bearer said in PanelDue goes wireless:

      I considered using HC-06 modules to make a bluetooth serial bridge, could give you a better battery life than WiFi?

      I think the backlight from the display will draw the most current, so the bridge part current is not relevant.
      Go with it and report back. Would be nice to see another way.

      posted in PanelDue
      AndreSundefined
      AndreS
    • PanelDue goes wireless

      Hi all,

      I had the idea to get rid of the cable from Duet to PanelDue (in my case to my own DuetMonitor with a Teensy and 5" RA8875 display), so I can place the Monitor where I want and even take it with me to another room (within reasons).
      I didnt want it to connect to my router and have read about the ESPNOW protocol. Its working on 2,4G frequency but is a (multi-)point to (multi-)point data transmission protocol without connection to a network.
      So I did some setup on a breadboard, and got a functioning prototype.
      Then I ordered some PCBs, soldered the components on and got this:
      0_1554812736310_IMG_20190406a.jpg
      0_1554812785470_IMG_20190406c.jpg
      0_1554812801920_IMG_20190406d.jpg
      Its working!! and no cable.

      The PCB is 3cm x 4cm. I went with a 18650 LiPo battery holder with charger, so no cable at all other then charging.
      Using and charging at the same time is possible with this battery holder.
      But you can go with this:
      0_1554813328852_IMG_20190409a.jpg
      mount it at the case and feed the voltage to the PCB. Power it with a wall wart or powerbank. A good powerbank should last several hours. The PanelDue gets the voltage through a short cable.
      The PCB on the printer should be mounted where it can receive and send proper.

      Because a panel of 4x4 PCBs was only a little more charge with p&p, now I have roughly 30 PCBs that I dont need.
      This is a great community, so if you want you can get them for €0,75 each + €1,50 postage to Europe and US (up to 50g), €3,70 above 50g (from Germany).
      The ESP8266 has to be programmed with Arduino IDE with ESP8266 Addon over serial. You can get the source code via email.

      Technical Data:
      You can choose between 8 IDs (Each pair has to have its own ID).
      You can choose between 4 WLAN channels (1,4,7,11).
      Set A or B for the ID. (There is no dedicated Master or Slave, each pair has one A and one B on the same ID and channel, and it doesnt matter which is on PanelDue and Duet side).
      The serial port can be set to 19200, 38400, 57600 or 115200. Typically set to 57600 for Duet.
      Its possible to use one PanelDue for different printers, but not at the same time: Change to another ID (and/or channel) on PanelDue side, press reset and you are connected to the other printer.

      If you are unable to solder and program the PCB I can do this, but I dont have the components laying around, so I have to order them.
      But it will then be €7 per PCB and I dont make a profit on it (I have no intention to make a profit).
      So if someone is interested PM me.

      And here is the schematic:
      0_1554814774874_SerialBridge_SCH.PDF

      posted in PanelDue
      AndreSundefined
      AndreS
    • RE: Error on Paneldue

      You have no tool selected.

      Type in 'T0'
      and try again.

      posted in General Discussion
      AndreSundefined
      AndreS
    • RE: Duet 085 and Fans

      @dc42
      I have installed:
      Firmware Name: RepRapFirmware for Duet
      Firmware Electronics: Duet 0.85
      Firmware Version: 1.24beta2+1 (2019-03-25b5)
      Web Interface Version: 1.22.6

      Settings in config.g:
      M307 H0 A463.6 C845.6 D3.3 S1.00 B0
      M307 H1 A432.5 C186.7 D8.1 S1.00 B0
      M307 H5 A-1 C-1 D-1 ; Disable Heater
      M307 H4 A-1 C-1 D-1
      M307 H3 A-1 C-1 D-1
      M307 H2 A-1 C-1 D-1
      ; heater6 shares pin with fan1, so do not use
      M563 P0 D0 H1 ; Define tool 0 with 'extruder drive 0' and 'heater 1', default fan 0
      M106 P0 S0.1 I0 F100 H-1
      M106 P1 S0.3 I0 F100 H-1

      Duet 0.85 is sitting on the test bench with termistor on bed input and a resistor on E0 input so the reading is 83.7 degC.

      M106 P2 and P3 are possible, but the mapping with A parameter is all over the place. So i tried to find out whats going on with P1.

      Measures are at fan header F0 and F1, heater header on 50pin connector H3 (pin 18), H4 (pin 21), H5 (pin 22) and E1 heater with oscilloscope.

      After reboot:

      • F0 PWM ok and you can adjust it,
      • F1 PWM ok and you can adjust it, BUT same signal(inverted) on H3, this is wrong
      • H4, H5 low

      M106 P1 I-1 (disable F1):

      • F1 low
      • H3 low

      M106 P1 A2 S0.5:

      • E1 heater PWM ok
      • H3, H4, H5 low

      M106 P1 I-1:

      • E1 heater off, ok

      M106 P1 A3 S0.5:

      • PWM on E1 heater (wrong)
      • H3, H4, H5 low

      M106 P1 I-1:

      • E1 heater off

      M106 P1 A4 S0.5:

      • PWM on F1 and H3(inverted to F1) (wrong)
      • H4, H5 low

      M106 P1 I-1:

      • F1 low (LED lit), H3 high
      • H4, H5 low

      M106 P1 A5 S0.5:

      • F0 !! PWM is set to 0.5 (very wrong)
      • you can set F0 with P0 AND P1
      • H3 high, H4, H5 low

      M106 P1 I-1:

      • F0 low (LED lit), no pwm on F0
      • M106 P0 S0.2 brings PWM back on

      if I now use P2 I get the same behavior.
      I hope you can solve it.

      posted in Firmware wishlist
      AndreSundefined
      AndreS
    • RE: Handling error codes to switch off power using M81

      I think it is not possible at the moment, but will be possible with the introduction of conditional execution of gcode in some of the next firmware releases.

      posted in General Discussion
      AndreSundefined
      AndreS
    • RE: Duet 2 Wifi Delta Printer Wiring

      @b3n said in Duet 2 Wifi Delta Printer Wiring:

      Front of the printer, with a tower on the front left and a tower on the front right and one center in the back.
      Can it be x,y,z counterclockwise, or clockwise or what have you?

      X -> front left
      Y -> front right
      Z -> center back

      If you do so, the X/Y (cartesian)plane is right. X0 Y0 in the center of the bed. +X to the right and +Y to the back. If you wire another way, you get rotation of the plane or mirrored prints.

      posted in Duet Hardware and wiring
      AndreSundefined
      AndreS
    • RE: Head Offset Problem

      Put the following at the end of your bed.g:

      G91
      G1 Z-5
      G90
      G1 X0 Y0

      and check the result.

      posted in General Discussion
      AndreSundefined
      AndreS
    • RE: Extruder 0 reports too little movement

      Check for any M591 commands in your config.g
      Post your config.g
      After the print aborted type M591 D0 in the console and show the report.

      posted in Tuning and tweaking
      AndreSundefined
      AndreS
    • RE: Duet 2 Wifi Delta Printer Wiring

      @b3n said in Duet 2 Wifi Delta Printer Wiring:

      when moving x or Y, on carriage moves while the others stay stationary. that seems reverse from the way ive seen them move.

      A move on delta moves always all three towers together. The M665 parameter sets the duet in delta mode.

      If in delta mode you can move the motors individually with G1 S1/S2

      Using the S1 or S2 parameter on a delta printer causes the XYZ parameters to refer to the individual tower motor positions instead of the head position, and to enable endstop detection as well if the parameter is S1

      This is used for homing.

      posted in Duet Hardware and wiring
      AndreSundefined
      AndreS
    • RE: M116: optional +->°C or +-<°C threshold definition for H P & C?

      @dc42 said in M116: optional +->°C or +-<°C threshold definition for H P & C?:

      I just checked the code. The M116 S parameter sets the tolerance, default 2 degC.

      I added it to the wiki. Please check.

      posted in Firmware wishlist
      AndreSundefined
      AndreS