BLTouch working
-
To everyone who has put this together so far, all the hard work, testing, calibration, programming, developing,
Thank you!
DC42, Sniffle, I could never do this on my own, and you are so helpful with all of this, and I want you both to know that your hard work is not going unnoticed.
Since it seems I have a ton of macros that have nothing to do with my machine floating around, I'm gonna delete all of them in web control, then enter them in configurator. -
Sniffy,
First I want to thank you for all the help thus far. I suppose I am still just extremely confused by this new folder structure as well as the pinouts do not make sense to me currently.
The P3 in the retract and deploy commands, what is this referencing?
I have the bltouch to the in an gnd on the probe headers on the duet, as well as the servo wire on pin 21 of the expansion header (is this right?) but there is no deployment or retraction of the bltouch. I also have the 307 command as you have written in your post, but I am completely in the dark on how to link this code to the pin 21 on the expansion headers.
I am just very confused still. Nothing is making sense to me currently and I keep blindly adding, and modifying spurts of code I see throughout this thread. Is it possible for you to copy in whatever files are relevant into this thread? Any macros, config.g, etc? I understand some people find this insulting so if this is a problem I understand.
can you post your config please, just post it to something like pastebin and link to it. I'll see if i can get my meager paint skills to make a drawing and also explain some things to you.
According to http://reprap.org/wiki/G-code the P3 in M280 is what references Pin 21
you also have https://duet3d.com/wiki/Using_servos_and_controlling_unused_I/O_pins
also https://duet3d.com/wiki/Using_mesh_bed_compensation
and https://duet3d.com/wiki/Duet_WiFi_wiring_diagrams
for reference.almost everything you need to refernce is on the duet3d wiki, or the reprap gcode wiki.
-
@3dprinting:
To everyone who has put this together so far, all the hard work, testing, calibration, programming, developing,
Thank you!
DC42, Sniffle, I could never do this on my own, and you are so helpful with all of this, and I want you both to know that your hard work is not going unnoticed.
Since it seems I have a ton of macros that have nothing to do with my machine floating around, I'm gonna delete all of them in web control, then enter them in configurator.I dont know what type of printer you are setting up, but the default setup is for an old style deployable rod that triggers a microswitch on a delta printer. so unless you are using that specific setup most of it will need to be removed or edited and rebuilt to suit your purposes.
-
Sniffy,
First I want to thank you for all the help thus far. I suppose I am still just extremely confused by this new folder structure as well as the pinouts do not make sense to me currently.
The P3 in the retract and deploy commands, what is this referencing?
I have the bltouch to the in an gnd on the probe headers on the duet, as well as the servo wire on pin 21 of the expansion header (is this right?) but there is no deployment or retraction of the bltouch. I also have the 307 command as you have written in your post, but I am completely in the dark on how to link this code to the pin 21 on the expansion headers.
I am just very confused still. Nothing is making sense to me currently and I keep blindly adding, and modifying spurts of code I see throughout this thread. Is it possible for you to copy in whatever files are relevant into this thread? Any macros, config.g, etc? I understand some people find this insulting so if this is a problem I understand.
can you post your config please, just post it to something like pastebin and link to it. I'll see if i can get my meager paint skills to make a drawing and also explain some things to you.
According to http://reprap.org/wiki/G-code the P3 in M280 is what references Pin 21
you also have https://duet3d.com/wiki/Using_servos_and_controlling_unused_I/O_pins
also https://duet3d.com/wiki/Using_mesh_bed_compensation
and https://duet3d.com/wiki/Duet_WiFi_wiring_diagrams
for reference.almost everything you need to refernce is on the duet3d wiki, or the reprap gcode wiki.
https://duet3d.com/w2/images/7/7b/DuetWifi_connectionsv1.0.png
Thank you, I have been trying to dive through all the pages on the Wiki to gain some idea of what I am exactly doing.
I used the RRF Config tool to create a set of config documents which is what I have linked here http://pastebin.com/XMvCwT6f
According the diag and my board isn't p21 for E5? which is not heater 3 that we keep referencing to use a pwm servo pin. I guess I am confused on how this works or what I am missing.
Also I think there is something up with this config as I cannot heat my hotend nor my bed. The thermsistors register fine but once a temp is set to active nothing happens. I know this is outside the purpose of this thread but if anything jumps out to you for this it would be great to note.
As well when I heat the hotend I get the set of codes in the console:
M120
M83
G1 E-10 F2400
M121I am not sure why it is referencing E-10, shouldn't it be E1 (What my hotend is currently wired to)?
-
Thank you, I have been trying to dive through all the pages on the Wiki to gain some idea of what I am exactly doing.
I used the RRF Config tool to create a set of config documents which is what I have linked here http://pastebin.com/XMvCwT6f
According the diag and my board isn't p21 for E5? which is not heater 3 that we keep referencing to use a pwm servo pin. I guess I am confused on how this works or what I am missing.
Also I think there is something up with this config as I cannot heat my hotend nor my bed. The thermsistors register fine but once a temp is set to active nothing happens. I know this is outside the purpose of this thread but if anything jumps out to you for this it would be great to note.
As well when I heat the hotend I get the set of codes in the console:
M120
M83
G1 E-10 F2400
M121I am not sure why it is referencing E-10, shouldn't it be E1 (What my hotend is currently wired to)?
You had a few duplicate lines in the config and a couple of things that needed to be changed, I edited it and re-pasted.
The output and expected actions will should look correct since i changed it to act like marlin.
as to your question about G1 E-10 F2400 that is saying to retract 10mm of filament, by changing the M555 to P2 it should change behave more how you expect
I also removed duplicate gcodes and arranged them where they should make more sense and added comments to them so that they will hopefully make more sense.(i forgot to edit the comment on the M555 Gcode it should say marlin and not reprapfirmware) -
Thank you, I have been trying to dive through all the pages on the Wiki to gain some idea of what I am exactly doing.
I used the RRF Config tool to create a set of config documents which is what I have linked here http://pastebin.com/XMvCwT6f
According the diag and my board isn't p21 for E5? which is not heater 3 that we keep referencing to use a pwm servo pin. I guess I am confused on how this works or what I am missing.
Also I think there is something up with this config as I cannot heat my hotend nor my bed. The thermsistors register fine but once a temp is set to active nothing happens. I know this is outside the purpose of this thread but if anything jumps out to you for this it would be great to note.
As well when I heat the hotend I get the set of codes in the console:
M120
M83
G1 E-10 F2400
M121I am not sure why it is referencing E-10, shouldn't it be E1 (What my hotend is currently wired to)?
You had a few duplicate lines in the config and a couple of things that needed to be changed, I edited it and re-pasted.
The output and expected actions will should look correct since i changed it to act like marlin.
as to your question about G1 E-10 F2400 that is saying to retract 10mm of filament, by changing the M555 to P2 it should change behave more how you expect
I also removed duplicate gcodes and arranged them where they should make more sense and added comments to them so that they will hopefully make more sense.(i forgot to edit the comment on the M555 Gcode it should say marlin and not reprapfirmware)Great Thank you,
I will get this loaded up and see what I come up with.
Update,
Further to find, the bltouch pin still will not deploy. Do I need the deploy and retract codes in the config file? I have them in the macros but that is it. Also the hotend and bed still will not heat up. Auto tune does not complete either since it will not heat up Wiring is fine, not sure why its acting up. is it something to do with the tool? This tool change thing is very new to me.
-
you should start a new thread for the heater issues,
As to the bltouch, is it glowing with a red light? are you sure the wiring is correct? on the bltouch brown is ground, orange is 5v and yellow is signal. when it is powered on it should cycle the pin 2-3 times up and down then store itself up and glow red.
-
I will get another thread started for the heaters.
The bltouch is wired to 5v and ground for the servo power, the servo pin is wired to p21 labeled e5 dir. the signal and ground wires for the sensor are wired to the IN and ground pins on the PROBE headers on the duet wifi. Those two wires are also linked with the resistor included with my bltouch a 240 ohm i believe.
Do I need another resistor in line with the 5v line like that diagram that was posted a while ago?
Aside from the wiring yes the bltouch looks "ready" with it lit up red when retracted, and upon start up it does it deploy retract procedure.
-
ok, so for Probe type 4 which is a switched probe the endstop(black/white wires) need to be plugged into the E0 endstop. Also to simplify wiring you can plug the 5v and ground into pins 1 and 2 of the expansion header. the bltouch doesnt care where it gets power and ground from but it simplifies wiring some.
to quote the Gcode wiki for M558
@http://reprap.org/wiki/G-code#M558:_Set_Z_probe_type:
A Z probe may be a switch, an IR proximity sensor, or some other device. This selects which to use.
P0 indicates that no Z probe is present. P1 gives an unmodulated IR probe, or any other probe type that emulates an unmodulated IR probe (probe output is an analog signal that rises with decreasing nozzle height above the bed).
If there is a control signal to the probe, it is driven high when the probe type is P1.
P2 specifies a modulated IR probe, where the modulation is commanded directly by the main board firmware using the control signal to the probe.
P3 selects an alternative Z probe by driving the control signal to the probe low.
P4 selects a switch for bed probing (on the Duet, this must be connected to the E0 endstop pins).
P5 (from RepRapFirmware 1.14) selects a switch (normally closed) for bed probing between In and Gnd pins of the Z-probe connector (Duet 0.8.5 and Duet WiFi).
P6 is as P4 but the switch is connected to and alternative connector (on the Duet series, the E1 endstop connector).
currently though you seem to not be getting signal to the bltouch, doublecheck your connections, and try to isolate the signal wire for the bltouch away from the other wires in the wire bundle, especially the motor wires. you could be getting intereferance from an outside source.
-
P5 is the correct type for a BLTouch. I'll add this to the wiki.
-
P5 is the correct type for a BLTouch. I'll add this to the wiki.
which endstop is expected then? I've been using the P4 option without issue and how W3DRK got it working initially
Whats the main difference between them?
-
ok, so for Probe type 4 which is a switched probe the endstop(black/white wires) need to be plugged into the E0 endstop. Also to simplify wiring you can plug the 5v and ground into pins 1 and 2 of the expansion header. the bltouch doesnt care where it gets power and ground from but it simplifies wiring some.
to quote the Gcode wiki for M558
@http://reprap.org/wiki/G-code#M558:_Set_Z_probe_type:
A Z probe may be a switch, an IR proximity sensor, or some other device. This selects which to use.
P0 indicates that no Z probe is present. P1 gives an unmodulated IR probe, or any other probe type that emulates an unmodulated IR probe (probe output is an analog signal that rises with decreasing nozzle height above the bed).
If there is a control signal to the probe, it is driven high when the probe type is P1.
P2 specifies a modulated IR probe, where the modulation is commanded directly by the main board firmware using the control signal to the probe.
P3 selects an alternative Z probe by driving the control signal to the probe low.
P4 selects a switch for bed probing (on the Duet, this must be connected to the E0 endstop pins).
P5 (from RepRapFirmware 1.14) selects a switch (normally closed) for bed probing between In and Gnd pins of the Z-probe connector (Duet 0.8.5 and Duet WiFi).
P6 is as P4 but the switch is connected to and alternative connector (on the Duet series, the E1 endstop connector).
currently though you seem to not be getting signal to the bltouch, doublecheck your connections, and try to isolate the signal wire for the bltouch away from the other wires in the wire bundle, especially the motor wires. you could be getting intereferance from an outside source.
Oh okay thank you for the clarification on the E0 pins not the probe pins.
I guess i am still confused as the pin will not react to pwm signals. This exact setup worked on my previous mks board so I have confidence there is no wire interference as the gantry hasn't even been moved since then. I will look again though and see if I see anything with it.
-
David, I tried to go make a few changes to the wiki to update the info you had ??'s at, but have been blocked. If for some reason i am not unblocked I'll just make a post here to clarify the info.
-
@3dprinting:
is it possible to test the bltouch without connecting to the power supply?
I mean, if I plug in usb, I can use web control, but is it enough power to activate servos and all that jazz?
I think It would work, but not sure. My boadr's sitting on the table and I'd rather get bltouch up and running before I disassemble my printer because my current z probe is not compatible.Supplying external 12v to the board shouldn't be difficult. An external psu or even just long wires from your psu in the printer. More importantly this thing is awesome (Duet Wifi) for that fact you don't really ever have to plug into it again.
-
David, I tried to go make a few changes to the wiki to update the info you had ??'s at, but have been blocked. If for some reason i am not unblocked I'll just make a post here to clarify the info.
Not sure if you or David updated the Wiki but shouldn't the retract pin macro file be "M280 P3 S90 I1" ?
-
@3dprinting:
@3dprinting:
is it possible to test the bltouch without connecting to the power supply?
I mean, if I plug in usb, I can use web control, but is it enough power to activate servos and all that jazz?
I think It would work, but not sure. My boadr's sitting on the table and I'd rather get bltouch up and running before I disassemble my printer because my current z probe is not compatible.Supplying external 12v to the board shouldn't be difficult. An external psu or even just long wires from your psu in the printer. More importantly this thing is awesome (Duet Wifi) for that fact you don't really ever have to plug into it again.
Yea, but I was hoping to cheat a little because my printer has a metal cabinet base I have to flip the printer over to access power, all my connectors need to be replaced to connect to the wifi, and I have an incompatible z probe right now,so when I set up the BLtouch, i gotta test it before installing the board, it's a lot of work to roll it back to 8 bit, especially since nobody within 40 miles of me sells 240k resistors, and the new bltouch doesn't come with one.
But I'm 1 day in on the upgrade, and I alotted myself 3, so I'm not doing bad right now.
Ahh I see. Got extra wires to run temporarily to the duet from your psu? Only gotta flip it once then
Also the new bltouch doesn't need a 240ohm resistor. you just cut the jumper on the chip that says 3.3v logic.
-
David, I tried to go make a few changes to the wiki to update the info you had ??'s at, but have been blocked. If for some reason i am not unblocked I'll just make a post here to clarify the info.
Not sure if you or David updated the Wiki but shouldn't the retract pin macro file be "M280 P3 S90 I1" ?
I regained access to the wiki, and updated some of the info, I need to go back through and edit some more but it's more accurate now.
-
David, I tried to go make a few changes to the wiki to update the info you had ??'s at, but have been blocked. If for some reason i am not unblocked I'll just make a post here to clarify the info.
Not sure if you or David updated the Wiki but shouldn't the retract pin macro file be "M280 P3 S90 I1" ?
I regained access to the wiki, and updated some of the info, I need to go back through and edit some more but it's more accurate now.
I have the new bltouch right here in my hand, and the color code for the probe output is
black= ground
white= signal outnot sure if it's the right way to word it, I'd call it z+ and z-, but that might confuse with minimum and maximum heights, but I think you get the idea for the purpose of updating the wiki
-
@3dprinting:
David, I tried to go make a few changes to the wiki to update the info you had ??'s at, but have been blocked. If for some reason i am not unblocked I'll just make a post here to clarify the info.
Not sure if you or David updated the Wiki but shouldn't the retract pin macro file be "M280 P3 S90 I1" ?
I regained access to the wiki, and updated some of the info, I need to go back through and edit some more but it's more accurate now.
I have the new bltouch right here in my hand, and the color code for the probe output is
black= ground
white= signal outnot sure if it's the right way to word it, I'd call it z+ and z-, but that might confuse with minimum and maximum heights, but I think you get the idea for the purpose of updating the wiki
I have 3 of them, my plan is to rewrite that section to have the 3 pin and the 2 pin separate
-
Okay so wonderful news, I can now deploy ad retract the pin!
But checking endstops with m119, it shows I have a z stop at its min, when I do not even have one installed. I will have to double check my config for one. Using p5 and the probe pins I do not have to have a z end stop do I? Seems to be a bit more of an annoyance imo.
Also with the pin up or down the m119 also stated the probe was not stopped. Shouldn't it be stopped when retracted?