@droftarts
wiring diagram
Posts made by 2500ccm
-
RE: Install Servo
@dc42 for the future:
I changed with M950 Q500 and Q50 the frequency at "duex5.pwm4 and this works. 50HZ and 500HZ on the oszilloskop. But at "!duex5.fan8" it does not work. Alway 500HZ. Maybe a bug or problem with the !inversion?
-
RE: Install Servo
I disabled heater 5 and disconnected the cables.
PWM4:
M950 P6 C"duex5.pwm4"
M280 P6 S100
FAN8:
M950 P1 C"!duex5.fan8"
M280 P1 S100
On this images you can see the signal is inverted. I think @droftarts is right and my wiring is wrong. @droftarts do you have a solution?
Thanks.
-
RE: Install Servo
@dc42 @droftarts
sorry for my late reply. I can't answer this topic. It was a problem with confirm of my email adress.Wiring:
Bltouch is on E6_PWM
Servo is on Fan8-
Both power supply has the same external psu.
Fan8- cable goes over resistor to 5V at psu. Another cable goes from Fan8- to servo.Today i tested with my oszilloskop:
M950 S1 C"!duex.fan8" Q500 | M950 S1 C"!duex.fan8" Q50 | M950 S1 C"!duex.fan8"
Always 500HZ on Oszilloskop. Never 50HZ.M950 S0 C"duex.pwm5"
Runs on 50HZ.Signal Voltage is around 500mV to PSU Ground.
Signal noise is better on Servo. Think it is because of 3.9kohm resistor.Bltouch works well for about a year. No problems.
I ordered the servo on amazon. In the discription they write analog signal. I think they work on 50Hz.
Maybe the servos die because of the 10 times higher pwm signal? Why does M950 Q50 doesn't change frequency?Thanks!
-
Install Servo
Hello guys,
@dc42 helped me with my servo problem, but now i have a new problem. With M950 i does not define the Q value. The SG90 worked well for a time, but now two SG90 died. Standard Q Value is 500. In the duet3d docu for M280:
*S values below 544 are treated as angles, and 544 or greater as the pulse width in microseconds.
The relationship between the S parameter and the pulse width output to the port is the same as in other 3D printer firmwares, so that devices such as BLTouch will perform the same way. However, there is no standard for servos on the relationship between pulse width and servo angle. Therefore, for most servos the value of the S parameter does not equal the servo angle. Almost all servos accept a pulse width range of at least 1us to 2us, which corresponds to an S parameter range of 44.2 to 141.2 degrees. So for many servos, values in the range 44.2 to 141.2 or alternatively 1000 to 2000 will cover the full operating range of the servo.*
My servo works with:
M950 S1 C"!duex.fan8" Q>200 / Well at start with 500.
M280 P1 S0 to 140 / SBut i noticed the servo and the cable at the servo gets warm and after a bit of time the servo died.
When i google a bit of the sg90, the oparation frequency is 50hz. Q50 is not working. I build a second wiring harness with short cables, but same result.Maybe i test S1000 to 2000? Now i have no sg90 left, i ordered new ones.
Or is it a problem with fan8? Maybe 3.3V PWM voltage, and the servo need 5v? Datasheet is ok with 3.3V.
Tomorrow i can get a oszillioskop. Then i measure the pwm signal at the servo pin.Maybe you guys have a solution?
Thanks alot,
Moritz
-
RE: Simple Filament Sensor strange error
@T3P3Tony Resistor have 1kohm
-
RE: Simple Filament Sensor strange error
@T3P3Tony Filafarm germany. 15.02.2021
A clear photo is not that easy. I had nearly all sockets connected -
RE: Simple Filament Sensor strange error
@2500ccm I think the pullup resistor is maybe broken?`
-
RE: Simple Filament Sensor strange error
@T3P3Tony I have 5 sensors for filament present. duex.e5stop is the problem. It is tool4. This is my config.
; Filament endstops
M591 D0 P0
M591 D1 P2 C"duex.e2stop" S1
M591 D2 P2 C"duex.e3stop" S1
M591 D3 P2 C"duex.e4stop" S1
M591 D4 P2 C"duex.e5stop" S1
M591 D5 P2 C"duex.e6stop" S1With M591 D0 to D5 i can see if filament present or not. When i disconnect cable at the sensor always it said: no filament present.
At tool4 / duex.e5stop it said with no cable connected at sensor: filament present.
When i switch cables from tool4 to another on, always filament present.
When i disconnect it from the board: filament present.When the sensor is connected and i activate and deactivate the switch, the led on the board is going on and off.
-
RE: Simple Filament Sensor strange error
@T3P3Tony Disconnected Sensor 3 and 4. 3 - no filament. 4 - filament present. Switching both sensors: 4 - filament present
-
RE: Wiring Servo
@dc42 Sorry for my late reply. After i connected ground it worked well! Thanks alot
-
Simple Filament Sensor strange error
I have 5 simple filament runout sensors. All are same wired. All same configurated.
They goes to Duex5 E2 Stop to E5 Stop. Connected at Zstop and GND. STOPV is not connected. All Switches are working fine. But Switch 4 says all the time that filament is present. When i touch the switch the led on the board is on and off.
Maybe the pullup resistor is broken?`Thanks for help! Nice forum
-
RE: Wiring Servo
Now i got time to take this task on my todo list and installed a 3.9kohm resistor between 5v supply and signal. The 5v supply is external. I connected ground and 5v at external supply and signal at fan1-.
Commands are:
M950 S1 C"!fan1"
M280 P1 S125Nothing happend. After that i googled and found in the duet wiki a part about external pullup resistor. 10kohm is recommend.
Is this my failure?Thanks for reply
Moritz -
RE: Wiring Servo
Thanks for all replies.
I will do it like @dc42 dc42 said. Which one do you prefere? -
RE: Wiring Servo
Sorry for the late reply. I had a lot of work to do.
Free are Fan 1 and 8. Pwm 1-4 have free sockets, but the heater sockets are used. Pwm5 have a bltouch connected.
Maybe use Fan 1 and 8 for switching the gnd or 5v of the servo and bltouch on/off. Then use the same pwm signal of PWM5? Is this possible?
Bltouch and the servo for toolchange is not often used. -
Wiring Servo
Hello,
i need a Servo for my Tool0. Problem is all PWM Pins are used on the Duet2 Ethernet and the Duex5. On PWM5 is the Bltouch. Where i can get a Pwm Signal for the Servo. I thought Fan8 can have a Pwm Signal, but it is not possible.
Other idea is to use the servo and the bltouch both on pwm5 and made there powersupply switchable.Maybe have someone a better solution?
Thanks Mo
-
RE: tool changer calibration
Hey i understand him. I think you want a switch for the different length of your nozzles. I am searching for the same thing.
https://forum.duet3d.com/topic/18106/tool-length-sensor-tls-for-e-g-tool-changing
This is a good way to start. He use parallel the bltouch. So it is a second z endstop.