Two Questions...
HELP!
Hi Everybody,
I need your help with a BS2 project. I have two(maybe three)
strobes that I'd like to digitally trigger alternately. When a positive
pulse arrives, I'd like the first strobe to fire, on the next pulse I'd
like the second to fire and on the next pulse, fire the first strobe again
- just alternate back and forth between strobes. I thought that this would
be simple enough to do using a flip-flop, but all the circuits and
information that I find don't quite fit this situation and I've never used
flip-flops before which doesn't help. There are so many different
types. I'M SURE THAT I'M MAKING THIS MUCH MORE COMPLICATED THAN IT NEEDS
TO BE!! How would you go about it?
Also, I have a photo emitter/detector pair that I'd like to get a
nice square signal out of, instead of the varying voltage dependant upon
the reflection that it sees. Is this an application for a schmitt trigger?
Please help a rookie learn.
Thanks,
Tim
Timothy Medema
CrystaLite, Incorporated
3307 Cedar St. (425) 745-6000 800-666-6065
Everett, WA 98201 Fax: (425) 257-0232
www.crystaliteinc.com
<mailto:timm@c...>timm@c...
The information transmitted is intended only for the person or entity to
whom it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you received
this in error, please contact the sender and delete the material from any
computer.
Hi Everybody,
I need your help with a BS2 project. I have two(maybe three)
strobes that I'd like to digitally trigger alternately. When a positive
pulse arrives, I'd like the first strobe to fire, on the next pulse I'd
like the second to fire and on the next pulse, fire the first strobe again
- just alternate back and forth between strobes. I thought that this would
be simple enough to do using a flip-flop, but all the circuits and
information that I find don't quite fit this situation and I've never used
flip-flops before which doesn't help. There are so many different
types. I'M SURE THAT I'M MAKING THIS MUCH MORE COMPLICATED THAN IT NEEDS
TO BE!! How would you go about it?
Also, I have a photo emitter/detector pair that I'd like to get a
nice square signal out of, instead of the varying voltage dependant upon
the reflection that it sees. Is this an application for a schmitt trigger?
Please help a rookie learn.
Thanks,
Tim
Timothy Medema
CrystaLite, Incorporated
3307 Cedar St. (425) 745-6000 800-666-6065
Everett, WA 98201 Fax: (425) 257-0232
www.crystaliteinc.com
<mailto:timm@c...>timm@c...
The information transmitted is intended only for the person or entity to
whom it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you received
this in error, please contact the sender and delete the material from any
computer.
Comments
switches for you.
There is a flashing LED program on the Parallax site that can help you set
the correct pins
to high and low.
Timothy Medema <timm@c...> on 09/09/2002 04:03:59 PM
Please respond to basicstamps@yahoogroups.com
To: basicstamps@yahoogroups.com
cc:
Subject: [noparse][[/noparse]basicstamps] Two Questions...
HELP!
Hi Everybody,
I need your help with a BS2 project. I have two(maybe three)
strobes that I'd like to digitally trigger alternately. When a positive
pulse arrives, I'd like the first strobe to fire, on the next pulse I'd
like the second to fire and on the next pulse, fire the first strobe again
- just alternate back and forth between strobes. I thought that this would
be simple enough to do using a flip-flop, but all the circuits and
information that I find don't quite fit this situation and I've never used
flip-flops before which doesn't help. There are so many different
types. I'M SURE THAT I'M MAKING THIS MUCH MORE COMPLICATED THAN IT NEEDS
TO BE!! How would you go about it?
Also, I have a photo emitter/detector pair that I'd like to get a
nice square signal out of, instead of the varying voltage dependant upon
the reflection that it sees. Is this an application for a schmitt trigger?
Please help a rookie learn.
Thanks,
Tim
Timothy Medema
CrystaLite, Incorporated
3307 Cedar St. (425) 745-6000 800-666-6065
Everett, WA 98201 Fax: (425) 257-0232
www.crystaliteinc.com
<mailto:timm@c...>timm@c...
The information transmitted is intended only for the person or entity to
whom it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you received
this in error, please contact the sender and delete the material from any
computer.
To UNSUBSCRIBE, just send mail to:
basicstamps-unsubscribe@yahoogroups.com
from the same email address that you subscribed. Text in the Subject and
Body of the message will be ignored.
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
through the BS2, rather it's a sub-circuit with the trigger logic pulse
train coming into it.
Tim
At 04:17 PM 9/9/2002 -0500, you wrote:
>I would personally use 2 pnp MOSFET's that would behave like digital
>switches for you.
>There is a flashing LED program on the Parallax site that can help you set
>the correct pins
>to high and low.
>
>
>
>
>
>
>
>Timothy Medema <timm@c...> on 09/09/2002 04:03:59 PM
>
>Please respond to basicstamps@yahoogroups.com
>
>To: basicstamps@yahoogroups.com
>cc:
>
>Subject: [noparse][[/noparse]basicstamps] Two Questions...
>
>
>
>HELP!
>
>Hi Everybody,
>
> I need your help with a BS2 project. I have two(maybe three)
>strobes that I'd like to digitally trigger alternately. When a positive
>pulse arrives, I'd like the first strobe to fire, on the next pulse I'd
>like the second to fire and on the next pulse, fire the first strobe again
>- just alternate back and forth between strobes. I thought that this would
>be simple enough to do using a flip-flop, but all the circuits and
>information that I find don't quite fit this situation and I've never used
>flip-flops before which doesn't help. There are so many different
>types. I'M SURE THAT I'M MAKING THIS MUCH MORE COMPLICATED THAN IT NEEDS
>TO BE!! How would you go about it?
>
> Also, I have a photo emitter/detector pair that I'd like to get a
>nice square signal out of, instead of the varying voltage dependant upon
>the reflection that it sees. Is this an application for a schmitt trigger?
>
>Please help a rookie learn.
>
>Thanks,
>
>Tim
>
>
>Timothy Medema
>CrystaLite, Incorporated
>3307 Cedar St. (425) 745-6000 800-666-6065
>Everett, WA 98201 Fax: (425) 257-0232
>
>www.crystaliteinc.com
><mailto:timm@c...>timm@c...
>
>
>The information transmitted is intended only for the person or entity to
>whom it is addressed and may contain confidential and/or privileged
>material. Any review, retransmission, dissemination or other use of, or
>taking of any action in reliance upon, this information by persons or
>entities other than the intended recipient is prohibited. If you received
>this in error, please contact the sender and delete the material from any
>computer.
>
>
>To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
>from the same email address that you subscribed. Text in the Subject and
>Body of the message will be ignored.
>
>
>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>
>
>
>
>
>
>
>To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
>from the same email address that you subscribed. Text in the Subject and
>Body of the message will be ignored.
>
>
>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
can send them a high or low signal.
Timothy Medema <timm@c...> on 09/09/2002 04:34:39 PM
Please respond to basicstamps@yahoogroups.com
To: basicstamps@yahoogroups.com
cc:
Subject: Re: [noparse][[/noparse]basicstamps] Two Questions...
Thanks for the information, but I'm not controlling the strobes directly
through the BS2, rather it's a sub-circuit with the trigger logic pulse
train coming into it.
Tim
At 04:17 PM 9/9/2002 -0500, you wrote:
>I would personally use 2 pnp MOSFET's that would behave like digital
>switches for you.
>There is a flashing LED program on the Parallax site that can help you set
>the correct pins
>to high and low.
>
>
>
>
>
>
>
>Timothy Medema <timm@c...> on 09/09/2002 04:03:59 PM
>
>Please respond to basicstamps@yahoogroups.com
>
>To: basicstamps@yahoogroups.com
>cc:
>
>Subject: [noparse][[/noparse]basicstamps] Two Questions...
>
>
>
>HELP!
>
>Hi Everybody,
>
> I need your help with a BS2 project. I have two(maybe three)
>strobes that I'd like to digitally trigger alternately. When a positive
>pulse arrives, I'd like the first strobe to fire, on the next pulse I'd
>like the second to fire and on the next pulse, fire the first strobe again
>- just alternate back and forth between strobes. I thought that this
would
>be simple enough to do using a flip-flop, but all the circuits and
>information that I find don't quite fit this situation and I've never used
>flip-flops before which doesn't help. There are so many different
>types. I'M SURE THAT I'M MAKING THIS MUCH MORE COMPLICATED THAN IT NEEDS
>TO BE!! How would you go about it?
>
> Also, I have a photo emitter/detector pair that I'd like to get
a
>nice square signal out of, instead of the varying voltage dependant upon
>the reflection that it sees. Is this an application for a schmitt
trigger?
>
>Please help a rookie learn.
>
>Thanks,
>
>Tim
>
>
>Timothy Medema
>CrystaLite, Incorporated
>3307 Cedar St. (425) 745-6000 800-666-6065
>Everett, WA 98201 Fax: (425) 257-0232
>
>www.crystaliteinc.com
><mailto:timm@c...>timm@c...
>
>
>The information transmitted is intended only for the person or entity to
>whom it is addressed and may contain confidential and/or privileged
>material. Any review, retransmission, dissemination or other use of, or
>taking of any action in reliance upon, this information by persons or
>entities other than the intended recipient is prohibited. If you received
>this in error, please contact the sender and delete the material from any
>computer.
>
>
>To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
>from the same email address that you subscribed. Text in the Subject and
>Body of the message will be ignored.
>
>
>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>
>
>
>
>
>
>
>To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
>from the same email address that you subscribed. Text in the Subject and
>Body of the message will be ignored.
>
>
>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
To UNSUBSCRIBE, just send mail to:
basicstamps-unsubscribe@yahoogroups.com
from the same email address that you subscribed. Text in the Subject and
Body of the message will be ignored.
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Thank you very much - I'll take a look,
Tim
At 04:53 PM 9/9/2002 -0500, you wrote:
>Using two mosfets will still work with any kind of circuit as long as you
>can send them a high or low signal.
>
>
>
>
>
>Timothy Medema <timm@c...> on 09/09/2002 04:34:39 PM
>
>Please respond to basicstamps@yahoogroups.com
>
>To: basicstamps@yahoogroups.com
>cc:
>
>Subject: Re: [noparse][[/noparse]basicstamps] Two Questions...
>
>
>
>Thanks for the information, but I'm not controlling the strobes directly
>through the BS2, rather it's a sub-circuit with the trigger logic pulse
>train coming into it.
>
>Tim
>
>At 04:17 PM 9/9/2002 -0500, you wrote:
>
>
> >I would personally use 2 pnp MOSFET's that would behave like digital
> >switches for you.
> >There is a flashing LED program on the Parallax site that can help you set
> >the correct pins
> >to high and low.
> >
> >
> >
> >
> >
> >
> >
> >Timothy Medema <timm@c...> on 09/09/2002 04:03:59 PM
> >
> >Please respond to basicstamps@yahoogroups.com
> >
> >To: basicstamps@yahoogroups.com
> >cc:
> >
> >Subject: [noparse][[/noparse]basicstamps] Two Questions...
> >
> >
> >
> >HELP!
> >
> >Hi Everybody,
> >
> > I need your help with a BS2 project. I have two(maybe three)
> >strobes that I'd like to digitally trigger alternately. When a positive
> >pulse arrives, I'd like the first strobe to fire, on the next pulse I'd
> >like the second to fire and on the next pulse, fire the first strobe again
> >- just alternate back and forth between strobes. I thought that this
>would
> >be simple enough to do using a flip-flop, but all the circuits and
> >information that I find don't quite fit this situation and I've never used
> >flip-flops before which doesn't help. There are so many different
> >types. I'M SURE THAT I'M MAKING THIS MUCH MORE COMPLICATED THAN IT NEEDS
> >TO BE!! How would you go about it?
> >
> > Also, I have a photo emitter/detector pair that I'd like to get
>a
> >nice square signal out of, instead of the varying voltage dependant upon
> >the reflection that it sees. Is this an application for a schmitt
>trigger?
> >
> >Please help a rookie learn.
> >
> >Thanks,
> >
> >Tim
> >
> >
> >Timothy Medema
> >CrystaLite, Incorporated
> >3307 Cedar St. (425) 745-6000 800-666-6065
> >Everett, WA 98201 Fax: (425) 257-0232
> >
> >www.crystaliteinc.com
> ><mailto:timm@c...>timm@c...
> >
> >
> >The information transmitted is intended only for the person or entity to
> >whom it is addressed and may contain confidential and/or privileged
> >material. Any review, retransmission, dissemination or other use of, or
> >taking of any action in reliance upon, this information by persons or
> >entities other than the intended recipient is prohibited. If you received
> >this in error, please contact the sender and delete the material from any
> >computer.
> >
> >
> >To UNSUBSCRIBE, just send mail to:
> > basicstamps-unsubscribe@yahoogroups.com
> >from the same email address that you subscribed. Text in the Subject and
> >Body of the message will be ignored.
> >
> >
> >Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >To UNSUBSCRIBE, just send mail to:
> > basicstamps-unsubscribe@yahoogroups.com
> >from the same email address that you subscribed. Text in the Subject and
> >Body of the message will be ignored.
> >
> >
> >Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
>from the same email address that you subscribed. Text in the Subject and
>Body of the message will be ignored.
>
>
>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>
>
>
>
>
>
>
>To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
>from the same email address that you subscribed. Text in the Subject and
>Body of the message will be ignored.
>
>
>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
mode:
Tie pins J and K High, your trigger goes to the CLK input.
The outputs Q and Q-not will alternate high with each clock pulse.
A simple one is the 74LS73 which is a dual J-K, though not sure if it
is positive or negtive triggered. Also, you'll need to tie the Clear
pin to the non-clear state.
As far as cleaning your IR output, you can use simple op-amp, such as
the LM358. Configure in a comparator mode where the - or inverting
input is the middle of your voltage swing, and your signal enters the
+ or non-inverting input. This will give you a clean TTL out.
Our Industrial Control text from Parallax has a chapter on signal
conditioning just what you are talking about.
http://www.stampsinclass.com/html_files/sic_curr/curriculum_industrial
.asp
Good luck!
Martin Hebel
BASIC Stamp Tutorial on-line at:
http://imsinet.casa.siu.edu/bs2_tutorial/
Southern Illinois University
Electronic Systems Technology
--- In basicstamps@y..., Timothy Medema <timm@c...> wrote:
>
> HELP!
>
> Hi Everybody,
>
> I need your help with a BS2 project. I have two(maybe
three)
> strobes that I'd like to digitally trigger alternately. When a
positive
> pulse arrives, I'd like the first strobe to fire, on the next pulse
I'd
> like the second to fire and on the next pulse, fire the first
strobe again
> - just alternate back and forth between strobes. I thought that
this would
> be simple enough to do using a flip-flop, but all the circuits and
> information that I find don't quite fit this situation and I've
never used
> flip-flops before which doesn't help. There are so many different
> types. I'M SURE THAT I'M MAKING THIS MUCH MORE COMPLICATED THAN IT
NEEDS
> TO BE!! How would you go about it?
>
> Also, I have a photo emitter/detector pair that I'd like
to get a
> nice square signal out of, instead of the varying voltage dependant
upon
> the reflection that it sees. Is this an application for a schmitt
trigger?
>
> Please help a rookie learn.
>
> Thanks,
>
> Tim
>
>
> Timothy Medema
> CrystaLite, Incorporated
> 3307 Cedar St. (425) 745-6000 800-666-6065
> Everett, WA 98201 Fax: (425) 257-0232
>
> www.crystaliteinc.com
> <mailto:timm@c...>timm@c...
>
>
> The information transmitted is intended only for the person or
entity to
> whom it is addressed and may contain confidential and/or privileged
> material. Any review, retransmission, dissemination or other use
of, or
> taking of any action in reliance upon, this information by persons
or
> entities other than the intended recipient is prohibited. If you
received
> this in error, please contact the sender and delete the material
from any
> computer.
On Tuesday, September 10, 2002, at 01:44 PM, Martin Hebel wrote:
> ...
>
> A simple one is the 74LS73 which is a dual J-K, though not sure if it
> is positive or negtive triggered. Also, you'll need to tie the Clear
> pin to the non-clear state.
>
> ...
so easy.
Very much appreciated,
Tim
At 06:44 PM 9/10/2002 +0000, you wrote:
>As far as Flip-Flops, you can use a simple J-K Flip flop in toggle
>mode:
>
>Tie pins J and K High, your trigger goes to the CLK input.
>
>The outputs Q and Q-not will alternate high with each clock pulse.
>
>A simple one is the 74LS73 which is a dual J-K, though not sure if it
>is positive or negtive triggered. Also, you'll need to tie the Clear
>pin to the non-clear state.
>
>As far as cleaning your IR output, you can use simple op-amp, such as
>the LM358. Configure in a comparator mode where the - or inverting
>input is the middle of your voltage swing, and your signal enters the
>+ or non-inverting input. This will give you a clean TTL out.
>
>Our Industrial Control text from Parallax has a chapter on signal
>conditioning just what you are talking about.
>
>http://www.stampsinclass.com/html_files/sic_curr/curriculum_industrial
>.asp
>
>Good luck!
>Martin Hebel
>
>BASIC Stamp Tutorial on-line at:
>http://imsinet.casa.siu.edu/bs2_tutorial/
>
>Southern Illinois University
>Electronic Systems Technology
>
>
>
>--- In basicstamps@y..., Timothy Medema <timm@c...> wrote:
> >
> > HELP!
> >
> > Hi Everybody,
> >
> > I need your help with a BS2 project. I have two(maybe
>three)
> > strobes that I'd like to digitally trigger alternately. When a
>positive
> > pulse arrives, I'd like the first strobe to fire, on the next pulse
>I'd
> > like the second to fire and on the next pulse, fire the first
>strobe again
> > - just alternate back and forth between strobes. I thought that
>this would
> > be simple enough to do using a flip-flop, but all the circuits and
> > information that I find don't quite fit this situation and I've
>never used
> > flip-flops before which doesn't help. There are so many different
> > types. I'M SURE THAT I'M MAKING THIS MUCH MORE COMPLICATED THAN IT
>NEEDS
> > TO BE!! How would you go about it?
> >
> > Also, I have a photo emitter/detector pair that I'd like
>to get a
> > nice square signal out of, instead of the varying voltage dependant
>upon
> > the reflection that it sees. Is this an application for a schmitt
>trigger?
> >
> > Please help a rookie learn.
> >
> > Thanks,
> >
> > Tim
> >
> >
> > Timothy Medema
> > CrystaLite, Incorporated
> > 3307 Cedar St. (425) 745-6000 800-666-6065
> > Everett, WA 98201 Fax: (425) 257-0232
> >
> > www.crystaliteinc.com
> > <mailto:timm@c...>timm@c...
> >
> >
> > The information transmitted is intended only for the person or
>entity to
> > whom it is addressed and may contain confidential and/or privileged
> > material. Any review, retransmission, dissemination or other use
>of, or
> > taking of any action in reliance upon, this information by persons
>or
> > entities other than the intended recipient is prohibited. If you
>received
> > this in error, please contact the sender and delete the material
>from any
> > computer.
>
>
>To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
>from the same email address that you subscribed. Text in the Subject and
>Body of the message will be ignored.
>
>
>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/