RepRap - DC Feeder Motor Configuration
-
Hi,
I am building a DIY Research project using an Duet 3 Mainboard 6HC. I will be using two DC Feeder Motor connecting to OUT 1 & OUT 2 Pins.
DC Motor Specification is as follows
Rated Voltage : DC24V
Rated Current : 0.9 A
This motor has to supply material at a varying speed of 1.5 ~ 12 m/min.How to control this speed? Can a PWM Module be used (PWM Image is attached)
-
@SANJR you can try connecting the motors directly to OUT1 and OUT2 because those ports already provide PWM. Configure them as general purpose outputs using M950, then use M42 to control them.
-
@dc42 Thanks for the quick reply
It's good to know it can be controlled by Duet Board. While Using the Config Tool output dropdown box two outputs are shown as out1 & out1 (inverted) what is the difference between the two and which one should be selected?
And also the "sensor" value to be selected from the dropdown menu. since this DC motor does not require any sensor reference. Should any value to be selected or the field can be left blank?
-
@SANJR a sensor is only needed when you configure a port as a heater. Configure it as a GpOut pin instead. I don't think you can do this in configtool, in which case you will need to add those commands to the config.g file that it generates.
-
@dc42 Thanks for the reply
I am trying to create the said changes in configtool by using the G-Code M950 & M42. Request to kindly check the below codes works well with the DC Motors
M950 P1 C"out1" Q100 ; allocate GPIO port 1 to OUT_1 (fan output), 100Hz
M950 P2 C”out2” Q100 ; allocate GPIO port 2 to OUT_2 (fan output), 100Hz
M42 P1 S0.5 ; set 50% PWM on GPIO port 1
M42 P1 S0.5 ; set 50% PWM on GPIO port 2And as per the image below which output should be selected , is it the out1 (or) the out1(inverted)?
-
@SANJR the second M42 command should use P2 not P1 but otherwise those commands look OK.
Do not configure anything for these ports on the Heaters page. If you don't have any heaters, use the minus-button to delete them.
-
@dc42 Thanks for the Reply
-
Hi,
Recently I have tried to change this feeder motor from DC to Stepper motor. However i facing quite a challenge to operate the feeder motor in conrdination with the X,Y,Z axes.
So i am planning to revert back to the previous DC motor setup.
The PWM frequency of the OUTPUT Pins was not enough to vary the feedrate. I am not sure this could be a problem of the DC motor or something else. However this time i am planning to purchase a good specificaiton DC motor.
Request your feedback on the integration of this DC (specification link: https://www.igus.pt/product/MOT-EC-42-C-H-A?artnr=MOT-EC-42-C-H-A) to connect with OUT_1 and OUT_2
However other motor that are compatible and recommended can also be used
Requesting your insights on this issue plz....
-