Shop OBEX P1 Docs P2 Docs Learn Events
MIC and BS-II — Parallax Forums

MIC and BS-II

ArchiverArchiver Posts: 46,084
edited 2000-10-05 17:43 in General Discussion
How does one sense sound using BS-II using a mic and lm386 (or better) ? Please help with any ideas!!!

Thx
Jack

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2000-10-04 22:08
    RE-POSTING!!

    How does one sense sound using BS-II using a mic and lm386 (or
    better) ? Please help with any ideas!!!


    If you have better ideas, please suggest - I'm new to BS-II and
    electronics.



    Thx a lot
    Jack
  • ArchiverArchiver Posts: 46,084
    edited 2000-10-05 01:37
    Yes, I'm interested in the best schemo for simple sound detection.
    -William

    Original Message
    From: <support@c...>
    To: <basicstamps@egroups.com>
    Sent: Wednesday, October 04, 2000 5:08 PM
    Subject: [noparse][[/noparse]basicstamps] MIC and BS-II


    > RE-POSTING!!
    >
    > How does one sense sound using BS-II using a mic and lm386 (or
    > better) ? Please help with any ideas!!!
    >
    >
    > If you have better ideas, please suggest - I'm new to BS-II and
    > electronics.
    >
    >
    >
    > Thx a lot
    > Jack
    >
    >
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2000-10-05 14:22
    One other thing, since my robot has wheels, the sound from the servos
    could interfere with the sound detection. I'm not sure how to filter
    that off. Your ideas are needed here.

    thx
    Jack

    --- In basicstamps@egroups.com, "William Cox" <william@c...> wrote:
    > Yes, I'm interested in the best schemo for simple sound detection.
    > -William
    >
    >
    Original Message
    > From: <support@c...>
    > To: <basicstamps@egroups.com>
    > Sent: Wednesday, October 04, 2000 5:08 PM
    > Subject: [noparse][[/noparse]basicstamps] MIC and BS-II
    >
    >
    > > RE-POSTING!!
    > >
    > > How does one sense sound using BS-II using a mic and lm386 (or
    > > better) ? Please help with any ideas!!!
    > >
    > >
    > > If you have better ideas, please suggest - I'm new to BS-II and
    > > electronics.
    > >
    > >
    > >
    > > Thx a lot
    > > Jack
    > >
    > >
    > >
    > >
  • ArchiverArchiver Posts: 46,084
    edited 2000-10-05 14:46
    I was thinking that I could stop for a second every few cycles, check
    sound and proceed. This might be a good idea. I know that Nagi's
    ALIBE (miniature autonomous robot) does this too. In his application,
    it was okay to pause every few cycles to detect. It might be okay
    with my application as well...

    Your ideas might give me another perspective...

    thx
    Jack

    --- In basicstamps@egroups.com, "Jack Olson" <support@c...> wrote:
    > One other thing, since my robot has wheels, the sound from the
    servos
    > could interfere with the sound detection. I'm not sure how to
    filter
    > that off. Your ideas are needed here.
    >
    > thx
    > Jack
    >
    > --- In basicstamps@egroups.com, "William Cox" <william@c...> wrote:
    > > Yes, I'm interested in the best schemo for simple sound detection.
    > > -William
    > >
    > >
    Original Message
    > > From: <support@c...>
    > > To: <basicstamps@egroups.com>
    > > Sent: Wednesday, October 04, 2000 5:08 PM
    > > Subject: [noparse][[/noparse]basicstamps] MIC and BS-II
    > >
    > >
    > > > RE-POSTING!!
    > > >
    > > > How does one sense sound using BS-II using a mic and lm386 (or
    > > > better) ? Please help with any ideas!!!
    > > >
    > > >
    > > > If you have better ideas, please suggest - I'm new to BS-II and
    > > > electronics.
    > > >
    > > >
    > > >
    > > > Thx a lot
    > > > Jack
    > > >
    > > >
    > > >
    > > >
  • ArchiverArchiver Posts: 46,084
    edited 2000-10-05 14:57
    At 10/5/2000 +0000 01:46 PM, you wrote:
    >I was thinking that I could stop for a second every few cycles, check
    >sound and proceed. This might be a good idea. I know that Nagi's
    >ALIBE (miniature autonomous robot) does this too. In his application,
    >it was okay to pause every few cycles to detect. It might be okay
    >with my application as well...

    Depending upon your "power plant" and/or energy source, you may find that -
    1) you have to, or 2) it is more desirable than you imagine at the moment.
    By way of example, Alkaline batteries do REAL well, when given a chance to
    recuperate. Steady current drain is NOT in their best interest
    - recharagable or not.

    Just my 2 cents

    Bruce Bates

    >Your ideas might give me another perspective...
    >
    >thx
    >Jack
    >
    >--- In basicstamps@egroups.com, "Jack Olson" <support@c...> wrote:
    > > One other thing, since my robot has wheels, the sound from the
    >servos
    > > could interfere with the sound detection. I'm not sure how to
    >filter
    > > that off. Your ideas are needed here.
    > >
    > > thx
    > > Jack
    > >
    > > --- In basicstamps@egroups.com, "William Cox" <william@c...> wrote:
    > > > Yes, I'm interested in the best schemo for simple sound detection.
    > > > -William
    > > >
    > > >
    Original Message
    > > > From: <support@c...>
    > > > To: <basicstamps@egroups.com>
    > > > Sent: Wednesday, October 04, 2000 5:08 PM
    > > > Subject: [noparse][[/noparse]basicstamps] MIC and BS-II
    > > >
    > > >
    > > > > RE-POSTING!!
    > > > >
    > > > > How does one sense sound using BS-II using a mic and lm386 (or
    > > > > better) ? Please help with any ideas!!!
    > > > >
    > > > >
    > > > > If you have better ideas, please suggest - I'm new to BS-II and
    > > > > electronics.
    > > > >
    > > > >
    > > > >
    > > > > Thx a lot
    > > > > Jack
    > > > >
    > > > >
    > > > >
    > > > >
  • ArchiverArchiver Posts: 46,084
    edited 2000-10-05 15:30
    Thank you. How should I go about detecting sound. Please advise.

    Jack



    --- In basicstamps@egroups.com, Bruce Bates <bvbates@u...> wrote:
    > At 10/5/2000 +0000 01:46 PM, you wrote:
    > >I was thinking that I could stop for a second every few cycles,
    check
    > >sound and proceed. This might be a good idea. I know that Nagi's
    > >ALIBE (miniature autonomous robot) does this too. In his
    application,
    > >it was okay to pause every few cycles to detect. It might be okay
    > >with my application as well...
    >
    > Depending upon your "power plant" and/or energy source, you may
    find that -
    > 1) you have to, or 2) it is more desirable than you imagine at the
    moment.
    > By way of example, Alkaline batteries do REAL well, when given a
    chance to
    > recuperate. Steady current drain is NOT in their best interest
    > - recharagable or not.
    >
    > Just my 2 cents
    >
    > Bruce Bates
    >
    > >Your ideas might give me another perspective...
    > >
    > >thx
    > >Jack
    > >
    > >--- In basicstamps@egroups.com, "Jack Olson" <support@c...> wrote:
    > > > One other thing, since my robot has wheels, the sound from the
    > >servos
    > > > could interfere with the sound detection. I'm not sure how to
    > >filter
    > > > that off. Your ideas are needed here.
    > > >
    > > > thx
    > > > Jack
    > > >
    > > > --- In basicstamps@egroups.com, "William Cox" <william@c...>
    wrote:
    > > > > Yes, I'm interested in the best schemo for simple sound
    detection.
    > > > > -William
    > > > >
    > > > >
    Original Message
    > > > > From: <support@c...>
    > > > > To: <basicstamps@egroups.com>
    > > > > Sent: Wednesday, October 04, 2000 5:08 PM
    > > > > Subject: [noparse][[/noparse]basicstamps] MIC and BS-II
    > > > >
    > > > >
    > > > > > RE-POSTING!!
    > > > > >
    > > > > > How does one sense sound using BS-II using a mic and lm386
    (or
    > > > > > better) ? Please help with any ideas!!!
    > > > > >
    > > > > >
    > > > > > If you have better ideas, please suggest - I'm new to BS-II
    and
    > > > > > electronics.
    > > > > >
    > > > > >
    > > > > >
    > > > > > Thx a lot
    > > > > > Jack
    > > > > >
    > > > > >
    > > > > >
    > > > > >
  • ArchiverArchiver Posts: 46,084
    edited 2000-10-05 17:33
    RE: [noparse][[/noparse]basicstamps] Re: MIC and BS-II

    Hi Jack,

    This is what I did.

    I used a LM386 Op-Amp (Audio amp) and IC. Hooked them up as per the data sheet. The MIC connects to the Non-Inverting input Pin3 on the LM. The output from the LM is off of the pin5 that can be hooked up with the BS2's pin and checked for hi when sound is detected.

    Now, this will basically tell you whether there is sound or not. If you want to check the level of sound, one must use ADC chip to figure that out I think.

    Hope this helps

    P.S:
    I'm new to BS2 and electronics too. I get help and info from all the gurus who participate in this newsgroup forum and also from the tech support guys at parallax.



    nagi





    Original Message

    From: Jack Olson [noparse]/noparse][url=mailto:BS2Newbie@crosscity.com]mailto:BS2Newbie@crosscity.com[/url
    Sent: Thursday, October 05, 2000 9:30 AM
    To: basicstamps@egroups.com
    Subject: [noparse][[/noparse]basicstamps] Re: MIC and BS-II


    Thank you. How should I go about detecting sound. Please advise.

    Jack



    --- In basicstamps@egroups.com, Bruce Bates <bvbates@u...> wrote:
    > At 10/5/2000 +0000 01:46 PM, you wrote:
    > >I was thinking that I could stop for a second every few cycles,
    check
    > >sound and proceed. This might be a good idea. I know that Nagi's
    > >ALIBE (miniature autonomous robot) does this too. In his
    application,
    > >it was okay to pause every few cycles to detect. It might be okay
    > >with my application as well...
    >
    > Depending upon your "power plant" and/or energy source, you may
    find that -
    > 1) you have to, or 2) it is more desirable than you imagine at the
    moment.
    > By way of example, Alkaline batteries do REAL well, when given a
    chance to
    > recuperate. Steady current drain is NOT in their best interest
    > -· recharagable or not.
    >
    > Just my 2 cents
    >
    > Bruce Bates
    >
    > >Your ideas might give me another perspective...
    > >
    > >thx
    > >Jack
    > >
    > >--- In basicstamps@egroups.com, "Jack Olson" <support@c...> wrote:
    > > > One other thing, since my robot has wheels, the sound from the
    > >servos
    > > > could interfere with the sound detection. I'm not sure how to
    > >filter
    > > > that off. Your ideas are needed here.
    > > >
    > > > thx
    > > > Jack
    > > >
    > > > --- In basicstamps@egroups.com, "William Cox" <william@c...>
    wrote:
    > > > > Yes, I'm interested in the best schemo for simple sound
    detection.
    > > > > -William
    > > > >
    > > > >
    Original Message

    > > > > From: <support@c...>
    > > > > To: <basicstamps@egroups.com>
    > > > > Sent: Wednesday, October 04, 2000 5:08 PM
    > > > > Subject: [noparse][[/noparse]basicstamps] MIC and BS-II
    > > > >
    > > > >
    > > > > > RE-POSTING!!
    > > > > >
    > > > > > How does one sense sound using BS-II using a mic and lm386
    (or
    > > > > > better) ? Please help with any ideas!!!
    > > > > >
    > > > > >
    > > > > > If you have better ideas, please suggest - I'm new to BS-II
    and
    > > > > > electronics.
    > > > > >
    > > > > >
    > > > > >
    > > > > > Thx a lot
    > > > > > Jack
    > > > > >
    > > > > >
    > > > > >
    > > > > >
  • ArchiverArchiver Posts: 46,084
    edited 2000-10-05 17:41
    RE: [noparse][[/noparse]basicstamps] Re: MIC and BS-II

    Hey Jack,

    had a typo error

    Read this line
    ······· ······· "I used a LM386 Op-Amp (Audio amp) and IC."
    AS

    ······· ······· "I used a LM386 Op-Amp (Audio amp) and PCB mountable MIC from radio shack"


    thanks



    nagi


    Original Message

    From: Babu, Nagi -*Contractor
    Sent: Thursday, October 05, 2000 11:33 AM
    To: 'basicstamps@egroups.com'
    Subject: RE: [noparse][[/noparse]basicstamps] Re: MIC and BS-II


    Hi Jack,

    This is what I did.

    I used a LM386 Op-Amp (Audio amp) and IC. Hooked them up as per the data sheet. The MIC connects to the Non-Inverting input Pin3 on the LM. The output from the LM is off of the pin5 that can be hooked up with the BS2's pin and checked for hi when sound is detected.

    Now, this will basically tell you whether there is sound or not. If you want to check the level of sound, one must use ADC chip to figure that out I think.

    Hope this helps

    P.S:
    I'm new to BS2 and electronics too. I get help and info from all the gurus who participate in this newsgroup forum and also from the tech support guys at parallax.



    nagi





    Original Message

    From: Jack Olson [noparse]/noparse][url=mailto:BS2Newbie@crosscity.com]mailto:BS2Newbie@crosscity.com[/url
    Sent: Thursday, October 05, 2000 9:30 AM
    To: basicstamps@egroups.com
    Subject: [noparse][[/noparse]basicstamps] Re: MIC and BS-II


    Thank you. How should I go about detecting sound. Please advise.

    Jack



    --- In basicstamps@egroups.com, Bruce Bates <bvbates@u...> wrote:
    > At 10/5/2000 +0000 01:46 PM, you wrote:
    > >I was thinking that I could stop for a second every few cycles,
    check
    > >sound and proceed. This might be a good idea. I know that Nagi's
    > >ALIBE (miniature autonomous robot) does this too. In his
    application,
    > >it was okay to pause every few cycles to detect. It might be okay
    > >with my application as well...
    >
    > Depending upon your "power plant" and/or energy source, you may
    find that -
    > 1) you have to, or 2) it is more desirable than you imagine at the
    moment.
    > By way of example, Alkaline batteries do REAL well, when given a
    chance to
    > recuperate. Steady current drain is NOT in their best interest
    > -· recharagable or not.
    >
    > Just my 2 cents
    >
    > Bruce Bates
    >
    > >Your ideas might give me another perspective...
    > >
    > >thx
    > >Jack
    > >
    > >--- In basicstamps@egroups.com, "Jack Olson" <support@c...> wrote:
    > > > One other thing, since my robot has wheels, the sound from the
    > >servos
    > > > could interfere with the sound detection. I'm not sure how to
    > >filter
    > > > that off. Your ideas are needed here.
    > > >
    > > > thx
    > > > Jack
    > > >
    > > > --- In basicstamps@egroups.com, "William Cox" <william@c...>
    wrote:
    > > > > Yes, I'm interested in the best schemo for simple sound
    detection.
    > > > > -William
    > > > >
    > > > >
    Original Message

    > > > > From: <support@c...>
    > > > > To: <basicstamps@egroups.com>
    > > > > Sent: Wednesday, October 04, 2000 5:08 PM
    > > > > Subject: [noparse][[/noparse]basicstamps] MIC and BS-II
    > > > >
    > > > >
    > > > > > RE-POSTING!!
    > > > > >
    > > > > > How does one sense sound using BS-II using a mic and lm386
    (or
    > > > > > better) ? Please help with any ideas!!!
    > > > > >
    > > > > >
    > > > > > If you have better ideas, please suggest - I'm new to BS-II
    and
    > > > > > electronics.
    > > > > >
    > > > > >
    > > > > >
    > > > > > Thx a lot
    > > > > > Jack
    > > > > >
    > > > > >
    > > > > >
    > > > > >
  • ArchiverArchiver Posts: 46,084
    edited 2000-10-05 17:43
    Re: MIC and BS-II

    REPOSTING - due to server error. Please ignore if already received - thanks



    Hey Jack,

    had a typo error

    Read this line
    ······· ······· "I used a LM386 Op-Amp (Audio amp) and IC."
    AS

    ······· ······· "I used a LM386 Op-Amp (Audio amp) and PCB mountable MIC from radio shack"


    thanks



    nagi




    Original Message

    From: Babu, Nagi -*Contractor
    Sent: Thursday, October 05, 2000 11:33 AM
    To: 'basicstamps@egroups.com'
    Subject: RE: [noparse][[/noparse]basicstamps] Re: MIC and BS-II


    Hi Jack,

    This is what I did.

    I used a LM386 Op-Amp (Audio amp) and IC. Hooked them up as per the data sheet. The MIC connects to the Non-Inverting input Pin3 on the LM. The output from the LM is off of the pin5 that can be hooked up with the BS2's pin and checked for hi when sound is detected.

    Now, this will basically tell you whether there is sound or not. If you want to check the level of sound, one must use ADC chip to figure that out I think.

    Hope this helps

    P.S:
    I'm new to BS2 and electronics too. I get help and info from all the gurus who participate in this newsgroup forum and also from the tech support guys at parallax.



    nagi





    Original Message

    From: Jack Olson [noparse]/noparse][url=mailto:BS2Newbie@crosscity.com]mailto:BS2Newbie@crosscity.com[/url
    Sent: Thursday, October 05, 2000 9:30 AM
    To: basicstamps@egroups.com
    Subject: [noparse][[/noparse]basicstamps] Re: MIC and BS-II


    Thank you. How should I go about detecting sound. Please advise.

    Jack



    --- In basicstamps@egroups.com, Bruce Bates <bvbates@u...> wrote:
    > At 10/5/2000 +0000 01:46 PM, you wrote:
    > >I was thinking that I could stop for a second every few cycles,
    check
    > >sound and proceed. This might be a good idea. I know that Nagi's
    > >ALIBE (miniature autonomous robot) does this too. In his
    application,
    > >it was okay to pause every few cycles to detect. It might be okay
    > >with my application as well...
    >
    > Depending upon your "power plant" and/or energy source, you may
    find that -
    > 1) you have to, or 2) it is more desirable than you imagine at the
    moment.
    > By way of example, Alkaline batteries do REAL well, when given a
    chance to
    > recuperate. Steady current drain is NOT in their best interest
    > -· recharagable or not.
    >
    > Just my 2 cents
    >
    > Bruce Bates
    >
    > >Your ideas might give me another perspective...
    > >
    > >thx
    > >Jack
    > >
    > >--- In basicstamps@egroups.com, "Jack Olson" <support@c...> wrote:
    > > > One other thing, since my robot has wheels, the sound from the
    > >servos
    > > > could interfere with the sound detection. I'm not sure how to
    > >filter
    > > > that off. Your ideas are needed here.
    > > >
    > > > thx
    > > > Jack
    > > >
    > > > --- In basicstamps@egroups.com, "William Cox" <william@c...>
    wrote:
    > > > > Yes, I'm interested in the best schemo for simple sound
    detection.
    > > > > -William
    > > > >
    > > > >
    Original Message

    > > > > From: <support@c...>
    > > > > To: <basicstamps@egroups.com>
    > > > > Sent: Wednesday, October 04, 2000 5:08 PM
    > > > > Subject: [noparse][[/noparse]basicstamps] MIC and BS-II
    > > > >
    > > > >
    > > > > > RE-POSTING!!
    > > > > >
    > > > > > How does one sense sound using BS-II using a mic and lm386
    (or
    > > > > > better) ? Please help with any ideas!!!
    > > > > >
    > > > > >
    > > > > > If you have better ideas, please suggest - I'm new to BS-II
    and
    > > > > > electronics.
    > > > > >
    > > > > >
    > > > > >
    > > > > > Thx a lot
    > > > > > Jack
    > > > > >
    > > > > >
    > > > > >
    > > > > >
Sign In or Register to comment.