Duet Wifi setup - need help
-
Hello,
Yes, you are correct, I'm using a E3D Titan extruder. Thank you, I will follow your advice.
The JST connectors seem to have the same pin spacing but I think the holes the pins go into are smaller? I tried to push them on but they didn't seem to want to go. Didn't want to break anything. Should they fit enough for testing? I'm thinking I really need to extend all the wiring as it's looking pretty tight in the enclosure and perhaps I should mount the Duet outside.
-
Ah, I should look closer before typing! The JST connectors indeed will fit onto the Duet board. The stepper motor wire coloring does not match up though. I am assuming it will be okay and rotation direction can be changed by editing the config.g?
Duet colors are - red/blue/green/black
Current wiring will be - green/black/red/blue
I do show resistance between the green/black and red/blue pairs so I assume this is all normal and will work. -
Okay…for some reason, I thought if you connect 12v to the board, you should not connect the USB simultaneously? Is this correct?
-
I have everything wired up and 12v applied to the board. The LEDs are lit up but I don't really know what they mean. I can connect to the board via the web interface, but cannot connect in my slicer (Simplify3D). I'm assuming I need to connect the USB cable? If so, do I need to move a jumper beforehand?
-
I've read the Wiki again and it's not clear to me. I don't want to feed power back into my computer if I connect the USB. Puzzled…
-
You don't need to connect via S3D, just use it to save .gcode files and upload those via the web interface. No need to connect USB.
-
I'm have my extruder connected to E0 Heat and the thermistor on E0 Temp. I can see the temperature reading but the heater doesn't turn on using the web interface. I can get the bed to turn on and warm up with a correct temperature reading. Once again, I am confused.
This is what is in the config.g below:; Heaters
M143 S260 ; Set maximum heater temperature to 260C
M570 S150 ; Set maximum heating time to 150s
M305 P0 T100000 B3950 C0.0000000000000000 R4700 L0 H0 ; Set thermistor + ADC parameters for heater 0
M305 P1 T100000 B3950 C0.0000000000000000 R4700 L0 H0 ; Set thermistor + ADC parameters for heater 1 -
Thank you, elmoret. I know it's not recommended to print via USB but I kind of like it. Seems easiest for me. Maybe I can learn to do it another way.
-
Well crap, I figured out why the nozzle wasn't heating up! I clicked on the Heater 1 in the web interface and it went from standby to active. What purpose does this serve, aside from challenging newbies?
-
Latest issue…extruder motor was running the wrong way. Changed M569 P3 S1 to M569 P3S0. This worked to reverse a different motor earlier today. Now, in the web interface, I cannot get the extruder motor to turn and get this error message:
M120
M83
G1 E-5 F600
M121
Attempting to extrude with no tool selected.So...what the heck did I do wrong now?
-
There are two heaters in the web interface because some printers have two extruders.
If you changed it to "M569 P3S0", the problem is not having a space between 3 and S.
Also, if you flip the connector on a stepper motor, it will reverse motor direction.
-
Oops, that was a typo…there is a space between the 3 and S. The funny thing is I changed it back to how it was originally (when the motor was working, just running backwards) and it still doesn't work. I've powered down, refreshed the web interface, and still doesn't work.
-
Could you post your config.g here, please?
-
There should be a line like:
M563 P0 D0 H1 ; Define tool 0 to use extruder drive 0 and heater 1
-
Also regarding the power from USB question:
Specifically, the board can always safely be powered by USB
-
Hey Tim,
Here it is…; Configuration file for Duet WiFi (MP Select Mini)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool on Tue Sep 27 2016 08:50:26 GMT-1000 (Hawaiian Standard Time); General preferences
M111 S0 ; Debugging off
G21 ; Work in millimetres
G90 ; Send absolute coordinates...
M83 ; ...but relative extruder moves
M555 P2 ; Set firmware compatibility to look like Marlin
M208 X0 Y0 Z0 S1 ; Set axis minima
M208 X120 Y120 Z120 S0 ; Set axis maxima;Wifi Networking (may not need this section)
;M540 P0xBE:0xEF:0xDE:0xAD:0xFE:0xED ; MAC Address
;M552 S1 ; Enable WiFi; Endstops
M574 X1 Y1 Z0 S0 ; Define active low and unused microswitches
M558 P1 X0 Y0 Z1 H5 F120 T1200 ; Set Z probe type to unmodulated, the axes for which it is used and the probe + travel speeds
G31 P500 X0 Y0 Z2.5 ; Set Z probe trigger value, offset and trigger height; Drives
M569 P0 S1 ; Drive 0 goes forwards S1=forwards S0=reversed
M569 P1 S1 ; Drive 1 goes forwards
M569 P2 S0 ; Drive 2 goes forwards
M569 P3 S0 ; Drive 3 goes forwards
M350 X16 X16 X16 X16 I0 ; Configure microstepping without interpolation
M92 X93 Y93 Z1097.5 E406 ; Set steps per mm
M566 X900 Y900 Z12 E120 ; Set maximum instantaneous speed changes (mm/min)
M203 X1500 Y1500 Z180 E1200 ; Set maximum speeds (mm/min)
M201 X800 Y800 Z20 E1000 ; Set accelerations (mm/s^2)
M906 X800 Y800 Z600 E800 I30 ; Set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout; Heaters
M143 S260 ; Set maximum heater temperature to 260C
M570 S150 ; Set maximum heating time to 150s
M305 P0 T100000 B3950 C0.0000000000000000 R4700 L0 H0 ; Set thermistor + ADC parameters for heater 0
M305 P1 T100000 B3950 C0.0000000000000000 R4700 L0 H0 ; Set thermistor + ADC parameters for heater 1; Tools
M563 P0 D0 H1 ; Define tool 0
G10 P0 X0 Y0 ; Set tool 0 axis offsets
G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C; Network
M550 PMP Select Mini ; Set machine name
M552 P0.0.0.0 S1 ; Enable network and acquire dynamic address via DHCP; 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
-
I just noticed this line in my config.g:
M350 X16 X16 X16 X16 I0 ; Configure microstepping without interpolationShouldn't it be M350 X16 Y16 Z16 E16?
Would I want with or without interpolation?BTW, this config.g is from the configurator. I was reading about it in another thread and it seems this happened to someone else.
-
From the Wiki:
"The 5V circuit can be supplied from USB (for example, with no actual PSU attached; recommended for initial setup), an external 5V supply (for example, the +5VSB rail on an ATX power supply), or it can be powered from the 12/24V supply through an internal switching power supply. Jumpers must be set up appropriately. Specifically, the board can always safely be powered by USB, but if the INT 5V EN jumper is set, the internal switching-mode power supply will feed the 5V circuit from the 12/24V circuit; if instead the EXT 5V EN jumper is set, the board will be powered from the 5V in pin."
The bold text is where I got confused. It sounds like, as you said, you can always safely connect the USB cable. That makes sense as there could be numerous instances where you'd want to do that. Reading it again, and hearing your advice, makes me feel comfortable connecting the USB with 12v power applied to the board.
Thanks! -
The I0 or I1 is to turn off or on interpolation. Turning it on should result in smoother/quieter printing. It shouldn't cause any problems. I use it on "I1".
You need a T0 at the very end of that config.g file. Perhaps that got cut off when you were editing?
-
The only thing I changed is the 1 after the S…changed it to 0. Then the extruder motor would no longer turn (it would turn before, just going the wrong way). I even changed the 0 back to a 1 and the motor still doesn't turn. Very strange as the config.g is exactly like it was before when the motor was working.