Shop OBEX P1 Docs P2 Docs Learn Events
Digest Number 467 — Parallax Forums

Digest Number 467

ArchiverArchiver Posts: 46,084
edited 2001-02-08 17:04 in General Discussion
How to turn on the h-bridge depends on what you want the motor to do and how
many IO lines you want to do it with. If I am correct an Hbridge sometimes
consists of 2 PNP or PMOS on the "top" and 2 NPN or NMOS transistors on the
"bottom". I have used a 74LS08 quad 2-input "AND" gate IC to control a
h-bridge. Look at the attachment to see how i did it. A0 and A1 go to the
stamp output pins. The motor only spins when A0 and A1 are different. It
will spin in either the forward or reverse direction. When A0 and A1 are
the same, the back emf from the motor acts like a brake. If you want the
motors to spin at full speed, tie the enable high. If you want to vary the
speed, set up a software controllable pulse width modulator and connect it
to the enable. Thats all. If you need more info on how this circuit works I
would be glad to include a truth table and theory of operation. Just email
me off the list. I have found this design to be very effective. I used a
mosfet h-bridge IC when I built this circuit

Good Luck,
Jim

Original Message
From: "scott stewart" <hercules_62215@y...>
To: <basicstamps@yahoogroups.com>
Sent: Thursday, February 08, 2001 12:04 PM
Subject: Re: [noparse][[/noparse]basicstamps] Digest Number 467


