Software Support > Automated Projects
Drive L298n with mrotate.
<< < (3/9) > >>
DaOld Man:
Im betting with the 5V jumper removed, the drive enable does not go high.
With the drive enable jumper installed, I think it gets its high from the on board 5 v supply.
Anyway, if you want to use the drive enable transistor, I would suggest a radio shack pnp transistor NTE2362.
Here is the radio shack link:
http://www.radioshack.com/product/index.jsp?productId=12656341

And here is the spec sheet with pinout description:

http://www.nteinc.com/specs/2300to2399/pdf/nte2361.pdf

The resistor to ground in my circuit may not be necessary, since the drive probably already has a resistor to ground on the board, but it wont hurt to us ethe resistor in my print.
Are you sure pin 4 stays high from power on until windows completly boots up?


DaOld Man:
I wouldnt worry about that message popping up in Mrotate about the printer port address. It seems to be working, the method I use to detect if the port address is valid is a little buggy.
Printer port reader has same address and it works, so it should be ok.
I will revisit that popup message on my next Mrotate version.

Also with the drive enable connected to a pport output, that output will have to be set high in pportreader before it will run. I would not connect the printer port output pin to the drive enable, if that enable jumper is installed.
The enable pin on the drive most likely has +5 vdc on it from the drive with that enable jumper installed.
The printer port pins, when low, output a ground, so this could short out the printer port pin.
So, rule of thumb, if you are connecting the enable pin to a printer port pin, do not install that enable jumper on the drive. (You may not be doing this, its hard to tell in the video.)

Here is how im pretty sure that drive enable should connect to pport (Or transistor).
pixel.arcade:
Hi DaOld MAn!

Using transistor layout everything worked as it should be, the engine stopped with the craziness at startup.

Thanks for the help.  :cheers:

I will continue the project, plan to use a motor windshield, as the project will put more details.
DaOld Man:
Thats great news, glad I could help.

Good luck with your project, looking forward to seeing it.
darthpaul:
I wonder why I never experienced that problem and I'm using two printer ports to drive two motors, could it be related to the drive he is using?
Navigation
Message Index
Next page
Previous page

Go to full version