New Duetwifi fan/endstop problems (Solved)
-
Hey guys, I did try searching through and couldn't find anything on this specific matter. I may have found something for the fans, but not sure until I get home.
1. "Always On" fans and variable fans not working. Tried 5 different confirmed good fans and none of them are working. Not home to check but will check contacts with meter to verify power.
2. Optical Endstops not triggering. 3 wire optical endstop, 3.3v going to positive on endstop, gnd going to gnd and signal going to signal. Used RRF configurator and have endstops set to high endstop and normally closed. During "home all" carriages go up but continually crashes into top, skipping belt teeth. When I go to only home x, y, or z, all carriages move.
When I get home I'll post up my config file as well as pictures of the board. Just wanted to get this on here for a little headset art on troubleshooting.
I had to send the board in already because of fried motor driver, and I just received this one.
Things I know.
Endstops
1. I had to rearrange pins on endstop connectors to match polarities.
2. VIN, 3.3v, and 5v are all lit up
3. Endstop trigger lights never light up, whether I have it set to NC, NO, or manually trigger endstop.Fans
1. Tried multiple fans on both ALWAYS ON and variable pins, none worked
2. Tried all fans on a RUMBA board, they all worked
3. Fans show up on web control they just won't come on whether it's at 0% or 100% -
Alright, just got home.
Updates:
I do have 12v coming into the board
Fans
1. I have 9v coming to every fan port on the board.
2. Have 9v getting to VIN on the V Fan select
2. Fans not workingEndstops:
1. The endstops are still working with the RUMBA board
2. Endstops not triggering on DuetWifiWith what i'm seeing, i'm assuming it's something on the firmware not setup correctly by me.
Here is my config.g
; Configuration file for Duet WiFi (firmware version 1.20 or newer)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool on Fri Dec 29 2017 20:37:16 GMT-0500 (Eastern Standard Time); General preferences
M111 S0 ; Debugging off
G21 ; Work in millimetres
G90 ; Send absolute coordinates…
M83 ; ...but relative extruder moves
M555 P1 ; Set firmware compatibility to look like RepRapFirmare
; Automatic saving after power loss is not enabled
M665 R322.326 L450 B153.9875 H371.475 ; Set delta radius, diagonal rod length, printable radius and homed height
M666 X0 Y0 Z0 ; Put your endstop adjustments here, or let auto calibration find them
M208 Z0 S1 ; Set minimum Z; Endstops
M574 X2 Y2 Z2 S1 ; Set active high endstops
M558 P1 H5 F120 T6000 ; Set Z probe type to unmodulated and the dive height + speeds
G31 P500 X0 Y0 Z2.5 ; Set Z probe trigger value, offset and trigger height
M557 R153.9875 S20 ; Define mesh grid; Drives
M569 P0 S0 ; Drive 0 goes forwards
M569 P1 S0 ; Drive 1 goes forwards
M569 P2 S0 ; Drive 2 goes forwards
M569 P3 S0 ; Drive 3 goes forwards
M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation
M92 X80 Y80 Z80 E663 ; Set steps per mm
M566 X1200 Y1200 Z1200 E1200 ; Set maximum instantaneous speed changes (mm/min)
M203 X18000 Y18000 Z18000 E1200 ; Set maximum speeds (mm/min)
M201 X1000 Y1000 Z1000 E1000 ; Set accelerations (mm/s^2)
M906 X1000 Y1000 Z1000 E800 I30 ; Set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout; Heaters
M305 P0 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 0
M143 H0 S120 ; Set temperature limit for heater 0 to 120C
M305 P1 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 1
M143 H1 S280 ; Set temperature limit for heater 1 to 280C; Tools
M563 P0 D0 H1 ; 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; Network
M550 PMG v1.0 ; Set machine name
M552 S1 ; Enable network
M587 S"The Salt's-2G" P"TheGoodLife!0716!" ; Configure access point. You can delete this line once connected
M586 P0 S1 ; Enable HTTP
M586 P1 S0 ; Disable FTP
M586 P2 S0 ; Disable Telnet; Fans
M106 P0 S0.3 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
M106 P1 S1 I0 F500 H1 T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
M106 P2 S1 I0 F500 H1 T45 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on; Custom settings are not configured
; Miscellaneous
T0 ; Select first toolHere's my homedelta.g
; homedelta.g
; called to home all towers on a delta printer
;
; generated by RepRapFirmware Configuration Tool on Fri Dec 29 2017 20:37:15 GMT-0500 (Eastern Standard Time)
G91 ; relative positioning
G1 S1 X405 Y405 Z405 F1800 ; move all towers to the high end stopping at the endstops (first pass)
G1 X-5 Y-5 Z-5 F1800 S2 ; go down a few mm
G1 S1 X10 Y10 Z10 F360 ; move all towers up once more (second pass)
G1 Z-5 F6000 ; move down a few mm so that the nozzle can be centred
G90 ; absolute positioning
G1 X0 Y0 F6000 ; move X+Y to the centre -
I do have 12v coming into the board
Fans
1. I have 9v coming to every fan port on the board.
2. Have 9v getting to VIN on the V Fan select
2. Fans not workingIt sounds to me that there has been a short across one of the fan outputs on that board, which has fused the via in the PCB trace between VIN and the VIN pin of the fan voltage selector. If you are certain that you didn't cause the short, ask for another replacement board. Otherwise, you can bypass the trace using a wire on the back of the board; but make sure that the short won't happen again.
Endstops:
1. The endstops are still working with the RUMBA board
2. Endstops not triggering on DuetWifi
…
1. I had to rearrange pins on endstop connectors to match polarities.
2. VIN, 3.3v, and 5v are all lit up
3. Endstop trigger lights never light up, whether I have it set to NC, NO, or manually trigger endstop.If the endstop lights on the Duet never light up, then either your optical endstops are not wired to the Duet correctly or they need to be modified to work on 3.3V. See the end of https://duet3d.com/wiki/Connecting_endstop_switches#3.3V-compatible_optical_endstop for the modification tyhat is sometimes needed to make optical endstops 3.3v-compatible.
-
Fans:
To be honest, I may have caused the short, I never saw sparks or anything when i tested the pins, but I know the board was tested before it got sent to me. I'll try bypassingEnstops:
I read the documentation you linked to me saying to replace the resistors. my R1 is already a 10k resistor, and R2 is a 1k resistor. I know how to solder, and test measurements, but i've never been good at telling how much resistance is needed where and, are those resistors too much you think? -
Update:
-Fans: Fans are working now on all pins.
-Enstops: Not too sure what to do here. On the optical endstop it has a 10k resistor for R1, and a 1k for R2.Awesome thanks for that. I saw that post you submitted that said to jump VIN to VIN but I also had the endstops not working right and I didn't know how to checked to see if they were related or not, so i thought maybe it was something a little more complicated than that, luckily it wasn't lol.
-
20171231_091024 by Sammy Saltalamacchia, on Flickr
Sry about the size, wasn't sure to begin how to post it much less make it smaller lol
This is one of my endstops.
Pinout: +,-,sig (wires swapped on connector to match pinout on DuetWifi)
3.3v coming into the endstop board
Top resistor (R1) is a 10k resistor
Bottom resistor (R2) is a 1k resistor.reading across the R1 resistor with endstop triggered is 0v, when it's not triggered it's 1.63v
reading across the R2 resistor with endstop triggered is 2.18v, when it's not triggered it's 2.18vI should be getting 3.3v correct?
-
I may have figured out the issue with the endstops maybe?
I looked at the RUMBA schematics and it feeds 5v to the endstops. Where the Duetwifi is sending it 3.3v.Possible solutions
1. Remembering i know nothing about deciding what resistors should be used in anything, I could lessen the resistance on the boards…?
2. Going to be a bit janky.. but i could separate the endstops power, leaving just the GND and SIG on the endstops pins, and connect the powers to separate 5v pins in the board ( I see the 5v pin on the Panel Duo board (i may end up getting a Panel Duo in the near future), the 5v on the V FAN Jumper Select, and the 5v pin on the Jumper EXT 5v EN connector.-or- is it something to where I can just twist the endstop powers together and route them into a single 5v pin?
-
Leave the 10K resistor alone but replace the 1K resistor by a lower value. If you can tell me the part number of the slotted opto switch then I can work out an optimum value. However, 220 or 330 ohms should be suitable.
-
Awesome I will take it out and check for the PN. If I don't see how i'll just pop in a 330 first and check values.
-
Ok I didn't see a PN number on the resistor. I swapped the 1k resistor for a 330 and now the endstops are working correctly. And the fans.
I just changed my z height in the system editor on the web control, clicked apply, it restarted the printer, but now the printer won't respond. It will come on, hotend fan (FAN1) will come on at the hotend, then turn off after 1-2 sec. And it won't connect to wifi to use web control. Connected it to YAT via USB, it connected, but failed when i tried to use M587 commands. powered down printer, took the sd card out, stuck it in my PC and not it's corrupted and can't reformat lol. Off to the store to buy a few more sd cards incase that happens again.
-
Alright, All Fan and Endstop problems are solved. thanks guys!
-
@saltlife716 do you have got a picture on how you solved this? I mean the fan’s because I have the same problem.