Shop OBEX P1 Docs P2 Docs Learn Events
ULN2065 to BSC2 — Parallax Forums

ULN2065 to BSC2

ArchiverArchiver Posts: 46,084
edited 2000-03-28 01:08 in General Discussion
Hello all:

BSC app note#6 deals with a ULN2003 to drive a stepper, anyway I ordered a
ULN2065 seems you can get more current out of it and it is listed close by
the 2003, but neophyte that I am didn't realize the pin out and pin names
are kinda different.

So you hook the "B"'s to the stamp, and the "C"'s to the stepper coils?
Where do the "K"s get hooked up?
Also, my reading of the Allegro data sheet suggest that I can skip the
current limit resistors between the '2065 and the BS2.

Gosh, Allegro could really learn a lot by looking at a Burr Brown PDF
datasheet, those things are great.

I've searched up and down the web for the primer hook up schematic but no
luck.

Thanks,

Mark

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2000-03-26 04:41
    I just looked at the Allegro site and agree; they sure could give more app
    notes. You are correct that the "B" s go to stamp pins, and the "C"s go to
    the stepper. The "K" terminals are protection diodes for inductive flyback
    voltage, and would go to the positive supply powering the stepper. It does
    appear from their "simplified" schematic that current limit resistors are
    internal to the chip inputs. However, I like to add some Stamp insurance
    against ULN chip failure, and would still use a small resistor, like 120-150
    ohms. I suspect the ULN has enough gain to afford this resistor.

    If you remember the "suppression diode" discussion on this site that caused
    much complaining, you can add a 40-50V zener between the "K" terminals and
    stepper positive if the motor is too sluggish.

    Good luck,
    Ray McArthur

    Original Message
    From: techno_masai <plunkettm@e...>
    To: <basicstamps@egroups.com>
    Sent: Saturday, March 25, 2000 7:40 PM
    Subject: [noparse][[/noparse]basicstamps] ULN2065 to BSC2


    > Hello all:
    >
    > BSC app note#6 deals with a ULN2003 to drive a stepper, anyway I ordered a
    > ULN2065 seems you can get more current out of it and it is listed close by
    > the 2003, but neophyte that I am didn't realize the pin out and pin names
    > are kinda different.
    >
    > So you hook the "B"'s to the stamp, and the "C"'s to the stepper coils?
    > Where do the "K"s get hooked up?
    > Also, my reading of the Allegro data sheet suggest that I can skip the
    > current limit resistors between the '2065 and the BS2.
    >
    > Gosh, Allegro could really learn a lot by looking at a Burr Brown PDF
    > datasheet, those things are great.
    >
    > I've searched up and down the web for the primer hook up schematic but no
    > luck.
    >
    > Thanks,
    >
    > Mark
    >
    >
    >
    > eGroups.com Home: http://www.egroups.com/group/basicstamps/
    > http://www.egroups.com - Simplifying group communications
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2000-03-26 07:11
    Thanks once again Ray, #8^]

    So now the way I figure it is that the K terminals are kinda like optional
    terminals you can use if you want to protect against inductive flyback,
    right?

    Trouble is there's only 2 "K"'s on this thing vs 4 "C"s.

    Thanks,

    Mark



    inal Message
    From: rjmca <rjmca@w...>
    To: basicstamps@egroups.com <basicstamps@egroups.com>
    Date: Saturday, March 25, 2000 8:47 PM
    Subject: [noparse][[/noparse]basicstamps] Re: ULN2065 to BSC2


    >I just looked at the Allegro site and agree; they sure could give more app
    >notes. You are correct that the "B" s go to stamp pins, and the "C"s go to
    >the stepper. The "K" terminals are protection diodes for inductive flyback
    >voltage, and would go to the positive supply powering the stepper. It
    does
    >appear from their "simplified" schematic that current limit resistors are
    >internal to the chip inputs. However, I like to add some Stamp insurance
    >against ULN chip failure, and would still use a small resistor, like
    120-150
    >ohms. I suspect the ULN has enough gain to afford this resistor.
    >
    >If you remember the "suppression diode" discussion on this site that caused
    >much complaining, you can add a 40-50V zener between the "K" terminals and
    >stepper positive if the motor is too sluggish.
    >
    >Good luck,
    >Ray McArthur
    >
    >
    Original Message
    >From: techno_masai <plunkettm@e...>
    >To: <basicstamps@egroups.com>
    >Sent: Saturday, March 25, 2000 7:40 PM
    >Subject: [noparse][[/noparse]basicstamps] ULN2065 to BSC2
    >
    >
    >> Hello all:
    >>
    >> BSC app note#6 deals with a ULN2003 to drive a stepper, anyway I ordered
    a
    >> ULN2065 seems you can get more current out of it and it is listed close
    by
    >> the 2003, but neophyte that I am didn't realize the pin out and pin names
    >> are kinda different.
    >>
    >> So you hook the "B"'s to the stamp, and the "C"'s to the stepper coils?
    >> Where do the "K"s get hooked up?
    >> Also, my reading of the Allegro data sheet suggest that I can skip the
    >> current limit resistors between the '2065 and the BS2.
    >>
    >> Gosh, Allegro could really learn a lot by looking at a Burr Brown PDF
    >> datasheet, those things are great.
    >>
    >> I've searched up and down the web for the primer hook up schematic but no
    >> luck.
    >>
    >> Thanks,
    >>
    >> Mark
    >>
    >>
    >>
    >> eGroups.com Home: http://www.egroups.com/group/basicstamps/
    >> http://www.egroups.com - Simplifying group communications
    >>
    >>
    >
    >
    >
    >-- 20 megs of disk space in your group's Document Vault
    >-- http://www.egroups.com/docvault/basicstamps/?m=1
    >
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2000-03-26 07:39
    Mark:
    If you look at their "simplified" circuit, there is one diode for each C, (4
    diodes), and they tied them internally together in pairs, since normally all
    the protect diode cathodes (Ks) are tied together anyway. I would
    definitely recommend tying the 2 Ks to stepper positive, since the flyback
    can be hundreds of volts without diodes. If I recall the data sheet
    correctly, the ULN2065 can only withstand 80 volts.

    Regards,
    Ray

    Original Message
    From: techno_masai <plunkettm@e...>
    To: <basicstamps@egroups.com>
    Sent: Sunday, March 26, 2000 1:11 AM
    Subject: [noparse][[/noparse]basicstamps] Re: ULN2065 to BSC2


    > Thanks once again Ray, #8^]
    >
    > So now the way I figure it is that the K terminals are kinda like optional
    > terminals you can use if you want to protect against inductive flyback,
    > right?
    >
    > Trouble is there's only 2 "K"'s on this thing vs 4 "C"s.
    >
    > Thanks,
    >
    > Mark
    >
    >
    >
    > inal Message
    > From: rjmca <rjmca@w...>
    > To: basicstamps@egroups.com <basicstamps@egroups.com>
    > Date: Saturday, March 25, 2000 8:47 PM
    > Subject: [noparse][[/noparse]basicstamps] Re: ULN2065 to BSC2
    >
    >
    > >I just looked at the Allegro site and agree; they sure could give more
    app
    > >notes. You are correct that the "B" s go to stamp pins, and the "C"s go
    to
    > >the stepper. The "K" terminals are protection diodes for inductive
    flyback
    > >voltage, and would go to the positive supply powering the stepper. It
    > does
    > >appear from their "simplified" schematic that current limit resistors are
    > >internal to the chip inputs. However, I like to add some Stamp insurance
    > >against ULN chip failure, and would still use a small resistor, like
    > 120-150
    > >ohms. I suspect the ULN has enough gain to afford this resistor.
    > >
    > >If you remember the "suppression diode" discussion on this site that
    caused
    > >much complaining, you can add a 40-50V zener between the "K" terminals
    and
    > >stepper positive if the motor is too sluggish.
    > >
    > >Good luck,
    > >Ray McArthur
    > >
    > >
    Original Message
    > >From: techno_masai <plunkettm@e...>
    > >To: <basicstamps@egroups.com>
    > >Sent: Saturday, March 25, 2000 7:40 PM
    > >Subject: [noparse][[/noparse]basicstamps] ULN2065 to BSC2
    > >
    > >
    > >> Hello all:
    > >>
    > >> BSC app note#6 deals with a ULN2003 to drive a stepper, anyway I
    ordered
    > a
    > >> ULN2065 seems you can get more current out of it and it is listed close
    > by
    > >> the 2003, but neophyte that I am didn't realize the pin out and pin
    names
    > >> are kinda different.
    > >>
    > >> So you hook the "B"'s to the stamp, and the "C"'s to the stepper coils?
    > >> Where do the "K"s get hooked up?
    > >> Also, my reading of the Allegro data sheet suggest that I can skip the
    > >> current limit resistors between the '2065 and the BS2.
    > >>
    > >> Gosh, Allegro could really learn a lot by looking at a Burr Brown PDF
    > >> datasheet, those things are great.
    > >>
    > >> I've searched up and down the web for the primer hook up schematic but
    no
    > >> luck.
    > >>
    > >> Thanks,
    > >>
    > >> Mark
    > >>
    > >>
    >
    >>
    > >> eGroups.com Home: http://www.egroups.com/group/basicstamps/
    > >> http://www.egroups.com - Simplifying group communications
    > >>
    > >>
    > >
    > >
    > >
    > >-- 20 megs of disk space in your group's Document Vault
    > >-- http://www.egroups.com/docvault/basicstamps/?m=1
    > >
    > >
    > >
    >
    >
    >
    >
    > eGroups.com home: http://www.egroups.com/group/basicstamps
    > http://www.egroups.com - Simplifying group communications
    >
    >
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2000-03-26 07:53
    Ray:

    OK, guess I keep looking at Fig. 1 on p99 for the '2003, by stepper positive
    you mean the +12v, red & grn? Then the brwn, blk, yel, org (Airpax color
    code)
    would be hooked up to the "C"'s?

    Somehow, this doesn't seem right.

    Apologies if this is getting tedious, guess I'm making a rather painful
    transition toward the hardware end of this business. #8^o

    Thank you,

    Mark


    Original Message
    From: rjmca <rjmca@w...>
    To: basicstamps@egroups.com <basicstamps@egroups.com>
    Date: Saturday, March 25, 2000 10:38 PM
    Subject: [noparse][[/noparse]basicstamps] Re: ULN2065 to BSC2


    >Mark:
    >If you look at their "simplified" circuit, there is one diode for each C,
    (4
    >diodes), and they tied them internally together in pairs, since normally
    all
    >the protect diode cathodes (Ks) are tied together anyway. I would
    >definitely recommend tying the 2 Ks to stepper positive, since the flyback
    >can be hundreds of volts without diodes. If I recall the data sheet
    >correctly, the ULN2065 can only withstand 80 volts.
    >
    >Regards,
    >Ray
    >
    >
    Original Message
    >From: techno_masai <plunkettm@e...>
    >To: <basicstamps@egroups.com>
    >Sent: Sunday, March 26, 2000 1:11 AM
    >Subject: [noparse][[/noparse]basicstamps] Re: ULN2065 to BSC2
    >
    >
    >> Thanks once again Ray, #8^]
    >>
    >> So now the way I figure it is that the K terminals are kinda like
    optional
    >> terminals you can use if you want to protect against inductive flyback,
    >> right?
    >>
    >> Trouble is there's only 2 "K"'s on this thing vs 4 "C"s.
    >>
    >> Thanks,
    >>
    >> Mark
    >>
    >>
    >>
    >> inal Message
    >> From: rjmca <rjmca@w...>
    >> To: basicstamps@egroups.com <basicstamps@egroups.com>
    >> Date: Saturday, March 25, 2000 8:47 PM
    >> Subject: [noparse][[/noparse]basicstamps] Re: ULN2065 to BSC2
    >>
    >>
    >> >I just looked at the Allegro site and agree; they sure could give more
    >app
    >> >notes. You are correct that the "B" s go to stamp pins, and the "C"s go
    >to
    >> >the stepper. The "K" terminals are protection diodes for inductive
    >flyback
    >> >voltage, and would go to the positive supply powering the stepper. It
    >> does
    >> >appear from their "simplified" schematic that current limit resistors
    are
    >> >internal to the chip inputs. However, I like to add some Stamp
    insurance
    >> >against ULN chip failure, and would still use a small resistor, like
    >> 120-150
    >> >ohms. I suspect the ULN has enough gain to afford this resistor.
    >> >
    >> >If you remember the "suppression diode" discussion on this site that
    >caused
    >> >much complaining, you can add a 40-50V zener between the "K" terminals
    >and
    >> >stepper positive if the motor is too sluggish.
    >> >
    >> >Good luck,
    >> >Ray McArthur
    >> >
    >> >
    Original Message
    >> >From: techno_masai <plunkettm@e...>
    >> >To: <basicstamps@egroups.com>
    >> >Sent: Saturday, March 25, 2000 7:40 PM
    >> >Subject: [noparse][[/noparse]basicstamps] ULN2065 to BSC2
    >> >
    >> >
    >> >> Hello all:
    >> >>
    >> >> BSC app note#6 deals with a ULN2003 to drive a stepper, anyway I
    >ordered
    >> a
    >> >> ULN2065 seems you can get more current out of it and it is listed
    close
    >> by
    >> >> the 2003, but neophyte that I am didn't realize the pin out and pin
    >names
    >> >> are kinda different.
    >> >>
    >> >> So you hook the "B"'s to the stamp, and the "C"'s to the stepper
    coils?
    >> >> Where do the "K"s get hooked up?
    >> >> Also, my reading of the Allegro data sheet suggest that I can skip the
    >> >> current limit resistors between the '2065 and the BS2.
    >> >>
    >> >> Gosh, Allegro could really learn a lot by looking at a Burr Brown PDF
    >> >> datasheet, those things are great.
    >> >>
    >> >> I've searched up and down the web for the primer hook up schematic but
    >no
    >> >> luck.
    >> >>
    >> >> Thanks,
    >> >>
    >> >> Mark
    >> >>
    >> >>
    >>
    >>>
    >> >> eGroups.com Home: http://www.egroups.com/group/basicstamps/
    >> >> http://www.egroups.com - Simplifying group communications
    >> >>
    >> >>
    >> >
    >> >
    >> >
    >> >-- 20 megs of disk space in your group's Document Vault
    >> >-- http://www.egroups.com/docvault/basicstamps/?m=1
    >> >
    >> >
    >> >
    >>
    >>
    >>
    >>
    >> eGroups.com home: http://www.egroups.com/group/basicstamps
    >> http://www.egroups.com - Simplifying group communications
    >>
    >>
    >>
    >>
    >
    >
    >
    >eGroups.com Home: http://www.egroups.com/group/basicstamps/
    >http://www.egroups.com - Simplifying group communications
    >
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2000-03-26 20:24
    Mark:
    > Somehow, this doesn't seem right.<< You are correct!

    I just looked at fig.1 in the stamp manual. They are using two sections of
    the ULN2003 as inverters. The ULN2003 has 7 drivers vs 4 for the 2065.
    Note that the stamp drives in2, in3, in6 and in7. Then out6 drives in1, and
    out7 drives in4. Out 1 thru 4 then drive the stepper. Your problem is that
    the ULN2065 only has four drivers, so you don't have the spare sections to
    use as inverters. This means that you will have to add your own inverters to
    two of the '2065 inputs. You could use CMOS or 74HC types. Just follow
    fig.1, but add your inverters to the inputs of the drivers feeding the brown
    and orange stepper wires. Another fix would be to modify the program so
    that two additional stamp pins are used to drive the '2065. These two pins
    would be programmed as the inverse of the first two pins.

    Sorry I didn't check fig.1 sooner.

    Ray


    From: techno_masai <plunkettm@e...>
    To: <basicstamps@egroups.com>
    Sent: Sunday, March 26, 2000 1:53 AM
    Subject: [noparse][[/noparse]basicstamps] Re: ULN2065 to BSC2


    > Ray:
    >
    > OK, guess I keep looking at Fig. 1 on p99 for the '2003, by stepper
    positive
    > you mean the +12v, red & grn? Then the brwn, blk, yel, org (Airpax color
    > code)
    > would be hooked up to the "C"'s?
    >
    > Somehow, this doesn't seem right.
    >
    > Apologies if this is getting tedious, guess I'm making a rather painful
    > transition toward the hardware end of this business. #8^o
    >
    > Thank you,
    >
    > Mark
    >
    >
    >
    Original Message
    > From: rjmca <rjmca@w...>
    > To: basicstamps@egroups.com <basicstamps@egroups.com>
    > Date: Saturday, March 25, 2000 10:38 PM
    > Subject: [noparse][[/noparse]basicstamps] Re: ULN2065 to BSC2
    >
    >
    > >Mark:
    > >If you look at their "simplified" circuit, there is one diode for each C,
    > (4
    > >diodes), and they tied them internally together in pairs, since normally
    > all
    > >the protect diode cathodes (Ks) are tied together anyway. I would
    > >definitely recommend tying the 2 Ks to stepper positive, since the
    flyback
    > >can be hundreds of volts without diodes. If I recall the data sheet
    > >correctly, the ULN2065 can only withstand 80 volts.
    > >
    > >Regards,
    > >Ray
    > >
    > >
    Original Message
    > >From: techno_masai <plunkettm@e...>
    > >To: <basicstamps@egroups.com>
    > >Sent: Sunday, March 26, 2000 1:11 AM
    > >Subject: [noparse][[/noparse]basicstamps] Re: ULN2065 to BSC2
    > >
    > >
    > >> Thanks once again Ray, #8^]
    > >>
    > >> So now the way I figure it is that the K terminals are kinda like
    > optional
    > >> terminals you can use if you want to protect against inductive flyback,
    > >> right?
    > >>
    > >> Trouble is there's only 2 "K"'s on this thing vs 4 "C"s.
    > >>
    > >> Thanks,
    > >>
    > >> Mark
    > >>
    > >>
    > >>
    > >> inal Message
    > >> From: rjmca <rjmca@w...>
    > >> To: basicstamps@egroups.com <basicstamps@egroups.com>
    > >> Date: Saturday, March 25, 2000 8:47 PM
    > >> Subject: [noparse][[/noparse]basicstamps] Re: ULN2065 to BSC2
    > >>
    > >>
    > >> >I just looked at the Allegro site and agree; they sure could give more
    > >app
    > >> >notes. You are correct that the "B" s go to stamp pins, and the "C"s
    go
    > >to
    > >> >the stepper. The "K" terminals are protection diodes for inductive
    > >flyback
    > >> >voltage, and would go to the positive supply powering the stepper.
    It
    > >> does
    > >> >appear from their "simplified" schematic that current limit resistors
    > are
    > >> >internal to the chip inputs. However, I like to add some Stamp
    > insurance
    > >> >against ULN chip failure, and would still use a small resistor, like
    > >> 120-150
    > >> >ohms. I suspect the ULN has enough gain to afford this resistor.
    > >> >
    > >> >If you remember the "suppression diode" discussion on this site that
    > >caused
    > >> >much complaining, you can add a 40-50V zener between the "K" terminals
    > >and
    > >> >stepper positive if the motor is too sluggish.
    > >> >
    > >> >Good luck,
    > >> >Ray McArthur
    > >> >
    > >> >
    Original Message
    > >> >From: techno_masai <plunkettm@e...>
    > >> >To: <basicstamps@egroups.com>
    > >> >Sent: Saturday, March 25, 2000 7:40 PM
    > >> >Subject: [noparse][[/noparse]basicstamps] ULN2065 to BSC2
    > >> >
    > >> >
    > >> >> Hello all:
    > >> >>
    > >> >> BSC app note#6 deals with a ULN2003 to drive a stepper, anyway I
    > >ordered
    > >> a
    > >> >> ULN2065 seems you can get more current out of it and it is listed
    > close
    > >> by
    > >> >> the 2003, but neophyte that I am didn't realize the pin out and pin
    > >names
    > >> >> are kinda different.
    > >> >>
    > >> >> So you hook the "B"'s to the stamp, and the "C"'s to the stepper
    > coils?
    > >> >> Where do the "K"s get hooked up?
    > >> >> Also, my reading of the Allegro data sheet suggest that I can skip
    the
    > >> >> current limit resistors between the '2065 and the BS2.
    > >> >>
    > >> >> Gosh, Allegro could really learn a lot by looking at a Burr Brown
    PDF
    > >> >> datasheet, those things are great.
    > >> >>
    > >> >> I've searched up and down the web for the primer hook up schematic
    but
    > >no
    > >> >> luck.
    > >> >>
    > >> >> Thanks,
    > >> >>
    > >> >> Mark
    > >> >>
    > >> >>
    > >>
    >
    >>>
    > >> >> eGroups.com Home: http://www.egroups.com/group/basicstamps/
    > >> >> http://www.egroups.com - Simplifying group communications
    > >> >>
    > >> >>
    > >> >
    > >> >
    > >>
    >
    > >> >-- 20 megs of disk space in your group's Document Vault
    > >> >-- http://www.egroups.com/docvault/basicstamps/?m=1
    > >> >
    > >> >
    > >> >
    > >>
    > >>
    >
    >>
    > >>
    > >> eGroups.com home: http://www.egroups.com/group/basicstamps
    > >> http://www.egroups.com - Simplifying group communications
    > >>
    > >>
    > >>
    > >>
    > >
    > >
    > >
    > >eGroups.com Home: http://www.egroups.com/group/basicstamps/
    > >http://www.egroups.com - Simplifying group communications
    > >
    > >
    > >
    >
    >
    >
    > -- Easily schedule meetings and events using the group calendar!
    > -- http://www.egroups.com/cal?listname=basicstamps&m=1
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2000-03-27 03:20
    Ray:

    I'm gonna admit defeat at this point and order a couple of '2003's in the
    morning from Digikey.
    Just wish they had something a little more powerful with an identical pinout
    as the '2003.

    Yep, that circuit on p99 of the Stamp book is kinda subtle. I need to hook
    it up and get my DVM on it to see how that inverter arrangement works.

    Actually that's the kind of thing I'm trying to stay away from. Would like
    to stick with a tinker toy approach to IC's, its great when the flyback
    diodes, pullup resistors, load limit resistors are all built-in to the IC.

    I'm thinking about a either a 2544 or a 5804 from Allegro, but as I said
    before their data sheets are a big turn off.

    Do you or anyone else reading this know of any stepper motor control IC's
    that you've had good luck with?

    Thanks,

    Mark
    Original Message
    From: rjmca <rjmca@w...>
    To: basicstamps@egroups.com <basicstamps@egroups.com>
    Date: Sunday, March 26, 2000 11:22 AM
    Subject: [noparse][[/noparse]basicstamps] Re: ULN2065 to BSC2


    >Mark:
    >> Somehow, this doesn't seem right.<< You are correct!
    >
    >I just looked at fig.1 in the stamp manual. They are using two sections of
    >the ULN2003 as inverters. The ULN2003 has 7 drivers vs 4 for the 2065.
    >Note that the stamp drives in2, in3, in6 and in7. Then out6 drives in1,
    and
    >out7 drives in4. Out 1 thru 4 then drive the stepper. Your problem is
    that
    >the ULN2065 only has four drivers, so you don't have the spare sections to
    >use as inverters. This means that you will have to add your own inverters
    to
    >two of the '2065 inputs. You could use CMOS or 74HC types. Just follow
    >fig.1, but add your inverters to the inputs of the drivers feeding the
    brown
    >and orange stepper wires. Another fix would be to modify the program so
    >that two additional stamp pins are used to drive the '2065. These two pins
    >would be programmed as the inverse of the first two pins.
    >
    >Sorry I didn't check fig.1 sooner.
    >
    >Ray
    >
    >
    >From: techno_masai <plunkettm@e...>
    >To: <basicstamps@egroups.com>
    >Sent: Sunday, March 26, 2000 1:53 AM
    >Subject: [noparse][[/noparse]basicstamps] Re: ULN2065 to BSC2
    >
    >
    >> Ray:
    >>
    >> OK, guess I keep looking at Fig. 1 on p99 for the '2003, by stepper
    >positive
    >> you mean the +12v, red & grn? Then the brwn, blk, yel, org (Airpax color
    >> code)
    >> would be hooked up to the "C"'s?
    >>
    >> Somehow, this doesn't seem right.
    >>
    >> Apologies if this is getting tedious, guess I'm making a rather painful
    >> transition toward the hardware end of this business. #8^o
    >>
    >> Thank you,
    >>
    >> Mark
    >>
    >>
    >>
    Original Message
    >> From: rjmca <rjmca@w...>
    >> To: basicstamps@egroups.com <basicstamps@egroups.com>
    >> Date: Saturday, March 25, 2000 10:38 PM
    >> Subject: [noparse][[/noparse]basicstamps] Re: ULN2065 to BSC2
    >>
    >>
    >> >Mark:
    >> >If you look at their "simplified" circuit, there is one diode for each
    C,
    >> (4
    >> >diodes), and they tied them internally together in pairs, since normally
    >> all
    >> >the protect diode cathodes (Ks) are tied together anyway. I would
    >> >definitely recommend tying the 2 Ks to stepper positive, since the
    >flyback
    >> >can be hundreds of volts without diodes. If I recall the data sheet
    >> >correctly, the ULN2065 can only withstand 80 volts.
    >> >
    >> >Regards,
    >> >Ray
    >> >
    >> >
    Original Message
    >> >From: techno_masai <plunkettm@e...>
    >> >To: <basicstamps@egroups.com>
    >> >Sent: Sunday, March 26, 2000 1:11 AM
    >> >Subject: [noparse][[/noparse]basicstamps] Re: ULN2065 to BSC2
    >> >
    >> >
    >> >> Thanks once again Ray, #8^]
    >> >>
    >> >> So now the way I figure it is that the K terminals are kinda like
    >> optional
    >> >> terminals you can use if you want to protect against inductive
    flyback,
    >> >> right?
    >> >>
    >> >> Trouble is there's only 2 "K"'s on this thing vs 4 "C"s.
    >> >>
    >> >> Thanks,
    >> >>
    >> >> Mark
    >> >>
    >> >>
    >> >>
    >> >> inal Message
    >> >> From: rjmca <rjmca@w...>
    >> >> To: basicstamps@egroups.com <basicstamps@egroups.com>
    >> >> Date: Saturday, March 25, 2000 8:47 PM
    >> >> Subject: [noparse][[/noparse]basicstamps] Re: ULN2065 to BSC2
    >> >>
    >> >>
    >> >> >I just looked at the Allegro site and agree; they sure could give
    more
    >> >app
    >> >> >notes. You are correct that the "B" s go to stamp pins, and the "C"s
    >go
    >> >to
    >> >> >the stepper. The "K" terminals are protection diodes for inductive
    >> >flyback
    >> >> >voltage, and would go to the positive supply powering the stepper.
    >It
    >> >> does
    >> >> >appear from their "simplified" schematic that current limit resistors
    >> are
    >> >> >internal to the chip inputs. However, I like to add some Stamp
    >> insurance
    >> >> >against ULN chip failure, and would still use a small resistor, like
    >> >> 120-150
    >> >> >ohms. I suspect the ULN has enough gain to afford this resistor.
    >> >> >
    >> >> >If you remember the "suppression diode" discussion on this site that
    >> >caused
    >> >> >much complaining, you can add a 40-50V zener between the "K"
    terminals
    >> >and
    >> >> >stepper positive if the motor is too sluggish.
    >> >> >
    >> >> >Good luck,
    >> >> >Ray McArthur
    >> >> >
    >> >> >
    Original Message
    >> >> >From: techno_masai <plunkettm@e...>
    >> >> >To: <basicstamps@egroups.com>
    >> >> >Sent: Saturday, March 25, 2000 7:40 PM
    >> >> >Subject: [noparse][[/noparse]basicstamps] ULN2065 to BSC2
    >> >> >
    >> >> >
    >> >> >> Hello all:
    >> >> >>
    >> >> >> BSC app note#6 deals with a ULN2003 to drive a stepper, anyway I
    >> >ordered
    >> >> a
    >> >> >> ULN2065 seems you can get more current out of it and it is listed
    >> close
    >> >> by
    >> >> >> the 2003, but neophyte that I am didn't realize the pin out and pin
    >> >names
    >> >> >> are kinda different.
    >> >> >>
    >> >> >> So you hook the "B"'s to the stamp, and the "C"'s to the stepper
    >> coils?
    >> >> >> Where do the "K"s get hooked up?
    >> >> >> Also, my reading of the Allegro data sheet suggest that I can skip
    >the
    >> >> >> current limit resistors between the '2065 and the BS2.
    >> >> >>
    >> >> >> Gosh, Allegro could really learn a lot by looking at a Burr Brown
    >PDF
    >> >> >> datasheet, those things are great.
    >> >> >>
    >> >> >> I've searched up and down the web for the primer hook up schematic
    >but
    >> >no
    >> >> >> luck.
    >> >> >>
    >> >> >> Thanks,
    >> >> >>
    >> >> >> Mark
    >> >> >>
    >> >> >>
    >> >>
    >>
    >>>>
    -
    >> >> >> eGroups.com Home: http://www.egroups.com/group/basicstamps/
    >> >> >> http://www.egroups.com - Simplifying group communications
    >> >> >>
    >> >> >>
    >> >> >
    >> >> >
    >> >>
    >>
    >> >> >-- 20 megs of disk space in your group's Document Vault
    >> >> >-- http://www.egroups.com/docvault/basicstamps/?m=1
    >> >> >
    >> >> >
    >> >> >
    >> >>
    >> >>
    >>
    >>>
    >> >>
    >> >> eGroups.com home: http://www.egroups.com/group/basicstamps
    >> >> http://www.egroups.com - Simplifying group communications
    >> >>
    >> >>
    >> >>
    >> >>
    >> >
    >> >
    >> >
    >> >eGroups.com Home: http://www.egroups.com/group/basicstamps/
    >> >http://www.egroups.com - Simplifying group communications
    >> >
    >> >
    >> >
    >>
    >>
    >>
    >> -- Easily schedule meetings and events using the group calendar!
    >> -- http://www.egroups.com/cal?listname=basicstamps&m=1
    >>
    >>
    >
    >
    >
    >eGroups.com Home: http://www.egroups.com/group/basicstamps/
    >http://www.egroups.com - Simplifying group communications
    >
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2000-03-27 04:24
    > Do you or anyone else reading this know of any stepper motor control IC's
    > that you've had good luck with?

    I've had good luck using the L293D to drive steppers. There is a great
    article dealing with hooking up a stepper with this chip and a Basic Stamp
    at:
    http://www.seattlerobotics.org/encoder/may98/steppers.html

    The L293D has the diodes and everything in the chip. I have one of these
    chips running a stepper from a PIC16F84 and the only extra component is a
    pair of 10K pullups to keep the enable pins high as I didn't have a need to
    disable them.

    hope this helps,

    Tim
    [noparse][[/noparse]Denver, CO]
  • ArchiverArchiver Posts: 46,084
    edited 2000-03-27 05:37
    Hi Tom:

    Hey thanks a lot, I'll buy a couple L293D's too if they're not too
    expensive, I'm just hoping their data sheets are better than Allegros'.

    Mark

    Original Message
    From: Tim Goldstein <timg@k...>
    To: basicstamps@egroups.com <basicstamps@egroups.com>
    Date: Sunday, March 26, 2000 7:24 PM
    Subject: [noparse][[/noparse]basicstamps] Re: ULN2065 to BSC2


    >> Do you or anyone else reading this know of any stepper motor control IC's
    >> that you've had good luck with?
    >
    >I've had good luck using the L293D to drive steppers. There is a great
    >article dealing with hooking up a stepper with this chip and a Basic Stamp
    >at:
    >http://www.seattlerobotics.org/encoder/may98/steppers.html
    >
    >The L293D has the diodes and everything in the chip. I have one of these
    >chips running a stepper from a PIC16F84 and the only extra component is a
    >pair of 10K pullups to keep the enable pins high as I didn't have a need to
    >disable them.
    >
    >hope this helps,
    >
    >Tim
    >[noparse][[/noparse]Denver, CO]
    >
    >
    >
    >-- Check out your group's private Chat room
    >-- http://www.egroups.com/ChatPage?listName=basicstamps&m=1
    >
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2000-03-27 06:57
    To Tim:
    Thanks for the site reference. The simplicity is impressive, both hardware
    and software.

    To Mark:
    I just purchased a stepper controller chip from Elab digital engineering.
    It's an EDE1200 for unipolar steppers. I have not tried it yet. It does
    need coil drivers such as a ULN or transistors. It features:

    1) single pin coil drive-on/off control.
    2) single pin control of direction.
    3) single pin control for full or half step.
    4) single pin external pulse stepping, if desired.
    5) 3 bit speed control in self clocking mode.

    It's a PIC, so you need a resonator or crystal.

    They are at www.elabinc.com
    1 to 4 chips cost $8.30 ea. They also sell the L293D for $4 ea.

    Right now I am running a geared stepper for a model RR turntable. It's a
    low power motor running from a PIC16F84 driving 2N2219 transistors with
    suppressor diodes. Will eventually switch to a ULN2003 for drive. The
    software is an expansion of the code you are reading about in the Stamp
    manual on page 102.

    Good luck,
    Ray McArthur

    Original Message
    From: techno_masai <plunkettm@e...>
    To: <basicstamps@egroups.com>
    Sent: Sunday, March 26, 2000 11:37 PM
    Subject: [noparse][[/noparse]basicstamps] Re: ULN2065 to BSC2


    > Hi Tom:
    >
    > Hey thanks a lot, I'll buy a couple L293D's too if they're not too
    > expensive, I'm just hoping their data sheets are better than Allegros'.
    >
    > Mark
    >
    >
    Original Message
    > From: Tim Goldstein <timg@k...>
    > To: basicstamps@egroups.com <basicstamps@egroups.com>
    > Date: Sunday, March 26, 2000 7:24 PM
    > Subject: [noparse][[/noparse]basicstamps] Re: ULN2065 to BSC2
    >
    >
    > >> Do you or anyone else reading this know of any stepper motor control
    IC's
    > >> that you've had good luck with?
    > >
    > >I've had good luck using the L293D to drive steppers. There is a great
    > >article dealing with hooking up a stepper with this chip and a Basic
    Stamp
    > >at:
    > >http://www.seattlerobotics.org/encoder/may98/steppers.html
    > >
    > >The L293D has the diodes and everything in the chip. I have one of these
    > >chips running a stepper from a PIC16F84 and the only extra component is a
    > >pair of 10K pullups to keep the enable pins high as I didn't have a need
    to
    > >disable them.
    > >
    > >hope this helps,
    > >
    > >Tim
    > >[noparse][[/noparse]Denver, CO]
  • ArchiverArchiver Posts: 46,084
    edited 2000-03-28 01:08
    Try a UCN5804. Easy to use. It is from Allegro also.
    Roger

    At 06:20 PM 3/26/00 -0800, you wrote:
    >Ray:
    >
    >I'm gonna admit defeat at this point and order a couple of '2003's in the
    >morning from Digikey.
    >Just wish they had something a little more powerful with an identical pinout
    >as the '2003.
    >
    >Yep, that circuit on p99 of the Stamp book is kinda subtle. I need to hook
    >it up and get my DVM on it to see how that inverter arrangement works.
    >
    >Actually that's the kind of thing I'm trying to stay away from. Would like
    >to stick with a tinker toy approach to IC's, its great when the flyback
    >diodes, pullup resistors, load limit resistors are all built-in to the IC.
    >
    >I'm thinking about a either a 2544 or a 5804 from Allegro, but as I said
    >before their data sheets are a big turn off.
    >
    >Do you or anyone else reading this know of any stepper motor control IC's
    >that you've had good luck with?
    >
    >Thanks,
    >
    >Mark
    >
    Original Message
    >From: rjmca <rjmca@w...>
    >To: basicstamps@egroups.com <basicstamps@egroups.com>
    >Date: Sunday, March 26, 2000 11:22 AM
    >Subject: [noparse][[/noparse]basicstamps] Re: ULN2065 to BSC2
    >
    >
    >>Mark:
    >>> Somehow, this doesn't seem right.<< You are correct!
    >>
    >>I just looked at fig.1 in the stamp manual. They are using two sections of
    >>the ULN2003 as inverters. The ULN2003 has 7 drivers vs 4 for the 2065.
    >>Note that the stamp drives in2, in3, in6 and in7. Then out6 drives in1,
    >and
    >>out7 drives in4. Out 1 thru 4 then drive the stepper. Your problem is
    >that
    >>the ULN2065 only has four drivers, so you don't have the spare sections to
    >>use as inverters. This means that you will have to add your own inverters
    >to
    >>two of the '2065 inputs. You could use CMOS or 74HC types. Just follow
    >>fig.1, but add your inverters to the inputs of the drivers feeding the
    >brown
    >>and orange stepper wires. Another fix would be to modify the program so
    >>that two additional stamp pins are used to drive the '2065. These two pins
    >>would be programmed as the inverse of the first two pins.
    >>
    >>Sorry I didn't check fig.1 sooner.
    >>
    >>Ray
    >>
    >>
    >>From: techno_masai <plunkettm@e...>
    >>To: <basicstamps@egroups.com>
    >>Sent: Sunday, March 26, 2000 1:53 AM
    >>Subject: [noparse][[/noparse]basicstamps] Re: ULN2065 to BSC2
    >>
    >>
    >>> Ray:
    >>>
    >>> OK, guess I keep looking at Fig. 1 on p99 for the '2003, by stepper
    >>positive
    >>> you mean the +12v, red & grn? Then the brwn, blk, yel, org (Airpax color
    >>> code)
    >>> would be hooked up to the "C"'s?
    >>>
    >>> Somehow, this doesn't seem right.
    >>>
    >>> Apologies if this is getting tedious, guess I'm making a rather painful
    >>> transition toward the hardware end of this business. #8^o
    >>>
    >>> Thank you,
    >>>
    >>> Mark
    >>>
    >>>
    >>>
    Original Message
    >>> From: rjmca <rjmca@w...>
    >>> To: basicstamps@egroups.com <basicstamps@egroups.com>
    >>> Date: Saturday, March 25, 2000 10:38 PM
    >>> Subject: [noparse][[/noparse]basicstamps] Re: ULN2065 to BSC2
    >>>
    >>>
    >>> >Mark:
    >>> >If you look at their "simplified" circuit, there is one diode for each
    >C,
    >>> (4
    >>> >diodes), and they tied them internally together in pairs, since normally
    >>> all
    >>> >the protect diode cathodes (Ks) are tied together anyway. I would
    >>> >definitely recommend tying the 2 Ks to stepper positive, since the
    >>flyback
    >>> >can be hundreds of volts without diodes. If I recall the data sheet
    >>> >correctly, the ULN2065 can only withstand 80 volts.
    >>> >
    >>> >Regards,
    >>> >Ray
    >>> >
    >>> >
    Original Message
    >>> >From: techno_masai <plunkettm@e...>
    >>> >To: <basicstamps@egroups.com>
    >>> >Sent: Sunday, March 26, 2000 1:11 AM
    >>> >Subject: [noparse][[/noparse]basicstamps] Re: ULN2065 to BSC2
    >>> >
    >>> >
    >>> >> Thanks once again Ray, #8^]
    >>> >>
    >>> >> So now the way I figure it is that the K terminals are kinda like
    >>> optional
    >>> >> terminals you can use if you want to protect against inductive
    >flyback,
    >>> >> right?
    >>> >>
    >>> >> Trouble is there's only 2 "K"'s on this thing vs 4 "C"s.
    >>> >>
    >>> >> Thanks,
    >>> >>
    >>> >> Mark
    >>> >>
    >>> >>
    >>> >>
    >>> >> inal Message
    >>> >> From: rjmca <rjmca@w...>
    >>> >> To: basicstamps@egroups.com <basicstamps@egroups.com>
    >>> >> Date: Saturday, March 25, 2000 8:47 PM
    >>> >> Subject: [noparse][[/noparse]basicstamps] Re: ULN2065 to BSC2
    >>> >>
    >>> >>
    >>> >> >I just looked at the Allegro site and agree; they sure could give
    >more
    >>> >app
    >>> >> >notes. You are correct that the "B" s go to stamp pins, and the "C"s
    >>go
    >>> >to
    >>> >> >the stepper. The "K" terminals are protection diodes for inductive
    >>> >flyback
    >>> >> >voltage, and would go to the positive supply powering the stepper.
    >>It
    >>> >> does
    >>> >> >appear from their "simplified" schematic that current limit resistors
    >>> are
    >>> >> >internal to the chip inputs. However, I like to add some Stamp
    >>> insurance
    >>> >> >against ULN chip failure, and would still use a small resistor, like
    >>> >> 120-150
    >>> >> >ohms. I suspect the ULN has enough gain to afford this resistor.
    >>> >> >
    >>> >> >If you remember the "suppression diode" discussion on this site that
    >>> >caused
    >>> >> >much complaining, you can add a 40-50V zener between the "K"
    >terminals
    >>> >and
    >>> >> >stepper positive if the motor is too sluggish.
    >>> >> >
    >>> >> >Good luck,
    >>> >> >Ray McArthur
    >>> >> >
    >>> >> >
    Original Message
    >>> >> >From: techno_masai <plunkettm@e...>
    >>> >> >To: <basicstamps@egroups.com>
    >>> >> >Sent: Saturday, March 25, 2000 7:40 PM
    >>> >> >Subject: [noparse][[/noparse]basicstamps] ULN2065 to BSC2
    >>> >> >
    >>> >> >
    >>> >> >> Hello all:
    >>> >> >>
    >>> >> >> BSC app note#6 deals with a ULN2003 to drive a stepper, anyway I
    >>> >ordered
    >>> >> a
    >>> >> >> ULN2065 seems you can get more current out of it and it is listed
    >>> close
    >>> >> by
    >>> >> >> the 2003, but neophyte that I am didn't realize the pin out and pin
    >>> >names
    >>> >> >> are kinda different.
    >>> >> >>
    >>> >> >> So you hook the "B"'s to the stamp, and the "C"'s to the stepper
    >>> coils?
    >>> >> >> Where do the "K"s get hooked up?
    >>> >> >> Also, my reading of the Allegro data sheet suggest that I can skip
    >>the
    >>> >> >> current limit resistors between the '2065 and the BS2.
    >>> >> >>
    >>> >> >> Gosh, Allegro could really learn a lot by looking at a Burr Brown
    >>PDF
    >>> >> >> datasheet, those things are great.
    >>> >> >>
    >>> >> >> I've searched up and down the web for the primer hook up schematic
    >>but
    >>> >no
    >>> >> >> luck.
    >>> >> >>
    >>> >> >> Thanks,
    >>> >> >>
    >>> >> >> Mark
    >>> >> >>
    >>> >> >>
    >>> >>
    >>>
    >>>>>
    >-
    >>> >> >> eGroups.com Home: http://www.egroups.com/group/basicstamps/
    >>> >> >> http://www.egroups.com - Simplifying group communications
    >>> >> >>
    >>> >> >>
    >>> >> >
    >>> >> >
    >>> >>
    >>>
    >>> >> >-- 20 megs of disk space in your group's Document Vault
    >>> >> >-- http://www.egroups.com/docvault/basicstamps/?m=1
    >>> >> >
    >>> >> >
    >>> >> >
    >>> >>
    >>> >>
    >>>
    >>>>
    >>> >>
    >>> >> eGroups.com home: http://www.egroups.com/group/basicstamps
    >>> >> http://www.egroups.com - Simplifying group communications
    >>> >>
    >>> >>
    >>> >>
    >>> >>
    >>> >
    >>> >
    >>> >
    >>> >eGroups.com Home: http://www.egroups.com/group/basicstamps/
    >>> >http://www.egroups.com - Simplifying group communications
    >>> >
    >>> >
    >>> >
    >>>
    >>>
    >>>
    >>> -- Easily schedule meetings and events using the group calendar!
    >>> -- http://www.egroups.com/cal?listname=basicstamps&m=1
    >>>
    >>>
    >>
    >>
    >>
    >>eGroups.com Home: http://www.egroups.com/group/basicstamps/
    >>http://www.egroups.com - Simplifying group communications
    >>
    >>
    >>
    >
    >
    >
    >eGroups.com Home: http://www.egroups.com/group/basicstamps/
    >http://www.egroups.com - Simplifying group communications
    >
    >
    >
    >

    Roger Edberg
    rjedberg@c...
    http://www.cruzio.com/~pgraphic
Sign In or Register to comment.