Pages: [1]   Go Down
Author Topic: How to control this stepper motor?  (Read 801 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 43
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

So I picked up an "LED disco light" off Ebay:

http://www.ebay.com/itm/280995441549?ssPageName=STRK:MEWAX:IT&_trksid=p3984.m1423.l2649

(If that link is broken, try searching for "DMX512 Disco DJ Stage Lighting Digital LED RGB Crystal Ball Effect Light").

Anyway, the light is great, but the programming is awful. For example there's no way to make the lights stay still or even slow down much, so its super frenetic. My solution has been to put a disconnect switch on the stepper motor, which works, but I was thinking the much more interesting and educational route would be to make it all controlled by an Arduino.

Here's 2 pictures of the servo motor that rotates the LEDs:





Edit: here's the data sheet: http://store.kysanelectronics.com/servlet/-strse-70050/39BYG101/Detail (thanks JimboZA!)

As you can see, the stepper motor has 5 wires: 4 grouped together and 1 set apart.

Wondering if anyone has any tips for controlling that?

One interesting feature is it has a clutch on it, so if it turns against the wires it will simply slip instead of putting much pressure on the wires. So even if I had imperfect control of the motor, I'd be unlikely to damage anything.

Or, failing that, a replacement motor? Its pretty beefy, about 3 inches tall, though that's probably overkill as it only holds 6 LEDs and a small heatsink.

And on the subject of those LEDs, if possible I'd also love to control those. They're 3 watts each though. Any tips on controlling those, ideally with a bit of PWM fading?
« Last Edit: January 31, 2013, 02:41:26 am by wrybread » Logged

Offline Offline
Faraday Member
**
Karma: 80
Posts: 3790
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I Googled the part number 39byg101 from the motor: it's a this stepper, not a servo...
Logged

Although I answer in good faith, remember always: Your Mileage May Vary.
Get me on LinkedIn: za.linkedin.com/in/jimbrownza/

0
Offline Offline
Newbie
*
Karma: 0
Posts: 43
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks JimboZA! I edited the post to reflect that.
Logged

Offline Offline
Faraday Member
**
Karma: 80
Posts: 3790
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Maybe with that part number you could dig deeper on the 'net and find the actual data sheet- that link I gave isn't much other than an indication it's a stepper, since it says "Step Angle" at the bottom  smiley-cool
Logged

Although I answer in good faith, remember always: Your Mileage May Vary.
Get me on LinkedIn: za.linkedin.com/in/jimbrownza/

0
Offline Offline
Shannon Member
****
Karma: 199
Posts: 11650
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Well it gives voltage, current, resistance, inductance and moment of inertia... What more are you wanting!
(Google finds a better datasheet at JameCo btw)

Actually the part number is 39BYG101-1, the -1 probably relates to the non-standard connector, the datasheet
implies 4-wire bipolar.   Its not clear whether the 5th connection is because this one is unipolar 5-wire motor
or its simply a case-ground wire...  Multimeter could help determine this.
Logged

[ I won't respond to messages, use the forum please ]

Offline Offline
Faraday Member
**
Karma: 80
Posts: 3790
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
What more are you wanting!

The wiring, seemingly  smiley-cool
Logged

Although I answer in good faith, remember always: Your Mileage May Vary.
Get me on LinkedIn: za.linkedin.com/in/jimbrownza/

0
Offline Offline
Newbie
*
Karma: 0
Posts: 43
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

> The wiring, seemingly 

Yup, and any tips on using it. That's why I'm here, because I have no idea how to turn that data sheet into controlling it from the Arduino.

Logged

0
Offline Offline
Shannon Member
****
Karma: 199
Posts: 11650
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
What more are you wanting!

The wiring, seemingly  smiley-cool

A multimeter can be more useful - motors come in many versions and datasheets are often very sketchy
(custom versions of a motor are often made without public documentation).  Getting the phases right is best done by
testing and swapping leads - I've got three "identical" bipolar steppers with the same four colours for the wires,
but one of them is wired differently to the other two - Friday afternoon shift at the factory?!

I suspect that electrical wiring is a late-binding step in motor manufacture - the motors are stacked and stored
with bare internal terminals, and when an order comes in the customer may specify the wires length/colour/insulation/
connector - only then do the manufacturers add wiring and close the motor.  Or they pass it to an OEM to complete.
Logged

[ I won't respond to messages, use the forum please ]

Pages: [1]   Go Up
Jump to: