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
Hardware
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 leversofpower
— Last update
Discover more robots
Animator28's AVA (Advanced Visual Android) Update
Synthiam ARC robot build: DLP face animations via EZ-Script/VLC, ezb camera object recognition, H-bridge DC neck...
Ezang's Mr. Metal Robot 2020
Synthiam ARC controlled Talking Mr. Metal robot with EZ-B4, 2 IO Tinys, RGB eyes, ServoCity gears and DFRobot hex base...
Fxrtst's Will Huff's Lost In Space B9 Robot Build
Create silicone rubber parts for a Lost in Space B9 replica and use Synthiam products to build an amazing robot.



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...
@leversofpower i just got my UN2003 kit with stepper motor in today ,so will try your code and see whats wrong with it.
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.
Thanks robotmaker, your insights will be appreciated.
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.