Software Support > Automated Projects |
Actuator Project ( Was MRotate4) |
<< < (13/17) > >> |
pixel.arcade:
Hi DaOld Man. After a long time without using Mrotate3 support with a parallel port that does not run on Win 64 bits I see that @DaOld Man has released a new version and that makes me very happy. Taking advantage of the "Mrotate3" structure, I now update with the "serial port" cable. In the first tests everything worked fine, I used the version without "PWM" and I confess I missed you. https://photos.app.goo.gl/BmcTPhGSCh912M3o8 Now just make some fine adjustments. I couldn't get the limit switch to work, I'm confused, I appreciate any help in connecting the wires. |
DaOld Man:
--- Quote from: pixel.arcade on October 12, 2020, 06:41:25 pm ---Hi DaOld Man. ...... I couldn't get the limit switch to work, I'm confused, I appreciate any help in connecting the wires. --- End quote --- Hi Pixel.arcade! About the limit switches. The serial port inputs are ordinarily low, unlike the printer port inputs which are ordinarily high, so connecting the limit switch from input to ground will not work with the serial port, unless you "pull" them high with external 5 volts first. The easiest way to do this is to connect the input through the limit to an external 5 vdc positive (such as the PC power supply). Then you must select "watch for inputs going high" in Mrotate4 inputs/outputs section. Here is a dirty drawing. Top half shows using external power supply to watch for inputs going high at end of travel. Lower half is watch for inputs going low. In lower half, the inputs are pulled high when switch is open. When switch closes, the input is pulled low to ground. Hope this helps. |
DaOld Man:
Forgot to say that which ever method you choose to use, just duplicate it for the other input. |
DaOld Man:
If you can give me a sketch of how you are wired to your limits and your drive now, i might can give you a better answer. Also, if you really want PWM, I can re-enable it, but you will have to install RCTimer.ocx. (I can give you that too). Note that PWM in this method will not speed up your motor from the speed it is currently going, it can only slow it down. To speed up a motor faster than its full voltage speed, it would take a very complicated (and expensive) drive. (Or increase motor voltage, but then you get into all sorts of possible problems, overheating, etc) From your video, looks like your motor is going pretty good now, so you probably dont want to slow it down, but if you do, just let me know. :) |
pixel.arcade:
Thanks for the reply DaOld Man. The option to slow the engine is interesting, I would like to test. A quick turn at the end of the stroke can sometimes go a little over 90 degrees, sometimes in the old design with the printer door. I understood the issue of the necessary external supply of the 5 volts on the serial port. I think I'm excited and skipping stages, I will strictly follow the drawing posted in 2012. I will set up the circuit and post the result. |
Navigation |
Message Index |
Next page |
Previous page |