Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Arduino Stepper Motor Controller (Bipolar) - First Test...

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
27,363
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Aug 17, 2009

This is a bipolar N-channel MOSFET stepper motor controller, controlled by an Arduino. It uses an external double h-bridge to power the motor windings. Each h-bridge is controlled by a direction signal and a PWM/Enable signal. A total of 4 digital outputs from Arduino (2 PWM and 2 digital). The motor is rated at 5.9V, but I use 12V. So I have to use a duty cycle of 50%. To get the motor go a little faster I use a kind of chopper modus, skipping the PWM signal for a few milli secons when the coil get first energized. This wil cause the current to rise quicker in the motor coils. The speed will increase with the voltage, and I am planning to use 36V. At 12V I got the motor running at 150 rpm. (Tooooo slow). The program (Arduino sketchbook) uses one timer interrupt for controlling the steps. This will use an external interrupt instead when I connect a PC CNC program later on. And then it uses one timer interrupt for controlling the "chop". Schematics and more at http://www.lamja.com/

Category:

Howto & Style

Tags:

License:

Standard YouTube License

  • likes, 5 dislikes

Link to this comment:

Share to:

Uploader Comments (pilleyuppo23)

  • Hi. Could you post the controller's schematics at your site? Thanks in advance

  • @despedes Hi. I have a newer version at my site:

    "Double PWM controlled H-bridge for interfacing with an Arduino"

    It's almost the same. There you can find schematics and board layout.

see all

All Comments (9)

Sign In or Sign Up now to post a comment!
  • intruter alert intruder altert

  • @HeadShot360IN i was about to tell him to make a dubstep from the motors XD

  • from 0:14 to 0:17 it sounds like the begining of inspector gadget dubstep watch?v=oib0JvkDzYk

  • Extreme loud... does not sound like "smooth" steps.

  • @mate2000 a mechanical relay can't switch as fast  as an electronic switch

  • Could you do this with mechanical relays? Or would the relays not be able to follow such fast changes?

  • I think your web site needs updating cause from the circuit you have there, I dont understand how your clipping the signal. I love the video and nice work. I havent tried running my motors in bipolar mode but I do have a current limiting circuit built. I measure the voltage across a .5ohm resistor by first inputing the voltage into an active low pass filter and then a comparator which is feed into the enable logic gate. Nice work and please keep me updated.

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more