It features a powerful LN motor driver module with a heavy duty heat sink. It is powerful enough to drive motors from V at up to 2A peak. An onboard 5V regulator is provided that can be used to power other parts of your robot's circuitry such as an Arduino microcontroller. Follow the steps below to configure the motor controller board to work as a typical robot motor driver for use with two DC motors. All inputs are TTL compatible. Do not enable the onboard 5V regulator if you plan to supply more than 16V to your motors.
|Published (Last):||11 July 2009|
|PDF File Size:||15.93 Mb|
|ePub File Size:||11.82 Mb|
|Price:||Free* [*Free Regsitration Required]|
Well, it may be more expensive than a Darlington Array Chip so consider this as an "option". So I search on the net to learn more about a stepper motor, particularly a 4-wire bi-polar stepper motor which I used in my Auto Fish Feeder project.
It is a mini 5V stepper motor which can be found in a floppy disk drive. Did you use this instructable in your classroom? Add a Teacher Note to share how you incorporated it into your lesson. Internal diagram of a 4-wire stepper motor can be drawn like picture number one above. While picture number two shows us the internal working of a stepper motor to make it moves clockwise or counter clockwise.
All we have to do is energized the coils in correct orders. From the Movement Diagram above : best viewed in browsers. Use a multimeter and set it to Ohm Meter, we are measuring the resistance between cables. When I measure pin 1 and pin 3 it reads So is it when I measure pin 2 and pin 4. There is a resistance when the pins are connected. We can also set the multimeter to "continuity check". When I measure pin 1 and pin 2 it shows "1" on the left side which means "out-of-range".
The same thing happens when I measure pin 2 and pin 3. That means they are not connected. You can try visit this page for more detail information about Operation Principle of Stepper Motor. It has some GIF animations and a complete table of stepper degree and state of pins to make you understand better. As you can see in the video, it moves backward then forward. I used it on my Auto Fish Feeder for a month before the tank was given to my friend because we need the space for a new larger refrigerator T-T.
I kept my fish feeder and torn it apart to make this instructable. Question 1 year ago on Step 5. Hi chienline, Your program does the job, no problems. I now wish to make the stepper turn using 2 button switches, one for forwards and one for reverse. Is it possible to nest a program within your program to achieve this. To explain further, the switches will need to be operated remotely. I am building a 3m long model submarine which will be controlled by cable from a aircraft carrier mother ship.
Answer 1 year ago. Awesome project it must be. If let us say you want it for the propellers to move forward or backward, I suggest you to use DC motor instead of stepper motor. Then you said about two button to be operated remotely while at the end it is controlled by cable from mothership. If it is operated by cable, then it will be simpler.
Two "buttons" is placed on the mothership. Check out the Arduino button tutorial , and don't forget the 10K pull-down resistors. When the button is pressed put digitalRead in void loop to keep checking if the buttons are pressed just called the forward or reverse function with the step and speed parameters set.
If it is operated wirelessly, then you need to learn how to send "button pressed signal" through bluetooth or wifi. The setup is more or less the same, just adding bluetooth modules on both your submarine and mothership. You can check about bluetooth module on my panzer project on step 3. Sorry, I can't provide you the exact working code due to my limited time for now I have working full time : But I can direct you at my best to help.
All you need is keep searching for we now have the powerful Mr. Google at our fingertips ;. Reply 2 years ago. Keyes LN v2 should not be any difference from v1 and you can see the wiring on Step 3.
If they are different can you post the link to your product? Maybe I can help you find the wiring ;. I have been resolved this problem, thanks for reply :. Reply 3 years ago.
And also make sure you do a correct wiring on your stepper using a multimeter step 2. I keep running into steppers which are in the 1. And also remember to make sure your power source has enough power to drive the stepper motor you are using. Let's say if you are using a larger stepper motor with a small power battery to power up your LN board, then the stepper motor will not move because the power is just not enough to move it. You can power up your arduino from any different power source.
If you have a different power sources, try to common the ground, I mean put the ground together. It doesn't matter if you connect the LN from a battery and your Arduino from a wall wart adaptor.
If it is still not working then you have to re-check the connection to see if you have plugged any wire at the wrong pin. Thanks for making this tutorial.
However, it appears you haven't added any protection diodes for protecting the LN. Also, your software program appears sometimes to make pins 1 and 3 equal voltage; and pins 2 and 4 equal voltage, which seems to be removing power from both coils at the same time.
This doesn't look right to me. Reply 4 years ago. Thanks for reading. I think we already have built-in protection diode on Keyes module. So you are a little confused with the coding. It is not having stepper pin 1 and pin 3 equal high voltage. You can't drive 3 motors. Okay, I have fix the code.
Sorry for the previous mess. I made tables, but somehow they are not rendered well in mobile app. But I have check that the tables are okay in Browsers.
Sorry, what a mess in the code. Will update soon. I was trying to use table in the code as a pro user :D. More by the author:. The reason I am working with this test is : There was a comment on my Auto Fish Feeder questioning why I did not use a driver module or at least transistors to drive the 5V bi-polar stepper motor. It was because I couldn't find a Darlington Array Chip in town. I only had one LN motor driver which I saved for my Panzer project.
Add Teacher Note. You can find one in your old unused floppy disk drive. Or any other compatible or similar LN module driver. An Arduino Uno R3 or compatible. Here I use Sparkfun RedBoard.
Some jumper wires. A Multimeter. I used it on my Auto Fish Feeder for a month before the tank was given to my friend because we need the space for a new larger refrigerator T-T I kept my fish feeder and torn it apart to make this instructable. Did you make this project? Share it with us! I Made It! Electronic Affirmation Mirror by bekathwia in Arduino. Answer Upvote. Reply Upvote. Glad to hear that. They are similar.
Just follow the pin labels and you are good ;. WinnieD1 3 years ago. Gelfling6 WinnieD1 Reply 3 years ago. KennyL15 4 years ago.
Keyes EB0019 DC Motor Shield Drive L298N
Pages: . Hello everyone! I've been recently trying to apply PWM to control 3 6V dc brushed motors with two keyes L motor drivers and arduino uno. When I apply a high PWM e.
Driving Bi-Polar Stepper Motor With Keyes L298N