Driving the Pm55L-048-hp69 With Arduino

39K3619

Intro: Driving the Pm55L-048-hp69 With Arduino

In this instructable I will teach you how to wire your stepper to run it with the arduino board.

You will need:

  • Arduino board (mine is uno)
  • Breadboard and wires
  • ULN2803 or ULN2003
  • PM55L-048-HP69 stepper
  • Power suply for stepper (I'm using a 19V 1A since this stepper works on 24V)

STEP 1: Wiring

Using this tutorial, I was able to find the wiring of my stepper.

So, if you are using the example from the stepper library stepper_one Revolution

you have to wire this way:

A to digital pin 11

C to digital pin 10

B to digital pin 9

D to digital pin 8

I'm actually using the ULN2803, but the only diference is the 2803 have more pins to work with.

STEP 2: The Code

Since we are workingh a 48 steps stepper, you have to change the line const int stepsPerRevolution =200;

for const int stepsPerRevolution =48; if you don't make this chage, it won't work.

-----------------------------------------------------------------------------------------------------------

#include <Stepper.h>

const int stepsPerRevolution = 48;

Stepper myStepper(stepsPerRevolution, 8,9,10,11);

void setup() {

// set the speed at 60 rpm: myStepper.setSpeed(60);

// initialize the serial port: Serial.begin(9600);

}

void loop() {

// step one revolution in one direction:

Serial.println("clockwise");

myStepper.step(stepsPerRevolution);

delay(500);

// step one revolution in the other direction:

Serial.println("counterclockwise");

myStepper.step(-stepsPerRevolution);

delay(500);

}

-----------------------------------------------------------------------------------------------------------

Now have fun with the code. It worked well within 10 to 180 rpm.

Good luck, hope you like it.

STEP 3:

14 Comments

guys this motor can be used with a 12 v power supllie and be used in a 3d printer. i have diagrams if any one need them. its a unipolar motor that cam be converted into bipolar servomotor.

I just pulled 2-3 of these from a canon collator that i didnt need. well they're similar to yours. #PM55l-048-ZYP4. it has 6 wires instead of your 5 wires. anything you got to use this in a printer would be appreciated.

I dont know if you still follow.. but yes.. can you send me the notes please.
pauloafcosta@yahoo.com.br

Thanks a lot buddy.

i have to look in my old files , what is the info that you need ..

I'm interested too!! if you could send me some info I would be thankful.

I'm trying to learn how to control stepper motors with a cnc shield v3 and a a4988 driver.

Thanks!

Any extra info about this motor interests me. :)
What the benefits to convert to bipolar.

im using 12v and my uln2003 heats up like crazy after 20 seconds of turning. whyy?

i'm working with pm55l through arduino and l293d shield (bipolar 12v), but the torque is low, if using uln2003, the torque will be increased? thanks

sorry, i got confused, your fritzing diagram states different pinouts for the arduino than you write later.

eg; you said 'you have to wire this way: A to digital pin 8 - C to digital pin 9 - B to digital pin 10 - D to digital pin 11 but the illustration above states that it should go A-11 C-10 B-9 D-8. Witch one is it? thank you so much =D

i'm sorry for the mistake. and about this time you probably have figured it out by yourself. but the diference is the way it will turn. clockwise or counter clockwise. either way its going to work.

Ooo that's so cool, awesome job sharing your skills! Welcome to instructables!

thank you, I decided to share this because I coudn't find on the internet. so I get it by myself.