Thread: Imported L298 Arduino Modules
Hybrid View
-
30-07-2012 #1
That's rather surprising about both pins 15 and 1 going to ground. You need to regulate the current in each winding independently, so if these pins are both connected to ground this means they are connected together which in turn means you can't obtain separate readings for their current's. Putting resistors from pin 1 and 15 to ground is basically the only way to do it as that's the only 'available' point in the circuit. The voltage across these resistors is then amplified within the L297 and most likely using a comparator with voltage reference is used to chop the current. This is the method I have used, except with a PIC and substituting the fixed voltage reference for a DAC to enable microstepping.
-
30-07-2012 #2
I think irving2008 has hit the nail on the head. My guess is some sellers are not differentiating betwixt modules for PWM of DC motors and what is required for steppers. Bang goes any warranty, I guess I'll be snipping pins 1 & 15. Close inspection shows some modules of this type have the pins 1 & 15 brought out to Berg links. If anyone else buys one of these I'd advise them to check that little bit more carefully than I did.
Ho hum!
I like Jonathon's DAC idea.
-
30-07-2012 #3
Depending on the required micro-stepping resolution and step frequency you may be able to use the microcontroller's own analogue outputs. Alternatively something like TLC7528CN is fine. I used an 8-bit one connected to a port since that gives enough resolution for microstepping or more fancy stuff later on
. You can make the voltage reference to the DAC variable to enable different motors to be used, but make sure you use a stable reference - not just a simple voltage divider as the output of that will fluctuate too much.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Help Make 1st Step - Wiring Up Drivers to Motor and Arduino
By Treemonkey in forum General ElectronicsReplies: 10Last Post: 25-04-2013, 05:47 PM -
Any arduino coders here?
By Mad Professor in forum General ElectronicsReplies: 48Last Post: 25-03-2013, 06:07 PM -
CNC Controller with Arduino and Gamepad
By Christian Knuell in forum Electronic Project BuildingReplies: 2Last Post: 20-10-2012, 10:25 PM -
DIY arduino CNC 2 axis table
By ruthharm84 in forum Electronic Project BuildingReplies: 5Last Post: 06-05-2012, 01:54 AM
Bookmarks