> ARRRRRGHGGGGG!
> can anyone point me to a site or tell me how to get my
> stamp to turn on an H-Bridge. I want to run some hobby
> motors with separate power separate batterys and want
> my stamp battery to be isolated so that i can monitor
> it...........bear in mind that i'm a 'mechanical'
> engineer. Thanks much in advance.... :]
>
> --- basicstamps@yahoogroups.com wrote:
> > There are 9 messages in this issue.
> >
> > Topics in this digest:
> >
> > 1. RE: Limiting fpx value for PAK VIII
> > From: "Al Williams" <alw@a...>
> > 2. archive?
> > From: "chris" <topher@t...>
> > 3. RF remotes?
> > From: "Ben Wampler" <bens@e...>
> > 4. Re: RF remotes?
> > From: "Webmaster@r..."
> > <breyno2@r...>
> > 5. Re: Re: Cat detector/RFID tags and more
> > From: burtsz@a...
> > 6. Re: Nintendo controller, SORRY
> > From: ross cooper <klutch66@y...>
> > 7. Re: Liquid Resistor
> > From: "Ray McArthur"
> > <rjmca@u...>
> > 8. RE: Drag/Lift Force Sensors for Wind
> > Tunnel?
> > From: "Miguel Puchol"
> > <mpuchol@w...>
> > 9. EEPROM problem
> > From: BStamp@n...
> >
> >
> >
> ________________________________________________________________________
> >
> ________________________________________________________________________
> >
> > Message: 1
> > Date: Wed, 7 Feb 2001 23:16:44 -0600
> > From: "Al Williams" <alw@a...>
> > Subject: RE: Limiting fpx value for PAK VIII
> >
> > Hi Wor,
> >
> > Why not write a single routine to set the on time
> > and test for your limit
> > values there?
> >
> > SetOnTime:
> > register=1
> > if fpx<100 or fpx>200 then xret ' use whatever
> > limits you want here
> > ' copy of FCommand
> > fpb=(register<<3) + chan
> > gosub FSendByte
> > fpb=fpx.lowbyte
> > gosub FSendByte
> > fpb=fpx.highbyte
> > goto FSendByte
> > xret:
> > return
> >
> > FCommand: ' new version of FCommand
> > if register=1 then SetOnTime ' don't allow normal
> > setting of register 1
> > fpb=(register<<3) + chan
> > gosub FSendByte
> > fpb=fpx.lowbyte
> > gosub FSendByte
> > fpb=fpx.highbyte
> > goto FSendByte
> >
> > Hope that helps.
> >
> > Al Williams
> > AWC
> > * Control 8 servos at once:
> > http://www.al-williams.com/awce/pak8.htm
> >
> >
> > >
Original Message
> > > From: wor73@y...
> > [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=MvKRR9Gw8O0QDyvAC0FFX5It93SfvQowNomTMOx-K-SNSw1XyrZOI7UfCZHIDYhN_FmMAuEE5aM]wor73@y...[/url
> > > Sent: Wednesday, February 07, 2001 11:05 PM
> > > To: basicstamps@yahoogroups.com
> > > Subject: [noparse][[/noparse]basicstamps] Limiting fpx value for PAK
> > VIII
> > >
> > >
> > > Hello,
> > >
> > > I'm having quite a problem controlling the PAK to
> > > limit the fpx value within operating range of 100
> > and
> > > 200 (1ms and 2ms). As I will be controlling
> > multiple
> > > channel, it would be easy for me to make mistake
> > in
> > > the value input which somewhat has already damaged
> > > some of my Futaba S3801 expensive gearset.
> > >
> > > Someone could direct me a safe routine for that.
> > >
> > > Thanks.
> > > wor
> > >
> > >
> > >
> >
> >
> >
> >
> ________________________________________________________________________
> >
> ________________________________________________________________________
> >
> > Message: 2
> > Date: Wed, 7 Feb 2001 21:20:53 -0800
> > From: "chris" <topher@t...>
> > Subject: archive?
> >
> > Does anyone have a collection of the postings here
> > in text format?
> >
> > I know that I can view them online at yahoogroups,
> > but I've enjoyed being
> > able to run offline searches through the text...and
> > I just lost part of my
> > email archives, including these posts.
> >
> > Any assistance would be appreciated!
> >
> > ] chris maytag - topher@t...
> > ] http://www.tangled.org
> > ] space_geek
> >
> >
> >
> >
> >
> >
> >
> ________________________________________________________________________
> >
> ________________________________________________________________________
> >
> > Message: 3
> > Date: Thu, 8 Feb 2001 00:34:21 -0500
> > From: "Ben Wampler" <bens@e...>
> > Subject: RF remotes?
> >
> > Hello,
> >
> > Anyone have any sources for 3 or 4 button wireless
> > RF remotes around the
> > size of car keyless entry remotes? I know theres a
> > project case for one in
> > the radioshack catalog, but I need the guts [noparse]:)[/noparse]
> >
> > Also, any information on interfacing it with a
> > basicstamp?
> >
> > Thanks!
> > Ben
> >
> >
> >
> >
> ________________________________________________________________________
> >
> ________________________________________________________________________
> >
> > Message: 4
> > Date: Wed, 7 Feb 2001 22:48:15 -0700
> > From: "Webmaster@r..." <breyno2@r...>
> > Subject: Re: RF remotes?
> >
> >
Original Message
> > From: "Ben Wampler" <bens@e...>
> > Subject: [noparse][[/noparse]basicstamps] RF remotes?
> >
> >
> > > Hello,
> > >
> > > Anyone have any sources for 3 or 4 button wireless
> > RF remotes around the
> > > size of car keyless entry remotes? I know theres a
> > project case for one in
> > > the radioshack catalog, but I need the guts [noparse]:)[/noparse]
> > >
> > > Also, any information on interfacing it with a
> > basicstamp?
> >
> > Hi Ben,
> >
> > Check here:
> > http://garagedoortransmitters.com/Mfgr/Remocon.html
> >
> > The Remocon 600 can be programmed to work with lots
> > of different
> > receivers, and even imitate many different encoder
> > ICs. I have tested
> > them with our RWS-434 receivers, and they work
> > excellent with very
> > decent operating range.
> >
> > If you take the TWS-434 transmitter using a Holtek
> > HT-12E encoder
> > and train the Remocon 600 to reproduce the HT-12E
> > output, and tune
> > the Remocon 600 to the same frequency, you have a
> > 4-button, hand-held
> > transmitter that works with the RWS-434 receiver
> > using
> === message truncated ===
>
>
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail - only $35
> a year! http://personal.mail.yahoo.com/
>
>

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2001-02-08 17:04
    ARRRRRGHGGGGG!
    can anyone point me to a site or tell me how to get my
    stamp to turn on an H-Bridge. I want to run some hobby
    motors with separate power separate batterys and want
    my stamp battery to be isolated so that i can monitor
    it...........bear in mind that i'm a 'mechanical'
    engineer. Thanks much in advance.... :]

    --- basicstamps@yahoogroups.com wrote:
    > There are 9 messages in this issue.
    >
    > Topics in this digest:
    >
    > 1. RE: Limiting fpx value for PAK VIII
    > From: "Al Williams" <alw@a...>
    > 2. archive?
    > From: "chris" <topher@t...>
    > 3. RF remotes?
    > From: "Ben Wampler" <bens@e...>
    > 4. Re: RF remotes?
    > From: "Webmaster@r..."
    > <breyno2@r...>
    > 5. Re: Re: Cat detector/RFID tags and more
    > From: burtsz@a...
    > 6. Re: Nintendo controller, SORRY
    > From: ross cooper <klutch66@y...>
    > 7. Re: Liquid Resistor
    > From: "Ray McArthur"
    > <rjmca@u...>
    > 8. RE: Drag/Lift Force Sensors for Wind
    > Tunnel?
    > From: "Miguel Puchol"
    > <mpuchol@w...>
    > 9. EEPROM problem
    > From: BStamp@n...
    >
    >
    >
    ________________________________________________________________________
    >
    ________________________________________________________________________
    >
    > Message: 1
    > Date: Wed, 7 Feb 2001 23:16:44 -0600
    > From: "Al Williams" <alw@a...>
    > Subject: RE: Limiting fpx value for PAK VIII
    >
    > Hi Wor,
    >
    > Why not write a single routine to set the on time
    > and test for your limit
    > values there?
    >
    > SetOnTime:
    > register=1
    > if fpx<100 or fpx>200 then xret ' use whatever
    > limits you want here
    > ' copy of FCommand
    > fpb=(register<<3) + chan
    > gosub FSendByte
    > fpb=fpx.lowbyte
    > gosub FSendByte
    > fpb=fpx.highbyte
    > goto FSendByte
    > xret:
    > return
    >
    > FCommand: ' new version of FCommand
    > if register=1 then SetOnTime ' don't allow normal
    > setting of register 1
    > fpb=(register<<3) + chan
    > gosub FSendByte
    > fpb=fpx.lowbyte
    > gosub FSendByte
    > fpb=fpx.highbyte
    > goto FSendByte
    >
    > Hope that helps.
    >
    > Al Williams
    > AWC
    > * Control 8 servos at once:
    > http://www.al-williams.com/awce/pak8.htm
    >
    >
    > >
    Original Message
    > > From: wor73@y...
    > [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=LDIRW7hGT-_Xk6tBHKGiChV_lhFvVFz8lr5dfFQpxAXcXo2OaXAAu2lbOV66ryAvKQdMbuYEABJAsRx-tw]wor73@y...[/url
    > > Sent: Wednesday, February 07, 2001 11:05 PM
    > > To: basicstamps@yahoogroups.com
    > > Subject: [noparse][[/noparse]basicstamps] Limiting fpx value for PAK
    > VIII
    > >
    > >
    > > Hello,
    > >
    > > I'm having quite a problem controlling the PAK to
    > > limit the fpx value within operating range of 100
    > and
    > > 200 (1ms and 2ms). As I will be controlling
    > multiple
    > > channel, it would be easy for me to make mistake
    > in
    > > the value input which somewhat has already damaged
    > > some of my Futaba S3801 expensive gearset.
    > >
    > > Someone could direct me a safe routine for that.
    > >
    > > Thanks.
    > > wor
    > >
    > >
    > >
    >
    >
    >
    >
    ________________________________________________________________________
    >
    ________________________________________________________________________
    >
    > Message: 2
    > Date: Wed, 7 Feb 2001 21:20:53 -0800
    > From: "chris" <topher@t...>
    > Subject: archive?
    >
    > Does anyone have a collection of the postings here
    > in text format?
    >
    > I know that I can view them online at yahoogroups,
    > but I've enjoyed being
    > able to run offline searches through the text...and
    > I just lost part of my
    > email archives, including these posts.
    >
    > Any assistance would be appreciated!
    >
    > ] chris maytag - topher@t...
    > ] http://www.tangled.org
    > ] space_geek
    >
    >
    >
    >
    >
    >
    >
    ________________________________________________________________________
    >
    ________________________________________________________________________
    >
    > Message: 3
    > Date: Thu, 8 Feb 2001 00:34:21 -0500
    > From: "Ben Wampler" <bens@e...>
    > Subject: RF remotes?
    >
    > Hello,
    >
    > Anyone have any sources for 3 or 4 button wireless
    > RF remotes around the
    > size of car keyless entry remotes? I know theres a
    > project case for one in
    > the radioshack catalog, but I need the guts [noparse]:)[/noparse]
    >
    > Also, any information on interfacing it with a
    > basicstamp?
    >
    > Thanks!
    > Ben
    >
    >
    >
    >
    ________________________________________________________________________
    >
    ________________________________________________________________________
    >
    > Message: 4
    > Date: Wed, 7 Feb 2001 22:48:15 -0700
    > From: "Webmaster@r..." <breyno2@r...>
    > Subject: Re: RF remotes?
    >
    >
    Original Message
    > From: "Ben Wampler" <bens@e...>
    > Subject: [noparse][[/noparse]basicstamps] RF remotes?
    >
    >
    > > Hello,
    > >
    > > Anyone have any sources for 3 or 4 button wireless
    > RF remotes around the
    > > size of car keyless entry remotes? I know theres a
    > project case for one in
    > > the radioshack catalog, but I need the guts [noparse]:)[/noparse]
    > >
    > > Also, any information on interfacing it with a
    > basicstamp?
    >
    > Hi Ben,
    >
    > Check here:
    > http://garagedoortransmitters.com/Mfgr/Remocon.html
    >
    > The Remocon 600 can be programmed to work with lots
    > of different
    > receivers, and even imitate many different encoder
    > ICs. I have tested
    > them with our RWS-434 receivers, and they work
    > excellent with very
    > decent operating range.
    >
    > If you take the TWS-434 transmitter using a Holtek
    > HT-12E encoder
    > and train the Remocon 600 to reproduce the HT-12E
    > output, and tune
    > the Remocon 600 to the same frequency, you have a
    > 4-button, hand-held
    > transmitter that works with the RWS-434 receiver
    > using
    === message truncated ===


    __________________________________________________
    Do You Yahoo!?
    Get personalized email addresses from Yahoo! Mail - only $35
    a year! http://personal.mail.yahoo.com/
Sign In or Register to comment.