603,386 active members*
3,064 visitors online*
Register for free
Login
IndustryArena Forum > CNC Electronics > CNC Machine Related Electronics > Uni-Stepper & simple drive electronics
Page 1 of 2 12
Results 1 to 20 of 30
  1. #1
    Join Date
    Aug 2004
    Posts
    270

    Uni-Stepper & simple drive electronics

    I have this picture of a unipolar stepper - I don't know what the connections are -- but I do know I can make it turn by putting negative power to the both black cable leads and putting a positive pulse on each of the colored wires in sequence...

    Colors 4 colors and 2 blacks. the motor has 2 'halves' the top is red ylw blk
    btm is brn org blk

    The next pic is my driver prototyping :
    ( kind of have it stuffed into a littel closeable cardboard box for dust prevention and to keep room 'tidy')

    top board is just 555 clock generation
    btm board in a 7474N , 7486N, 7404N and a ULN 2001A -

    The invertor is to invert the pulses going into the ULN since this takes inverted inputs - this circuit is from vary basic driving schematics -
    I think the .5 Amp , 12V output is enough to make the small stepper spin but
    maybe I'm wrong. There is no reference voltage that I'm aware of .

    The little motor wwill have a holding torque and if I spin it by hand seems to move in one dir or the other one or 2 clocks but then maintains its 'holding torque' stationary ... this is pretty simple stuff that anybody with a bit of trial and error experience on this probably can solve off the bat .....

    thanks for your help .!!!
    Eric
    Attached Thumbnails Attached Thumbnails step1.jpg   step-electron.jpg  

  2. #2
    Join Date
    Aug 2004
    Posts
    270

    yeah // if anybody is good with electronics

    please email at [email protected] or 407 474 0822 .....

    just trying to get this stupid little unipolar stepper to turn with the simple driving circuit ... maybe the 1/2amp 12v ( 6 watts per step, 4 steps per cycle) is not enough power from the ULN 2001 ?

    maybe this 2.3" motor needs more current well it says 12 V and 36 ohm coil ..
    and good ole' ohm's law says e = i*r or i = e/r which is to say i = 12/36

    One may possibly conclude that the current needed is 1/3 or .33 amps, but if that's the case then my .5 amps should be more than enough - driving the whole thing with a 100 watt old pc power supply. I would say that all the chips and the motor don't need 100 watts to run - but what could be the problem is the Voltage drops when current gets drawn and small signals don't have the proper levels - the circuit looks so simple ... why doesn't it work -- damn - if i could just find that serial cable for my RS probescope and look at the signals >>> ( thats' the problem with moving in a hurry.. stuff gets lost all over the place..){

  3. #3
    Join Date
    Jun 2003
    Posts
    3312
    The 2001 should drive the motor. Are you sure you have the phasing correct to the motor? Looking at your components, you are probably running a similar circuit to the one on my website here, but we used cmos and discrete fets:

    http://pminmo.com/discrete/discrete.htm
    there are 4 links, including the copper pattern layout to do a single sided PCB via toner transfer.

    Phil
    Phil, Still too many interests, too many projects, and not enough time!!!!!!!!
    Vist my websites - http://pminmo.com & http://millpcbs.com

  4. #4
    Join Date
    Aug 2004
    Posts
    270

    phasing

    Hey Phil -- nice site ! nicely done ---

    Yeah - it shouldn't matter wether or not your driving logic is TTL or CMOS -
    just that the interface between the 2 has to be administered properly.

    ANy way , the same logic control .. a clock , a binary counter, J-K flip flop ( to temp. store ), a quad nor gate ? -- well i dont have my ckt i n front of me but i will try and post the link next time -

    but i don't even know how my stepper works ,,, according to everyone the stepper needs its own power and mine just has 2 black leads and the 4 colored leads --- so i dont know how that works except the power comes from the pulse which also turns it .

    perhaps my phasing is off .. ... --- but i have the outputs driving LED's so i can watch the sequence ---

    i'll just recheck the wiring ...

    here is the ckt link


    neil.frasier.name/hardware/stepper/ttl.html

  5. #5
    Join Date
    Aug 2004
    Posts
    270
    sorry -- i should have done this the 1st time .. of course your gonna make a typo when there are more than 20 characters and 4 forward slashes and 3 dots !

    http://neil.fraser.name/hardware/stepper/ttl.html

  6. #6
    Join Date
    Jun 2003
    Posts
    3312
    The uln2001 is an open collector sink driver. You can't hook it up like the schematic you linked too, which is wired as a source driver. i.e. source when on ties the coil to 12vdc, sink ties coil to ground. You can use a 2001, but not emulating the schematic shown.

    Phil
    Phil, Still too many interests, too many projects, and not enough time!!!!!!!!
    Vist my websites - http://pminmo.com & http://millpcbs.com

  7. #7
    Join Date
    Aug 2004
    Posts
    270
    and that is why i'm at the board to find people that know this stuff better than me ...

    what i attempted in this case was to invert the input to the 2001 so that it might output opposite --- but , when u say open collector, i tend to think i'm not going to get some logic reverse nice and pretty because now we're dealing more with an amplifier and not a logic gate -- the signal level just went from low current to very high and now we are talking big amplifiers to get the .5amps out --- ..

    so i need to ... reverse the 'sink ' somehow or find something to improvise .. or just replace the 2001 with 4 generic xsistors for the + output ?

    thanks,
    eric

  8. #8
    Join Date
    Aug 2004
    Posts
    270
    Perhaps the 2003 can be used in place of the 2001 : from

    http://www.doc.ic.ac.uk/~ih/doc/step...2/connect.html :



    The ULN2003 / MC1413 is a 7-bit 50V 500mA TTL-input NPN darlington driver. This is more than adequate to control a four phase unipolar stepper motor such as the KP4M4-001.



    It is recommended to connect a 12v zener diode between the power supply and VDD (Pin 9) on the chip, to absorb reverse (or "back") EMF from the magnetic field collapsing when motor coils are switched off

    [[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[
    You can't see the nice illustartions here but on the site page they have something that i think i need to implement into my circuit and motor connections -- they have the motor black wires going to the +12 ? and pin 9 of the 2003 connected to power via zener.

  9. #9
    Join Date
    Jun 2003
    Posts
    3312
    2001 and 2003 are basically the same configuration. If you take the 2003 pin 1,2,3,4 and hook them to you 7486 outputs. Take the corresponing 2003 outputs 16,15,14,13 to the coils on your stepper. Wire the center taps of the motor to +12vdc. Pin 8 of the 2003 to gnd, pin 9 to plus 12. You should be able to operate the stepper, if you have the coil phasing correct.

    Phil
    Phil, Still too many interests, too many projects, and not enough time!!!!!!!!
    Vist my websites - http://pminmo.com & http://millpcbs.com

  10. #10
    Join Date
    Aug 2004
    Posts
    270
    The Allegro ULN2001A-ULN2004A are a seven Darlington arrays devices.
    In fact, the only difference I see between the 01 and 03 is that the 01 is designated as a general purpose, DTL, TTL, PMOS and CMOS --
    --- Where as the 03 is referred to interface with only the 5V TTL, and CMOS logic families.
    I would think I should be able to use the 01 in place of the 03 since I am driving with TTL from the 7486N. Is this what you believe as well ?

  11. #11
    Join Date
    Aug 2004
    Posts
    270
    GOOD NEWS --- well after the bad -- i havent hooked that boxed circuit up in at least a week maybe 2 or 3 -- it is late and i smealt something .. always a bad sign -- .. had connected power backwards to the logic and the 7486 chip was very hot so it needed replacement .. then i isolated just the timer .. and accidentally hooked it backwards but pulled power in time .. anyway -- the damn thing works !

    i had that little motor spinning backward and forward, slow and fast ( seemingly several RPM's .... before it stalled and i had to turn my little pot. back down)...
    oh what a joy .. i have been trying to get that damn thing to spin by electronic control, on and off )time allotments towards project)( since last ... getting near a year !!! There is not enough torque to resist the heavy pinch of my thumb and index finger but i think i can turn a 1/4 -20 screw enough to raise a tiny engraver / mini-router ---- good thing i started on the Z -axis for it even though i couldn't get the motor control working .... i knew someday i would , TODAY WAS THE DAY !!!

    Why the heck would the mfg make the 2 common wires black that need to be hooked to POS ? this goes against all standards and norms....
    the other problem was i didn't have pin 9 of the 2001 going to POS.
    those were the 2 problems.
    i should mention i have a 7404 inverter in this ckt taking the output of 7486 into the 2001 - perhaps i dont need it .. ill try that tomorrow .. this is very exciting ...
    i am happy .. joyed.. elated .. eureka vaccuum ... (it's kinda late)...

    i'm still pissed off at the mfg. for labeling common as something one might hook to the negative power !!!!
    Thanks for your help Phil - I even took a short video clip of motor turning slowly, and fast and backwards and forward ... .. hope to upload that sometime for people to laugh at ? ha ha .. ( 'little things mean alot' !)... and thanks for the hosts of this terrific web site for haveing the possibilities in this forum....

  12. #12
    Join Date
    Jun 2003
    Posts
    3312
    great news!

    Phil
    Phil, Still too many interests, too many projects, and not enough time!!!!!!!!
    Vist my websites - http://pminmo.com & http://millpcbs.com

  13. #13
    Join Date
    Aug 2004
    Posts
    270
    yes it is great .. and i would like to continue this thread with my Z -axis or do I have to start a new one in the appropriate forum ?

  14. #14
    Join Date
    Jun 2003
    Posts
    3312
    If it fits the thread name why not stay put.

    Phil
    Phil, Still too many interests, too many projects, and not enough time!!!!!!!!
    Vist my websites - http://pminmo.com & http://millpcbs.com

  15. #15
    Join Date
    Aug 2004
    Posts
    270

    Red face zeeeee - axis (and it's box)

    couple of pix- the z-axis and associated parts
    It is a rather cheap pine wood - actually something i think that was the neighbor's baseboard that they no longer wanted - ilove recycling things that people no longer want into useful things - raw materials can be a wonderful thing -
    ok - i noticed not much strength with this wood - however this is trial 1.
    it's not supposed to be perfect - it's not something that i expect to last forever or to be the final version ! this is the 1st part of trial and error -
    i can move the thing up and down by fingers - and it should get a little better with some lube - i think i bought the rails, the teflon plumbing washers ( which combined are the friction bearing surface) and the 1/4x20 rod and coupling nuts. Of course I would like aluminum - some 1/4" or even 1/2" plate would just be dandy - but in good time - of course i have a good supply of roller ball bearings from a couple roller blades - i think i want to use those on the z-axis before i do so on the X or Y as the Z seems to need to have very good accuracy - things that get cut need to have very precise positioning on the depth of material removal.

    The weight to be lifted by the threaded rod is that of the wood frame which holds the little engraver - I think the 12*.33 ~4 watt power house stepper might work because the thread is so fine.

    I should really study the free plans provided on this site by some of the very generous with their time & talent individuals - but something is to be said for diving in and execution - many people have studied and thought up grand things - but they never got their hands dirty or put forth the effort to do anything about it !!! how sad ! Planning without execution is like seduction without a kiss.
    Hopefully Phil is as good on the Z-axis as he is with electronics !
    Attached Thumbnails Attached Thumbnails box_z-axis.jpg   z-axis2.jpg  

  16. #16
    Join Date
    Aug 2004
    Posts
    270
    I have since hooked the motor up to the z-axis, coupled with a piece of 1/4" ID polyvinyl tubing and some SS pipe clamps. That 7.5 degree per step motor , cranked up with my driving circuit was moving the Z-axis up and down at a rate of about 1 inch per 8 seconds !!! Too slow!! I will try 3/8 or 1/2" to get the TPI down, hopefully the motor has enuf torque to still turn it.

    Been contemplating the other 2 axes. I have the X in my mind ( and most of the parts) - the Y is also in my mind , but it will be a long time to implement that angle iron bearing format with the skate bearings as there will be a lot of learning curve and adjustments to make for the diameter of pipe being used. Also I'll probably make the pipes adjustable and making those 4 screw slide adjusters will be time consuming also.

  17. #17
    Join Date
    Jun 2003
    Posts
    3312
    congrats!

    Phil
    Phil, Still too many interests, too many projects, and not enough time!!!!!!!!
    Vist my websites - http://pminmo.com & http://millpcbs.com

  18. #18
    Join Date
    Aug 2004
    Posts
    270
    I just wanted to update with the lack of progress... taking 2 summer courses at community college , last sem was 3 - this fall sem will prob. be another 2 - and started job at the end of last sem ... stuff went on the back burner !!! i hope to get some of that video posted here though ( if it doesnt take up too much space ) -- ill link it to my own web site storage space....

  19. #19
    Join Date
    Aug 2004
    Posts
    270
    Just wanted to update -- i hope to get some video of motion of the z axis
    and incorporate this flimsy assembly into a 1st machine of which the
    x and y would be like cross slides, because its the simplest, least expensive and usually smaller style of design... and a good place to start to get acquainted ... r there any good designs for the x-y cross slides using either drawer bearing slides .. i dont think
    skate bearings would be needed for something that is going to be an engraver ...

    maybe could get away with teflon washers on solid bars ( like from printers)

  20. #20
    Join Date
    Aug 2004
    Posts
    270
    I am looking to drive Bi-polar Vexta's for the X and Y axes.

    I am driving with the L297 and L298 . I see a schematic from cnc-robotics book but
    was owonedering if anybody else knows of a web link with the schematic of the ckt. connection. I see a few caps and R's ... 1nF, .1uF and even a 470 uF, and some standard R's . connected to jumpers / PS's and to motors .

    thx.

Page 1 of 2 12

Similar Threads

  1. Direct drive with stepper on rack and pinion.
    By jerryrigge in forum Linear and Rotary Motion
    Replies: 24
    Last Post: 10-10-2007, 03:21 AM
  2. Stepper As A Lathe Spindle Drive
    By mklb in forum CNC (Mill / Lathe) Control Software (NC)
    Replies: 13
    Last Post: 01-18-2007, 04:47 AM
  3. Stepper drive question
    By Dman in forum DIY CNC Router Table Machines
    Replies: 1
    Last Post: 01-10-2005, 03:55 AM
  4. Need a low cost 4 amp, 48 volt, stepper drive
    By Mini Miller in forum Stepper Motors / Drives
    Replies: 19
    Last Post: 12-15-2004, 08:29 PM
  5. Fun with floppy stepper and driver
    By Konstantin in forum CNC Machine Related Electronics
    Replies: 5
    Last Post: 03-08-2004, 08:18 AM

Posting Permissions

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