Shop OBEX P1 Docs P2 Docs Learn Events
Tone input — Parallax Forums

Tone input

ArchiverArchiver Posts: 46,084
edited 2003-03-07 13:19 in General Discussion
Hello All,

I cooked my first stamp and need some help as their expensive :-)

I want to use a tone around 2000 Hz picked by a microphone to turn a stamp
input to "0". If some one give me a little help I would be thankful. I'm
using a BOE with a BS2.

Thanks

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2003-03-03 18:02
    Amplify the tone with an op amp. Then use a diode rectifier to charge a
    capacitor (simple half wave rectifier). Use a 5.1 V zener diode to
    ensure that the input stays inside the 0.5-V and 5.1V positive limits
    which keeps TTL circuitry happy in life. I've done this before and it
    works well. Though admitadly not all in the same circuit at the same
    time.<G> I also have a BOE.

    Original Message
    From: Bob Phillips [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=Etozwia8HBPkfvEWOWnIJweM25z68iQBP10FgA0xEI4ebf0Js4mYvtQ7h0WtUq__qTgfpBsN33LD]robertp@v...[/url
    Sent: Monday, March 03, 2003 11:03 AM
    To: basicstamps@yahoogroups.com
    Subject: Re: [noparse][[/noparse]basicstamps] Tone input



    Hello All,

    I cooked my first stamp and need some help as their expensive :-)

    I want to use a tone around 2000 Hz picked by a microphone to turn a
    stamp input to "0". If some one give me a little help I would be
    thankful. I'm using a BOE with a BS2.

    Thanks



    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/
  • ArchiverArchiver Posts: 46,084
    edited 2003-03-03 18:50
    Grover,

    Thanks for the input, (no pun).

    Why charge a capacitor ?? Other wise I'm with you.

    Bob Phillips


    > [noparse][[/noparse]Original Message]
    > From: Grover Richardson <grover.richardson@g...>
    > To: <basicstamps@yahoogroups.com>
    > Date: 3/3/2003 1:05:35 PM
    > Subject: RE: [noparse][[/noparse]basicstamps] Tone input
    >
    > Amplify the tone with an op amp. Then use a diode rectifier to charge a
    > capacitor (simple half wave rectifier). Use a 5.1 V zener diode to
    > ensure that the input stays inside the 0.5-V and 5.1V positive limits
    > which keeps TTL circuitry happy in life. I've done this before and it
    > works well. Though admitadly not all in the same circuit at the same
    > time.<G> I also have a BOE.
    >
    >
    Original Message
    > From: Bob Phillips [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=63diPbsVh-_vc67sbem8cbeNHBThSvkJNgKlxL-B81e1mWIhyeJeYM_f8DpcrjDXmy40nJdWAg]robertp@v...[/url
    > Sent: Monday, March 03, 2003 11:03 AM
    > To: basicstamps@yahoogroups.com
    > Subject: Re: [noparse][[/noparse]basicstamps] Tone input
    >
    >
    >
    > Hello All,
    >
    > I cooked my first stamp and need some help as their expensive :-)
    >
    > I want to use a tone around 2000 Hz picked by a microphone to turn a
    > stamp input to "0". If some one give me a little help I would be
    > thankful. I'm using a BOE with a BS2.
    >
    > Thanks
    >
    >
    >
    > 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/
    >
  • ArchiverArchiver Posts: 46,084
    edited 2003-03-03 18:56
    I think the capacitor acts as a filter to further smooth out the
    current from the rectifier.

    Bill

    --- In basicstamps@yahoogroups.com, "Bob Phillips" <robertp@v...>
    wrote:
    > Grover,
    >
    > Thanks for the input, (no pun).
    >
    > Why charge a capacitor ?? Other wise I'm with you.
    >
    > Bob Phillips
    >
    >
    > > [noparse][[/noparse]Original Message]
    > > From: Grover Richardson <grover.richardson@g...>
    > > To: <basicstamps@yahoogroups.com>
    > > Date: 3/3/2003 1:05:35 PM
    > > Subject: RE: [noparse][[/noparse]basicstamps] Tone input
    > >
    > > Amplify the tone with an op amp. Then use a diode rectifier to
    charge a
    > > capacitor (simple half wave rectifier). Use a 5.1 V zener diode
    to
    > > ensure that the input stays inside the 0.5-V and 5.1V positive
    limits
    > > which keeps TTL circuitry happy in life. I've done this before
    and it
    > > works well. Though admitadly not all in the same circuit at the
    same
    > > time.<G> I also have a BOE.
    > >
    > >
    Original Message
    > > From: Bob Phillips [noparse][[/noparse]mailto:robertp@v...]
    > > Sent: Monday, March 03, 2003 11:03 AM
    > > To: basicstamps@yahoogroups.com
    > > Subject: Re: [noparse][[/noparse]basicstamps] Tone input
    > >
    > >
    > >
    > > Hello All,
    > >
    > > I cooked my first stamp and need some help as their expensive :-)
    > >
    > > I want to use a tone around 2000 Hz picked by a microphone to
    turn a
    > > stamp input to "0". If some one give me a little help I would
    be
    > > thankful. I'm using a BOE with a BS2.
    > >
    > > Thanks
    > >
    > >
    > >
    > > 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/
    > >
  • ArchiverArchiver Posts: 46,084
    edited 2003-03-03 20:06
    At 11:02 AM 3/3/03 -0500, Bob Phillips wrote:

    >Hello All,
    >
    >I want to use a tone around 2000 Hz picked by a microphone to turn a stamp
    >input to "0". If some one give me a little help I would be thankful. I'm
    >using a BOE with a BS2.

    Do a search for NE567 or XR567

    These are nice little 8 pin tone decoders that work very well. I've used
    thousands of them over the years.

    dwayne

    --
    Dwayne Reid <dwayner@p...>
    Trinity Electronics Systems Ltd Edmonton, AB, CANADA
    (780) 489-3199 voice (780) 487-6397 fax

    Celebrating 19 years of Engineering Innovation (1984 - 2003)
    .-. .-. .-. .-. .-. .-. .-. .-. .-. .-
    `-' `-' `-' `-' `-' `-' `-' `-' `-'
    Do NOT send unsolicited commercial email to this email address.
    This message neither grants consent to receive unsolicited
    commercial email nor is intended to solicit commercial email.
  • ArchiverArchiver Posts: 46,084
    edited 2003-03-03 20:30
    Absolutely correct. This ensures a solid DC output from an ac signal.
    If the signal is just amplified, then squared, it is possible that the
    signal may be missed off and on due to the possibility that the signal
    may not be the desired level at the pin when the program is looking at
    the pin.

    One of the other fellas did mention a tone decoder. A more elegant
    method of doing things, but also very effective. There's more than one
    way to work out a solution many times<G>.

    Original Message
    From: billakay <billak@f...> [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=YXx1S1X0plZm1ZgquzQYyHpBTZZe2vfXWnQHZU6vVn0-zCtqu0SAf9PCeucvH2y89K8Dtso]billak@f...[/url
    Sent: Monday, March 03, 2003 1:57 PM
    To: basicstamps@yahoogroups.com
    Subject: [noparse][[/noparse]basicstamps] Re: Tone input


    I think the capacitor acts as a filter to further smooth out the
    current from the rectifier.

    Bill

    --- In basicstamps@yahoogroups.com, "Bob Phillips" <robertp@v...>
    wrote:
    > Grover,
    >
    > Thanks for the input, (no pun).
    >
    > Why charge a capacitor ?? Other wise I'm with you.
    >
    > Bob Phillips
    >
    >
    > > [noparse][[/noparse]Original Message]
    > > From: Grover Richardson <grover.richardson@g...>
    > > To: <basicstamps@yahoogroups.com>
    > > Date: 3/3/2003 1:05:35 PM
    > > Subject: RE: [noparse][[/noparse]basicstamps] Tone input
    > >
    > > Amplify the tone with an op amp. Then use a diode rectifier to
    charge a
    > > capacitor (simple half wave rectifier). Use a 5.1 V zener diode
    to
    > > ensure that the input stays inside the 0.5-V and 5.1V positive
    limits
    > > which keeps TTL circuitry happy in life. I've done this before
    and it
    > > works well. Though admitadly not all in the same circuit at the
    same
    > > time.<G> I also have a BOE.
    > >
    > >
    Original Message
    > > From: Bob Phillips [noparse][[/noparse]mailto:robertp@v...]
    > > Sent: Monday, March 03, 2003 11:03 AM
    > > To: basicstamps@yahoogroups.com
    > > Subject: Re: [noparse][[/noparse]basicstamps] Tone input
    > >
    > >
    > >
    > > Hello All,
    > >
    > > I cooked my first stamp and need some help as their expensive :-)
    > >
    > > I want to use a tone around 2000 Hz picked by a microphone to
    turn a
    > > stamp input to "0". If some one give me a little help I would
    be
    > > thankful. I'm using a BOE with a BS2.
    > >
    > > Thanks
    > >
    > >
    > >
    > > 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/
  • ArchiverArchiver Posts: 46,084
    edited 2003-03-07 13:19
    Hi All, do appreciate the help

    Whats the best op amp and configuration to use to amplifier the tone ?

    My input is .1 mVolts from the microphone. (2000 HZ)

    I have tried a 741 with little sucess, I would like to use a 12 volt dc
    supply voltage.

    If some one could point me to a web page with a circuit that I could use,
    that would really help.

    Bob

    > > Amplify the tone with an op amp. Then use a diode rectifier to charge a
    > > capacitor (simple half wave rectifier). Use a 5.1 V zener diode to
    > > ensure that the input stays inside the 0.5-V and 5.1V positive limits
    > > which keeps TTL circuitry happy in life. I've done this before and it
    > > works well. Though admitadly not all in the same circuit at the same
    > > time.<G> I also have a BOE.
    > >
    > >
    Original Message
    > > From: Bob Phillips [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=eKGDlPFnPPIEXjXNwmdoRE6FtnZore6tHwUtvsyGggctOXipa0gGnEfM1-03Tz6Iz2Md5Y6l2A]robertp@v...[/url
    > > Sent: Monday, March 03, 2003 11:03 AM
    > > To: basicstamps@yahoogroups.com
    > > Subject: Re: [noparse][[/noparse]basicstamps] Tone input
    > >
    > >
    > >
    > > Hello All,
    > >
    > > I cooked my first stamp and need some help as their expensive :-)
    > >
    > > I want to use a tone around 2000 Hz picked by a microphone to turn a
    > > stamp input to "0". If some one give me a little help I would be
    > > thankful. I'm using a BOE with a BS2.
    > >
    > > Thanks
    > >
    > >
    > >
    > > 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/
    >
Sign In or Register to comment.