PWM/HPWM Stepper Motor Controller


Closed Thread
Results 1 to 34 of 34

Hybrid View

  1. #1


    Did you find this post helpful? Yes | No

    Default Re: PWM/HPWM Stepper Motor Controller

    Quote Originally Posted by DavyJones View Post
    Mark thanks for the info. I'm new to working with stepper motors and their controllers. Seems a little easier to use a controller than to do all the programming to pulse all 4 inputs on the motor manually.
    It looks like the NEMA rating just has to do with the size of the front or something here is the NEMA 23 one I got. It looks like this is rated 2.8 amps so would you mind I should set my controller dip switches to reflect 2.8 amps right?
    Thanks
    David
    It's depends on your power supply voltage and what you are driving with the motor. I would start at half of the rated current and see how it works. Yes the NEMA number is the mounting size. What are you driving with your motor?

  2. #2
    Join Date
    Jan 2008
    Location
    Pennsylvania
    Posts
    113


    Did you find this post helpful? Yes | No

    Default Re: PWM/HPWM Stepper Motor Controller

    Quote Originally Posted by mark_s View Post
    It's depends on your power supply voltage and what you are driving with the motor. I would start at half of the rated current and see how it works. Yes the NEMA number is the mounting size. What are you driving with your motor?
    I'm going to be driving a drive pulley for a conveyer belt so things will be going slow don't need a lot of torque or speed.

    thanks I will start off at half power and 200 rev's see how things go

    Thanks
    David

  3. #3
    Join Date
    Jan 2008
    Location
    Pennsylvania
    Posts
    113


    Did you find this post helpful? Yes | No

    Default Re: PWM/HPWM Stepper Motor Controller

    Normally I would design and build everything necessary to perform the tasks I need to with a PIC. In this case though to speed up development of my project I decided to use the stepper motor controller and relay module I am using to speed things up. The PIC is still doing all the work. I am working on a conveyer belt system that will move parts under a sprayer to get coated with a substance. I am controlling a solenoid to turn air on and off and a second solenoid to control dispensing the liquid, in this case for testing it is water. One thing I noticed since the nozzle is gravity fed and upside down as seen in my video, the gravity feed will produce a stream of water when the air is not engaged basically a constant drip so controlling the liquid flow (on and off) eliminates the drip. I did find no drip nozzles where I would only need to control the air flow but at $400 a pop that was not going to happen. The ones I am using are $20. My video is a mock up model for testing. I plan on adding a small conveyer pulley today and also control the stepper motor. If that succeeds I plan on moving to the next phase and build the working frame. I plan on using the extruded aluminum like many 3D printers use for frames.
    If you or anyone else is interested in my progress as I move through this project I can keep posting the little videos I make.
    Thanks for your help so far.
    David
    The air and liquid are not coming on simultaneously. The air valve is open first then 100ms seconds later I open the solenoid for the liquid. After 500ms of them both being on I turn them both off simultaneously then pause for 2 seconds to start the cycle again. This is producing almost virtually no drippage from the valve but I have on occasion seen a build up and a rogue drip is produced. I will mess with the timing to see if I can totally eliminate that or a tiny drip once in a while is not going to be bad since the part will have moved past the nozzle by that time.
    Last edited by DavyJones; - 30th September 2020 at 11:21.

  4. #4


    Did you find this post helpful? Yes | No

    Default Re: PWM/HPWM Stepper Motor Controller

    I am interested in following your project. It's nice to see a real application being developed.

    Thanks for posting

  5. #5
    Join Date
    Jan 2008
    Location
    Pennsylvania
    Posts
    113


    Did you find this post helpful? Yes | No

    Default Re: PWM/HPWM Stepper Motor Controller

    Quote Originally Posted by mark_s View Post
    I am interested in following your project. It's nice to see a real application being developed.

    Thanks for posting
    Sounds great I will keep posting to the thread as I go through my project... btw I am using a 12F683 since I had one laying around after my last project and I don't really need much for this. I'm setting up the stepper motor and about to give it a try in a few minutes.

    David

  6. #6
    Join Date
    Jan 2008
    Location
    Pennsylvania
    Posts
    113


    Did you find this post helpful? Yes | No

    Default Re: PWM/HPWM Stepper Motor Controller

    Mark you obviously have experience with this controller (I hope) I am stuck with the connections to ena-, ena+, dir-, dir+ and pul-, pul+
    I was assuming ena went to - and ena+ went to + dir - to - and dir+ to + and pul- to - and for pul+ I connected that to the pic to send the 1 and 0
    I'm trying to find an example on the web haven't found one yet i am sure I am wrong as the stepper does not spin

  7. #7
    Join Date
    Jan 2008
    Location
    Pennsylvania
    Posts
    113


    Did you find this post helpful? Yes | No

    Default Re: PWM/HPWM Stepper Motor Controller

    Quote Originally Posted by DavyJones View Post
    Mark you obviously have experience with this controller (I hope) I am stuck with the connections to ena-, ena+, dir-, dir+ and pul-, pul+
    I was assuming ena went to - and ena+ went to + dir - to - and dir+ to + and pul- to - and for pul+ I connected that to the pic to send the 1 and 0
    I'm trying to find an example on the web haven't found one yet i am sure I am wrong as the stepper does not spin
    Mark, Never mind I got it... the 12F683 did not like ROTOR=1 and ROTOR=0 I needed to high ROTOR and low ROTOR
    it's spinning now going to try and make it smoother and faster mess around with those a bit

Similar Threads

  1. Motor Stepper Example
    By Melanie in forum Code Examples
    Replies: 134
    Last Post: - 3rd January 2015, 17:58
  2. Need guidance with DC motor controller - PWM & H-Bridge
    By rfetech in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 12th November 2010, 03:33
  3. Another Stepper motor controller
    By aratti in forum Code Examples
    Replies: 3
    Last Post: - 19th December 2009, 09:52
  4. Stepper motor controller
    By aratti in forum Schematics
    Replies: 22
    Last Post: - 24th April 2009, 16:43
  5. Stepper Motor Program
    By kiwipiper in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 27th November 2007, 02:56

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts