Un2003a 28byj48 Stepper Motor Project

leversofpower

USA

This is a tutorial for implementing UN2003A 28BYJ48 stepper motor controller combo. This motor stepper controller combo can be purchased very inexpensively from the web. Great for adding open loop positioning to your project in a very cost effective manor. One caveat is the the motor at 5v is about 1-5 rpm...

Project

User-inserted image

Hardware

User-inserted image

The project is listed in the EZ-Cloud v1 as: UN2003A 28BYJ48

Ex post facto: Disregard the colored jumpers on the digital ports. Rearranging the jumper wires was like pulling out individual grey hairs, serious pia.

By — Last update

ARC Pro

Upgrade to ARC Pro

Discover the limitless potential of robot programming with Synthiam ARC Pro – where innovation and creativity meet seamlessly.

#9  

The stepper motor is still a mystery to me. I've seen on you tube the very same stepper motor moving at least twice as fast as I could make it move with the EZB. There appear to be timing and acceleration aspects to driving the motors that I havn't grasped correctly. Also the specs say it steps at approx 5 degrees yet I seem to be getting less then a degree at 512 positions. There is a half step going on. If your up for a simple mystery, buy the stepper motor and controller from ebay for 3 dollars and download the project. Easy yet mysterious, at least to me.

I'm deep into modding the RC car chassis and gutting the roboquad and totally redoing it with hbridges and programming so not sure when I'll get steppin' again... ;)

#10  

@leversofpower i just got my UN2003 kit with stepper motor in today ,so will try your code and see whats wrong with it.

#11  

Also have another bigger stepper motor to try on it,and i do have the ULN2003 CHIPS ,but a lot easy when you have a board made for fast protoboard testing and working out the bugs.

#12  

Thanks robotmaker, your insights will be appreciated.

#13  

I did find a few of my stepper motors i have ,some will need a high power design

One i like alot ,but so far cant find out where i put it is a linear screw stepper motor very small size and might work great in my johnny five lynxmotion design to pull the eye camera in and out like they way a slide works.