I got it working thanks to everyone's advice. Using the two wires connected to the ground and io.0in pins, it works perfectly every time. Thanks for the help everyone!
Posts made by Justin 0
-
RE: Duet 3 6HC Endstops Will not Read in IO pins
-
RE: Duet 3 6HC Endstops Will not Read in IO pins
Thanks for the advice everyone. I'll be able to try it in a bit. I appreciate everyone's help!
-
RE: Duet 3 6HC Endstops Will not Read in IO pins
@alankilian
I agree it should be something simple. I tried placing a wire across the 3.3 to the io0 in pin and the board didn't read it. Below are images of the wiring. -
RE: Duet 3 6HC Endstops Will not Read in IO pins
@alankilian
I just tried it but there was no change in the reading. You are correct that I am using the 3.3v for the endstop. I do have the ground connected between the endstop and the board if that matters. -
Duet 3 6HC Endstops Will not Read in IO pins
Hi everyone, I'm working on getting a 3D printer up and running with a Duet 3 6HC board. The issue is that I can not get the board to recognize the endstops at all (ender 3 versions). I have taken a multimeter to verify that all my wiring for them is continuous and that the end stop completes the circuit when actuated. The wiring also has been shielded with aluminum foil to prevent any interference with the stepper motors.
Firmware: 3.3
Below is the code for my config file. (Eventually, I will enable the dual z motors, but I wanted to get XY motion done first. That is why there is a commented out stepper motor). I have also tried all of the endstops connected at once and one at a time, with no difference
; Configuration file for Duet 3 (firmware version 3) ; executed by the firmware on start-up ; ; generated by RepRapFirmware Configuration Tool v3.2.3 on Thu Jul 15 2021 14:31:46 GMT-0700 (Pacific Daylight Time) ; General preferences G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"Propellant Printer" ; set printer name M552 S0 ; Gaurentee Networking Disabled M552 P192.168.2.10 ; Set static IP at 192.168.2.10 M552 S1 ; Enable networking at static IP M586 P0 S1 ; enable HTTP M586 P1 S0 ; disable FTP M586 P2 S0 ; disable Telnet ; Drives M569 P0.0 S1 ; physical drive 0.0 goes forwards, Extruder M569 P0.1 S!1 ; physical drive 0.1 goes forwards, y axis M569 P0.2 S1 ; physical drive 0.2 goes forwards, x axis M569 P0.4 S1 ; physical drive 0.4 goes forwards, z left ;M569 P0.5 S1 ; physical drive 0.5 goes forwards, z right M584 X0.2 Y0.1 Z0.4 E0.0 ; E0.0 ; set drive mapping M350 X16 Y16 Z16 E16 I1; E16 I1 ; configure microstepping with interpolation M92 X80.00 Y80.00 Z400.00 E420.00 ; ; set steps per mm M566 X900.00 Y900.00 Z60.00 E120.00 ; ; set maximum instantaneous speed changes (mm/min) M203 X6000.00 Y6000.00 Z180.00 E1200.00 ; ; set maximum speeds (mm/min) M201 X500.00 Y500.00 Z20.00 E250.00 ; ; set accelerations (mm/s^2) M906 X1680 Y1680 Z20.00 E800 I30 ;Z1680 ; set motor currents (mA) and motor idle factor in per cent M84 S30 ; Set idle timeout ; Axis Limits M208 X0 S1 Y0 Z0 S1 ; set axis minima M208 X 210 Y210 Z200 S0 ; set axis maxima ; Endstops M574 X1 S1 P"!io0.in" ;M574 Y1 S1 P"!in3.in" ;M574 Z1 S1 P"!io2.in" ;M574 Z2 S1 P"io3.in" ; Heaters ;M308 S0 P"temp1" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin temp1 ;M950 H0 C"out0" T0 ; create bed heater output on out0 and map it to sensor 0 ;M307 H0 B1 S1.00 ; enable bang-bang mode for the bed heater and set PWM limit ;M140 H0 ; map heated bed to heater 0 ;M143 H0 S120 ; set temperature limit for heater 0 to 120C ;M308 S1 P"temp0" Y"thermistor" T100000 B4138 ; configure sensor 1 as thermistor on pin temp0 ;M950 H1 C"out2" T1 ; create nozzle heater output on out2 and map it to sensor 1 ;M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit ;M143 H1 S280 ; set temperature limit for heater 1 to 280C ; Fans M950 F0 C"out4" Q500 ; create fan 0 on pin out4 and set its frequency M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off M950 F1 C"!out6" Q500 ; create fan 1 on pin !out6 and set its frequency M106 P1 S1 H1 T45 ; set fan 1 value. Thermostatic control is turned on ; Tools ;M563 P0 D0 H1 F0 ; define tool 0 ;G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets ;G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C ; Custom settings are not defined
-
RE: Duet 2 Wifi issue. Wont connect after high voltage warning
@phaedrux I started adding items back one at a time. It looks like the PT1000 (thermistor and probe) and the BLTouch no longer work but everything else does. My guess is that one of the two could be the cause of the issue that I was having.
Thanks for the help everyone! -
RE: Duet 2 Wifi issue. Wont connect after high voltage warning
@dc42 @Phaedrux Nothing gets hot when connected over USB. I'm connected to the PSU and the board is working with not issues (I have power cycled everything a few time to make sure). Vin is reported at 24.3 by the board and 23.8 by multimeter. I don't have time to reassemble printer today, but will do that tomorrow port by port to make sure the board will still function. I appreciate your help!
-
RE: Duet 2 Wifi issue. Wont connect after high voltage warning
@phaedrux Connecting the board via USB with not connections has it working like it was new out of the box
-
RE: Duet 2 Wifi issue. Wont connect after high voltage warning
@phaedrux Okay will do. Just checked PSU voltage, its 24v. Measured it 10 times, 1 a min. range was 23.8-24v
-
RE: Duet 2 Wifi issue. Wont connect after high voltage warning
@phaedrux I dont see any damaged comonets on the boar. I'll attach some images.
The high voltage warning came from the duet at 31.4V. It could have come from the power supply. It came from an ender 3. I don't think the PSU has failed. I will have a multimeter later today and check output voltages.
I don't think any items got shorted and there was no sounds of shorting.
-
RE: Duet 2 Wifi issue. Wont connect after high voltage warning
@phaedrux I ran through the two links you had. The duet was good on the https://duet3d.dozuki.com/Wiki/What_to_do_if_your_Duet_won't_respond up to the diag LED. It is constantly lit when connected to the board is powered by the PSU.
I tested this by putting an old know cood config file, no change. I removed the SD card and no change. Reset button is not stuck on the board.
The board shows up on the PC and communicates with the PC.
It seems that the DIAG LED is an indicator that something got fried.
Running through the https://duet3d.dozuki.com/Wiki/SD_Card#Section_Troubleshooting_SD_Card_issues
M122 yields a .2 MB/s. This indicates a bad processor or SD card slot according to the link.
Running a file transfer test yields:M122 P104 s10 Error: Failed to create folder 0:/gcodes in path 0:/gcodes/test.tst Error: M122: Failed to create file
Just to rule out any SD card issue, I bought a new SD card with 10MB/s write and 100MB/s read, the same issue occurs. There is no visible damage to the SD card pins.
One thing that none of the guides mention that I think maybe another clue is the LED on the wifi module never lights.
From here, it seems those articles are pointing to a SD card and/or a processor issue on the board.
Do you know if there is anything else I can do?
Is there anything that Duet is able to help me with on the board if it is an SD card reader or processor issue?I really appreciate your expertise and help!!
-
RE: Duet 2 Wifi issue. Wont connect after high voltage warning
@justin-0 I stand corrected. After powering off and on again, it no longer connects or has the wifi module turn on.
-
RE: Duet 2 Wifi issue. Wont connect after high voltage warning
@phaedrux The SD card slot does not get hot. So something about getting the SD card connected to a PC changed something (I did not do anything to the card such as scanning or repairing it). The board will now connect to my wifi (confirmed via router and USB connection). It does not respond to connections to its IP address (via chrome and command prompt ping requests). I'm not really certain what is going on here with the board.
M122 return this now:
=== Diagnostics === RepRapFirmware for Duet 2 WiFi/Ethernet version 3.3 (2021-06-15 21:44:54) running on Duet WiFi 1.02 or later Board ID: 08DLM-996RU-N85S4-7J9F8-3S46K-9VBVP Used output buffers: 1 of 24 (1 max) === RTOS === Static ram: 23876 Dynamic ram: 79080 of which 12 recycled Never used RAM 11448, free system stack 191 words Tasks: NETWORK(ready,14.6%,416) HEAT(suspended,0.0%,336) MAIN(running,83.1%,467) IDLE(ready,2.3%,29), total 99.9% Owned mutexes: WiFi(NETWORK) USB(MAIN) === Platform === Last reset 00:01:37 ago, cause: power up Last software reset at 2021-08-19 18:34, reason: User, GCodes spinning, available RAM 11448, slot 2 Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0041f000 BFAR 0xe000ed38 SP 0x00000000 Task MAIN Freestk 0 n/a Error status: 0x00 Step timer max interval 0 MCU temperature: min 148.3, current 186.6, max 191.8 Supply voltage: min 0.1, current 0.8, max 1.2, under voltage events: 0, over voltage events: 0, power good: no Heap OK, handles allocated/used 0/0, heap memory allocated/used/recyclable 0/0/0, gc cycles 0 Driver 0: position 0, ok, SG min/max not available Driver 1: position 0, ok, SG min/max not available Driver 2: position 0, ok, SG min/max not available Driver 3: position 0, ok, SG min/max not available Driver 4: position 0, ok, SG min/max not available Driver 5: position 0 Driver 6: position 0 Driver 7: position 0 Driver 8: position 0 Driver 9: position 0 Driver 10: position 0 Driver 11: position 0 Date/time: 1970-01-01 00:00:00 Cache data hit count 4056468584 Slowest loop: 300.18ms; fastest: 0.13ms I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0 === Storage === Free file entries: 10 SD card 0 detected, interface speed: 20.0MBytes/sec SD card longest read time 52.4ms, write time 0.0ms, max retries 0 === Move === DMs created 83, maxWait 0ms, bed compensation in use: none, comp offset 0.000 === MainDDARing === Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1 === AuxDDARing === Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1 === Heat === Bed heaters = 0 -1 -1 -1, chamberHeaters = -1 -1 -1 -1 === GCodes === Segments left: 0 Movement lock held by null HTTP is idle in state(s) 0 Telnet is idle in state(s) 0 File is idle in state(s) 0 USB is ready with "M122" in state(s) 0 Aux is idle in state(s) 0 Trigger is idle in state(s) 0 Queue is idle in state(s) 0 LCD is idle in state(s) 0 Daemon is idle in state(s) 0 Autopause is idle in state(s) 0 Code queue is empty. === Network === Slowest loop: 15.42ms; fastest: 0.00ms Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0), 0 sessions HTTP sessions: 0 of 8 - WiFi - Network state is active WiFi module is connected to access point Failed messages: pending 0, notready 0, noresp 0 WiFi firmware version 1.26 WiFi MAC address f4:cf:a2:6e:81:89 WiFi Vcc 2.22, reset reason Turned on by main processor WiFi flash size 4194304, free heap 25968 WiFi IP address 192.168.86.33 WiFi signal strength -52dBm, mode 802.11n, reconnections 0, sleep mode modem Clock register 00002002 Socket states: 0 0 0 0 0 0 0 0 ok
-
RE: Duet 2 Wifi issue. Wont connect after high voltage warning
@phaedrux @phaedrux Plugging in the SD Card, I see no issue with reading any files at a first glance. What is the best way to verify the files are correct?
The board has 2 fans on it so I wasn't worried about heat but I probably should have. I touched the "big CPU chip" and it was slightly warm about 10 mins after the high voltage warning. I do remember that the BLTouch board got very hot that was in my hand. Hopefully it didn't fry more things, but it could of.
-
RE: Duet 2 Wifi issue. Wont connect after high voltage warning
@phaedrux I just tried that and the results are below. I think this means that there is an issue with the SD card then, correct? Might just need a reformat and install.
M552 S0 ok WiFi module started M997 S1 Error: M997: File 0:/firmware/DuetWiFiServer.bin not found ok M552 S1 ok WiFi module is idle WiFi reported error: no known networks found WiFi module is idle WiFi reported error: network scan failed WiFi module is idle WiFi reported error: network scan failed Error retrieving WiFi status message: SPI timeout Failed to change WiFi mode: bad reply format version
-
Duet 2 Wifi issue. Wont connect after high voltage warning
Hello, any advice would be welcomed here. I was working on setting up a BLTouch on my printer (Ender 3 style cartesian). I was looking at the Duet web interface and saw a high voltage warning (31.4v, should be 24v) and immediately powered off the machine. I want to turn it back on and the wifi module has no LED that is powering on and there is no connection to the wifi (verified with the router to ensure there was no IP address change). I connect the board to a computer via USB. I attempt to turn on the wifi and this is what I am getting:
m552 WiFi module is disabled ok m552 S0 ok WiFi module started m552 WiFi module is idle ok m552 S0 ok m552 WiFi module is idle ok M587 S"Redacted" P"Redacted" Error: M587: Failed to add SSID to remembered list: SPI timeout ok Error retrieving WiFi status message: another SPI transfer is pending Error retrieving WiFi status message: another SPI transfer is pending Error retrieving WiFi status message: another SPI transfer is pending
Here is the M122 command recommended in the troubleshooting guide (fresh after USB connection):
=== Diagnostics === RepRapFirmware for Duet 2 WiFi/Ethernet version 3.3 (2021-06-15 21:44:54) running on Duet WiFi 1.02 or later Board ID: 08DLM-996RU-N85S4-7J9F8-3S46K-9VBVP Used output buffers: 1 of 24 (1 max) === RTOS === Static ram: 23876 Dynamic ram: 73544 of which 12 recycled Never used RAM 16984, free system stack 193 words Tasks: NETWORK(ready,6.3%,517) HEAT(delaying,0.0%,386) Move(notifyWait,0.1%,364) MAIN(running,85.9%,639) IDLE(ready,7.8%,29), total 100.0% Owned mutexes: USB(MAIN) === Platform === Last reset 00:01:24 ago, cause: power up Last software reset at 2021-08-19 18:34, reason: User, GCodes spinning, available RAM 11448, slot 2 Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0041f000 BFAR 0xe000ed38 SP 0x00000000 Task MAIN Freestk 0 n/a Error status: 0x00 Step timer max interval 0 MCU temperature: min 214.0, current 220.6, max 221.2 Supply voltage: min 0.7, current 0.8, max 0.9, under voltage events: 0, over voltage events: 0, power good: no Heap OK, handles allocated/used 0/0, heap memory allocated/used/recyclable 0/0/0, gc cycles 0 Driver 0: position 0, ok, SG min/max not available Driver 1: position 0, ok, SG min/max not available Driver 2: position 0, ok, SG min/max not available Driver 3: position 0, ok, SG min/max not available Driver 4: position 0, ok, SG min/max not available Driver 5: position 0 Driver 6: position 0 Driver 7: position 0 Driver 8: position 0 Driver 9: position 0 Driver 10: position 0 Driver 11: position 0 Date/time: 1970-01-01 00:00:00 Cache data hit count 3570437365 Slowest loop: 0.19ms; fastest: 0.13ms I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0 === Storage === Free file entries: 10 SD card 0 detected, interface speed: 0.2MBytes/sec SD card longest read time 0.0ms, write time 0.0ms, max retries 0 === Move === DMs created 83, maxWait 0ms, bed compensation in use: none, comp offset 0.000 === MainDDARing === Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1 === AuxDDARing === Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1 === Heat === Bed heaters = -1 -1 -1 -1, chamberHeaters = -1 -1 -1 -1 === GCodes === Segments left: 0 Movement lock held by null HTTP is idle in state(s) 0 Telnet is idle in state(s) 0 File is idle in state(s) 0 USB is ready with "M122" in state(s) 0 Aux is idle in state(s) 0 Trigger is idle in state(s) 0 Queue is idle in state(s) 0 LCD is idle in state(s) 0 Daemon is idle in state(s) 0 Autopause is idle in state(s) 0 Code queue is empty. === Network === Slowest loop: 0.18ms; fastest: 0.00ms Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0), 0 sessions HTTP sessions: 0 of 8 - WiFi - Network state is disabled WiFi module is disabled Failed messages: pending 2779096485, notready 2779096485, noresp 2779096485 Socket states: 0 0 0 0 0 0 0 0 ok
I'd appreciate any help people can provide. Im not sure if its an SD card issue or a burnt out module.