Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login
    1. Home
    2. Tryptamine
    3. Posts
    • Profile
    • Following 0
    • Followers 0
    • Topics 16
    • Posts 40
    • Best 4
    • Controversial 1
    • Groups 0

    Posts made by Tryptamine

    • RE: GCode upload fails: Status Code 413

      @Tryptamine

      I found the solution! The issue was with my NGINX configuration limiting upload file size. Here's what fixed it:

      In my NGINX config for the domain, I added:

      client_max_body_size 100M;
      
      location / {
          # existing settings...
          proxy_read_timeout 300;
          proxy_connect_timeout 300;
          proxy_send_timeout 300;
      }
      

      This increased the max upload size to 100MB and extended the timeout to 5 minutes. After restarting NGINX, the 413 error disappeared and I can now upload larger files through my domain without issues. So happy to have this resolved!

      posted in Duet Web Control
      Tryptamineundefined
      Tryptamine
    • RE: GCode upload fails: Status Code 413

      @Tryptamine

      I just found out:
      If i use the local IP of Duet Web, it succeeds. Using my Domain over Port forwarding to NGINX, the error occurs. So it is a network configuration issue, but not one of Duet Web.

      I will still update this thread with a solution.

      posted in Duet Web Control
      Tryptamineundefined
      Tryptamine
    • GCode upload fails: Status Code 413

      I have an issue in my Duet Web interface.
      When trying to upload a gcode, i get:

      Failed to upload FILE.gcode
      bad status code 413
      

      putting the files directly on the SD card works.
      413 appears for The Upload and start, as well as upload gcode in Jobs.

      this apparently is a file size issue:
      Uploading an empty .gcode file (like 1kb) works.
      Uploading a large other file to system files also does not.
      Tested on multiple browsers.

      And confusingly, i could upload the same gcode last week, and did not change the system.

      What could be the issue here?

      posted in Duet Web Control
      Tryptamineundefined
      Tryptamine
    • RE: Duet 2 WiFi Trapped in Blue Light 🔵 not recognised

      @droftarts
      NOT inserting the SD card made the board available on Windows!!!
      It is listed as Boassa Program Port (COM12)
      I will update once I have news. Thank you SO much!

      posted in Firmware installation
      Tryptamineundefined
      Tryptamine
    • RE: Duet 2 WiFi Trapped in Blue Light 🔵 not recognised

      @droftarts Ah, and regarding the wiring issue: There is none 🙂
      I can show you a schematic of the board once i boot my other machine.

      You see the upside of the board in this image, what connects to the Duet.
      This uses as many common wires as possible. There is one GND, one 3.3V, one 5V, one 24V - This is the 4 pin connector next to the fuse.
      This power is distributed on the backside to the BLT, i know it needs 5V (this is why Board v2 is printed to the PCB... 😄 ), 3.3V, GND, and 2 control signals.

      Regarding the Z Motors, i connected the second Z motor to the E2 stepper driver to distribute the load.

      posted in Firmware installation
      Tryptamineundefined
      Tryptamine
    • RE: Duet 2 WiFi Trapped in Blue Light 🔵 not recognised

      @droftarts That makes me really, really angy.
      As it was inserated as genuine Duet 2 Wifi board, and even comes with the Duet text on the front (other than the clone board), so i was not critical - now its too late to reship, but i will try.

      Thanks for mentioning where i could get the iap4e.bin, but that is too late now. When first erasing, only after pressing reset, this blue LED came on. And i could still revert to normal mode by powering freshly.

      The moment i reset the board to SAM-BA mode, like i read, by shorting the erase wire while the board is disconnected, then attaching USB, then unshorting, the blue LED remained on.
      This is the state i described above:
      @Tryptamine said in Duet 2 WiFi Trapped in Blue Light 🔵 not recognised:

      On Windows, it's still visible as "device descriptor request failed". This persists even after uninstalling the driver, trying to reinstall, rebooting Windows, or changing USB ports.

      Ubuntu 22 doesn't see it under ls /dev/tty* and it's not listed under lsusb. I even tried formatting the SD card to FAT32 with 64KB allocation units, but there was no change.

      i tried variious restarts ot switching of usb ports without any effort. are there specific drivers i could try to support this bootloader mode?

      And why does not even Ubuntu recognize the board?

      posted in Firmware installation
      Tryptamineundefined
      Tryptamine
    • RE: Duet 2 WiFi Trapped in Blue Light 🔵 not recognised

      @dc42 i am 100% sure it is a genuine Duet2, v1.04.
      I bought it new from eBay after frying my fake duet board. It was very important for me to get a genuine one, as i was working so much together with this community that i wanted to give something back.
      The cooling blocks are these of my old board.

      It also had firmware pre-installed, but i could not update to the most recent version.
      M997: Firmware binary "Duet2CombinedFirmware.bin" not found
      It was first not seeing the Duet2CombinedFirmware.bin (even though i placed all 3 relevant .bind it in /firmware), then i placed the binaries additionally in /sys and in /.

      /
         Duet2CombinedFirmware.bin
         Duet2_SDiap32_WiFiEth.bin
         DuetWiFiServer.bin
      /firmware/
         Duet2CombinedFirmware.bin
         Duet2_SDiap32_WiFiEth.bin
         DuetWiFiServer.bin
      /sys/
         Duet2CombinedFirmware.bin
         Duet2_SDiap32_WiFiEth.bin
         DuetWiFiServer.bin
      

      it then complained for M997: In-application programming binary "iap4e.bin" not found

      At this point i decided to go for the erase route, which i regret now.
      Is there any way out? Except buying yet another board? I have a Pl2303 programmer and an ST-Link v2.

      It is so enormously frustrating. I re-build my printer from scratch, taking almost 2 years.
      Re-do the full wiring, create a custom extruder daughterboard with common phases to reduce the amount of wires. And just before starting, i short the board and it literally blows up.
      I then get a new board, reinstall everything, measure all individual contact points to be 100% sure to not fry the board again. All fine! Lets update the firmware...

      A meanwhile dusty daughterboard:
      20240818_193103.jpg

      posted in Firmware installation
      Tryptamineundefined
      Tryptamine
    • RE: Duet 2 WiFi Trapped in Blue Light 🔵 not recognised

      @droftarts sure!
      20240818_125137.jpg

      Leds which are on:
      Diag (blue)
      3.3 (red)
      5 (red)
      the one between reset button and the microusb connector (red)

      posted in Firmware installation
      Tryptamineundefined
      Tryptamine
    • RE: Duet 2 WiFi Trapped in Blue Light 🔵 not recognised

      @Tryptamine I urgently need help with this. Any idea is appreciated.

      posted in Firmware installation
      Tryptamineundefined
      Tryptamine
    • Duet 2 WiFi Trapped in Blue Light 🔵 not recognised

      Hello all,

      I recently got a new official Duet 2 WiFi to replace my broken one. It came without firmware, so I tried updating over YAT, but that didn't work.
      I then decided to flash using BOSSA, which required erasing the board first.

      I shorted the erase pins and reset the board. The blue light came on, but my Windows now only sees it as "device descriptor request failed".

      To try and recover, I attempted to put the board in SAM-BA mode. This involved:

      1. Disconnecting power and USB
      2. Shorting the erase pins
      3. Connecting USB while keeping the pins shorted
      4. Removing the short

      After this procedure, the board remains in the blue light state. On Windows, it's still visible as "device descriptor request failed". This persists even after uninstalling the driver, trying to reinstall, rebooting Windows, or changing USB ports.

      Ubuntu 22 doesn't see it under ls /dev/tty* and it's not listed under lsusb. I even tried formatting the SD card to FAT32 with 64KB allocation units, but there was no change.

      At this point, I'm considering reflashing the bootloader. I have various programmers available, but I'm not sure about the process for the Duet 2 WiFi.

      Has anyone faced a similar issue? Any suggestions on how to proceed, or guidance on reflashing the bootloader safely?

      Thanks in advance for any help!

      Current state:
      - Board stuck in blue light state
      - Windows: "device descriptor request failed"
      - Ubuntu: Not visible in /dev/tty* or lsusb
      - SD card formatted to FAT32 (64KB units)
      
      posted in Firmware installation
      Tryptamineundefined
      Tryptamine
    • RE: Common lines for compact wiring - PCB design

      @Maestro
      Thanks for the feedback!

      Things I am still unsure about:

      • the BLT has GND twice. Is it sufficient to wire only one ground to some ground of the Duet, or does the ground have to be connected twice?
      • How to dimension the smoothing capacitor between 5v and GND?
      • Is the 50 mils connection for the heater PWM large enough?
      • Should I fuse the 24V on the board?
      posted in Duet Hardware and wiring
      Tryptamineundefined
      Tryptamine
    • RE: Common lines for compact wiring - PCB design

      @Maestro
      You are right.

      The refined PCB:

      dfee11a2-fe45-48ea-8793-f14e539b1bfe-image.png

      TOP:

      4e8b9ee5-ec3f-4d33-93bf-203c506a813c-image.png

      BOTTOM:

      db8d23c7-1368-48a6-a666-e8f01df94326-image.png

      RENDER:

      Platine_an_Drucker.jpg

      posted in Duet Hardware and wiring
      Tryptamineundefined
      Tryptamine
    • Common lines for compact wiring - PCB design

      Dear Forum,

      I am rewiring my printer as I am switching to a new carriage and cable chain.
      My plan is to get rid of as many cables as possible.

      This post is a continuation of my old thread from https://forum.duet3d.com/topic/32939/common-lines-for-compact-wiring

      Consolidated Wiring Plan for Printer Carriage:

      • Common lines:
        • 24V, GND, 5V
      • Fans:
        • Common 24V
        • Only negative connectors go to the board (PWM Modulated)
      • Heater Cartridge:
        • Common 24V
        • PWM Modulated negative
      • LED Lighting: Utilize a common GND and 5V lines
      • Optical Endstop: Utilize common GND, 5V, and one data line.
      • BLTouch (BLT):
        • Wiring similar to Optical Endstop.
        • Both GND pins bridged?
        • @dc42 said transient current might cause false triggering; potentially mitigate with a decoupling capacitor between 5V and GND at the tool head. Which capacitor size is recommended?
      • Thermistors: Cannot use a common ground due to Duet's separation of analog and digital grounds.

      PCB Design:

      I came up with the following PCB. As it is my first one, there could well be some flaws or thigs I missed.
      It would be great if someone could look at it and share their opinion.

      d26c3125-bbe9-44e1-a6b2-a48c3c59b57b-image.png

      Left is the input side coming from the carriage, and right the reduced wires going to the Duet Wifi

      345fcc70-cfaf-41ce-96e6-8f6ea4328718-image.png
      This is the actual PCB layout. I created a 24V plane, as i though this is the line carrying most of the current.
      Are the connectors sized adequately? Is there any issue/danger in the design?

      Note:
      So far I am missing the fuse and the coupling capacitor.

      posted in Duet Hardware and wiring
      Tryptamineundefined
      Tryptamine
    • RE: Common lines for compact wiring

      @droftarts I have the 24V heater since a long time already 🙂 The problem back then was i had all my wires through a cold water connection hose and could not change single parts.

      And also, even though I planned to change the heater block anyway, I can not accept a problem to be just "unsolvable", especially with software. I thought there must be a way, just for my ego so to say.

      Indeed it was your approach M307 H1 ... after the M950 H1 ... that solved the issue!
      Big times thank you for this again. Made the printer last for some important prints before the heater core swap.

      I understand the safety concerns, but for me, it makes no sense to destroy someone's reputation because he asked for advice.

      Thanks for helping out on this one and for the upvotes!

      I will update you when my new carriage and daughterboard are finished.

      posted in Duet Hardware and wiring
      Tryptamineundefined
      Tryptamine
    • RE: Common lines for compact wiring

      Thanks so much for these replies!

      I did not know the Duet tool board existed.
      Sadly I am still on the Duet 2 Wifi so the toolboard is not compatible.

      But probably my reduction to common Gnd, Vin and 5V and a splitter board on the printer already is enough so I can fir everything in the 7mm cable chain.
      And I also love the ide to be able to unplug stuff on the carriage board and not having to undo all cabling when changing one component.

      @dc42 @deckingman
      I'd love to upvote you, but due to reasons beyond my understanding, I have -1 reputation and can not upvote.
      so just thank you 🙂

      posted in Duet Hardware and wiring
      Tryptamineundefined
      Tryptamine
    • Common lines for compact wiring

      Dear Forum,

      I am rewiring my printer as I am switching to a new carriage and cable chain.

      My plan is to get rid of as many cables as possible.

      This means i will use a common ground, from measurements i found out fans use a common high line instead, i suspect this is duet to the PWM being controlled by MOSFETs.

      So my approach would be to wire one common VIN (fused!), common 5V and GND to the print carriage and build a splitter there.

      • both Fans use the VIN, to the board go only the negative connectors
      • Heater cartridge same story
      • LED lighting uses common GND and common 5V line
      • Optical Endstop common GND, common 5V and one data
      • BLT same story
      • what about thermistor? Probably common ground?

      Is there any problem with this approach or am i missing something critial?

      Thanks in advance!

      posted in Duet Hardware and wiring
      Tryptamineundefined
      Tryptamine
    • RE: Save password in Duet Web control interface

      It is not opened to the internet, but it is in a network with internet access. I think having a password is better than having none, so how to save it in my browser?

      posted in Duet Web Control
      Tryptamineundefined
      Tryptamine
    • Save password in Duet Web control interface

      Every time when i restart or reset my printer, i have to type in the password (or click on it from the saved ones).

      Isn't there an option to remember the password, as to store it in a session or so?
      I do not want to fully remove the password as my printer is accessible from the internet

      Thanks for any help.

      posted in Duet Web Control
      Tryptamineundefined
      Tryptamine
    • RE: Circles not printed round

      @o_lampe
      I only hold the calliper there to visualize the problem. I made dozens of measurements in multiple prints.

      posted in General Discussion
      Tryptamineundefined
      Tryptamine
    • Circles not printed round

      I have a coreXY printer (Hypercube Evolution)

      Today I found out, that shapes prints are distorted:
      A circle is not a circle, but wider along the Y-axis than along the X-axis, by half a millimetre.
      Where could this problem come from?
      The belts are tensioned. The angles are 90deg. Both motors for XY movement are identical and have the same steps/mm set in config.

      I am running out of ideas.
      alt text
      alt text

      posted in General Discussion
      Tryptamineundefined
      Tryptamine