Software Support > Automated Projects
Drive L298n with mrotate.
<< < (4/9) > >>
DaOld Man:
Hello DarthPaul.
Are you using add on pci parallel port cards?
I have found that they act entirely different from the ones on the motherboards.
I bought a cheap one and experimented with it and found that its outputs stayed off until windows boots, probably because the drivers for it wasnt loaded until windows is up, so the start up BIOS ignored it.
If I remember correctly, one or two outputs stayed on after windows loaded, perhaps you are not using these outputs on your setup? Still again, each card may act differently, I really dont know.
The best tool I ever made for this "science" is the printer port monitor box.
Its basically 8 leds and 5 switches connected to a printer cable that plugs into the port.
I can monitor the printer port outputs even during bios boot, and can simulate inputs with the switches.
Extremely handy for the software I have developed for this hobby. (I got to quit calling this a hobby, its been more like a life style over the past few years.)
:droid
pixel.arcade:
hello DaOld Man !

Continuing the project got a windshield automotive engine, and it uses 5 amps or more for operation and Drive H provides that use only 2 amps of output, plan to use a computer source to power the engine windshield, as do the connection using a relay? I appreciate the help!
DaOld Man:
Im not sure I understand.
Your motor draws 5 amps but the drive is only good for 2 amps? Is this correct?
I think you can use both channels of that drive (hooked in parallel), but will need to double check that.
If you can do that, that will still only be good for 4 amps.
You can use relays, but you wont be able to do speed control.
You can also use a drive rated for higher current, but that would be more expense.
So if you dont need to slow the motor down, relays may be your best bet.
Let me know what you decide to do, I can show you how to use two relays, but as I said, you will not be able to do speed control (the motor will run at full speed).
Those windshield wiper motors have a gear box which reduces the speed quite a bit, so it may not be desirable to slow it down anyway.
If you are up to it, you can build the same drive I use, I think its good for 5 amps, I know it runs my windshield wiper motor with no problems at all.
pixel.arcade:
In this first experience I'll bet the engine to breeze through relays, eagerly await the details of your project. ;)
DaOld Man:
Here is a simple circuit using two relays.
This circuit cannot control motor speed, and dynamic braking is built in, so in MRotate, dont use Drive Enable, PWM, or Dynamic Braking.
(You can use dynamic braking, but it's not necessary).
The HORZ and VERT connects to the HORZ and VERT printer port pins you are using (I couldnt remember the ones you used, so I selected default pins 2 and 3 in the drawing).
The NOT ENABLE connects to pin 4, this will disable the drive if pin 4 is high to keep the motor from going crazy on PC bootup.
The relays must have higher amperage contacts than the motor requires, to handle the dynamic braking.
Please note that relays are mechanical devices, and after some time (hopefully a long time), they will fail. They are usually rated for a number of cycles (or uses), after this period they are prone to fail.
But on their defense, relays are simpler than solid state devices and much more robust.
You may want to check out the solid state drive circuit I posted in Circuits. This same drive works great on my rotating rig.

Navigation
Message Index
Next page
Previous page

Go to full version