Welcome! Log In Create A New Profile

Advanced

Using L297/L298 with Sanguino

Posted by AnandMG 
Using L297/L298 with Sanguino
August 16, 2013 05:02PM
Hi,

I have burnt like 8 Polulu/Stepsticks. Those are costly and have long waiting time. So I was trying to run it with L297/L298.

The only problem is Polulu/Stepstick the DIR signal is on high, while on L297 it is on a low pulse. Is there a way to change the signal, in the Configuration.h? I'm using Splinter
Re: Using L297/L298 with Sanguino
August 17, 2013 07:20AM
Look for Generation 2 Electronics. Boards like the Stepper Driver 1.2 work just fine as a Pololu replacement. No microstepping, of course.

Also, DIR isn't a pulse, but a continuous signal. Can be inverted in about all firmwares.


Generation 7 Electronics Teacup Firmware RepRap DIY
     
Re: Using L297/L298 with Sanguino
August 19, 2013 05:05AM
Oops, I meant the step signal not the direction
Re: Using L297/L298 with Sanguino
August 19, 2013 03:56PM
Solved that. Used a 7404 invertor IC.
Just explaining in case anyone else tries it out.
First I had issues even using 7404 as the L297/8 circuit & Sanguino weren't linked. I was using a separate power source for Sanguino and another for the L297/8. Hence, so there was no absolute ground for the 7404, and hence it wasn't always high. When I used the same source, it worked like a charm.
Re: Using L297/L298 with Sanguino
August 20, 2013 07:30AM
Quote

Used a 7404 invertor IC.

Impressive how quite some people prefer to add costly hardware instead of changing a line of software code or two. Glad you got it working.


Generation 7 Electronics Teacup Firmware RepRap DIY
     
Re: Using L297/L298 with Sanguino
August 21, 2013 04:23AM
I couldn't find any setting in configuration.h file. So I went through the software. There are lot of places where they write output to the step pins. If I miss out couple of places or add new bugs, it would be a nightmare to find out what is wrong, when in the first hand I don't know fore sure that the my L297/8 circuit works properly. (I had built my own circuit, didnt buy a pre-tested board)

7404 is dirt cheap and I already had 1 lying unused. So it was a better solution, for now.

If anyone can point me to a setting in configuration.h file that would be the best solution.
Re: Using L297/L298 with Sanguino
August 22, 2013 04:30AM
Quote

I couldn't find any setting in configuration.h file.

Use a decent firmware, then. Teacup uses macros (in pinio.h) for such things for cases exactly like yours.


Generation 7 Electronics Teacup Firmware RepRap DIY
     
Re: Using L297/L298 with Sanguino
February 05, 2014 11:47PM
hey Traumflug !!

nice work man smiling smiley

can you share the firmware of reprap while using stepper driver 1.2

thanks
Sorry, only registered users may post in this forum.

Click here to login