element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Arduino
  • Products
  • More
Arduino
Arduino Forum Need some urgent help related to this Arduino Audio processing
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 12 replies
  • Answers 1 answer
  • Subscribers 392 subscribers
  • Views 817 views
  • Users 0 members are here
Related

Need some urgent help related to this Arduino Audio processing

Former Member
Former Member over 9 years ago

I am following this link from instructable site..

 

 

http://www.instructables.com/id/Arduino-Audio-Input/

 

My question is,

 

Instead of using the Microphone Radioshack 33-3038, which is listed in the tutorial , can I  use  https://www.sparkfun.com/products/9964,

 

KIndly suggest is there any modifications required in other parts for the circuitary If I go for Electret Microphone .

  • Sign in to reply
  • Cancel

Top Replies

  • jw0752
    jw0752 over 9 years ago +2 suggested
    Hi Raviraz, Yes there is a difference between the two microphones. The 33-3038 is a dynamic microphone which means that it is a coil of wire in a magnetic field. Sound waves vibrate the diaphragm and this…
  • Former Member
    Former Member over 9 years ago in reply to jw0752 +1
    Thanks once again John. I am pretty new bee in Arduino. My basic theme is to calculate the frequency of the sound generating from my test device",So i have chosen this instructble to help. I will try to…
Parents
  • jw0752
    0 jw0752 over 9 years ago

    Hi Raviraz,

    Yes there is a difference between the two microphones. The 33-3038 is a dynamic microphone which means that it is a coil of wire in a magnetic field. Sound waves vibrate the diaphragm and this moves the coil in the magnetic field and produces the electric signal. The Spark Fun microphone is an Electret condensor mic and it uses a different system involving a charged metal plate and a capacitive effect to convert the sound into an electric signal. The Electret also has a built in FET amplifier to amplify the electric signal to a usable level. I am sure that the Sparkfun mic will work but you will have to provide power to it from your board as it is has three wires Ground, Signal, and Power, whereas the Radio Shack Mic has only two wire Ground and Signal. Sparkfun usually has good documentation and they will likely include instruction to make the mic work with your project.

    John

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • Former Member
    0 Former Member over 9 years ago in reply to jw0752

    John, one more query,

     

    As sparkfun  Electret microphone has already inbuilt op-amp, So do I need to discard op-amp circuitry in instructable site or  just proceed with op-amp circuitry ?

     

    could you please confirm me.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • Former Member
    0 Former Member over 9 years ago in reply to jw0752

    John, one more query,

     

    As sparkfun  Electret microphone has already inbuilt op-amp, So do I need to discard op-amp circuitry in instructable site or  just proceed with op-amp circuitry ?

     

    could you please confirm me.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
  • gadget.iom
    0 gadget.iom over 9 years ago in reply to Former Member

    You shouldn't need the additional op-amp.

    The following page gives an example connection diagram 

    Electret Microphone Breakout - IPDL Seed

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • jw0752
    0 jw0752 over 9 years ago in reply to Former Member

    Hi Raviraz,

     

    Edited and Reposted as I had a mistake in the first posting.

     

     

    Sorry I couldn't get back to you sooner, I have looked at your Instructable schematic:

     

    image

     

    This is doing more than just amplifying the microphone signal. The two 100K resistors near the arduino are centering the DC bias and the 10 uF cap is removing the DC component of the output signal from the OP Amp. For your design to work these components would still be necessary. The next consideration is if the output of the Electret mic is anywhere near the output of the original Dynamic mic / op amp combination. You could hook it up and see what you get. My experience has been that the Electret with the internal Op Amp has about the same output amplitude as the Dynamic Mic on its own.. If this is true you will still need the amplification of the second OP Amp to meet the input parameters of your Arduino program.

     

    Here is the schematic of the Electret Mic from Sparkfun:

     

    image

     

    If we hook this up directly to the Arduino it will work as a microphone but without the 100K resistors and 10uF cap the signal will not be centered as required by the Arduino program. Perhaps without the second Op Amp you may not have enough signal amplitude. There are no modifications that can be made to the Electret circuit as it is internal to the Mic and must be used as designed. The Vcc for the Electret is 2.7 to 5.5 volts so you will have to go to the Arduino 5 volt tap and not use a 9 volt battery or other power source greater than 5.5 volts. Hopefully this has clarified and not confused the question.

    John

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 9 years ago in reply to jw0752

    Thank you very much for your detailed explanation.

     

    Actually as per one of the above comment I have continued to plug the electret mic to the arduino and can see some inconsistancy in output(frequency Hz) values.

     

    After seeing your recent reply I can see where I went wrong.

     

    Thanks again.

     

    As per my understanding in Instructable site, I can see two things one is amplifying and other one is DC offset, So Both amplification and DC offset circuitry have to be involved just instaed of dynamic mic I will be using Electret mic, am i correct

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • jw0752
    0 jw0752 over 9 years ago in reply to Former Member

    Yes I think your approach will work. You have gain control of the second Op Amp using the 10K variable resistor so you can adjust the amplitude to the arduino. I would also probably experiment with putting a resistor ( try 1K ) in series with the output of the Electret as it goes into the input of the 2nd Op Amp. I tried to see what the impedance of the Radio Shack 33-3038 mic is but true to form Radio Shack has very poor documentation. The Electret is probably lower output impedance than the dynamic mic would be but I'm not sure. This is a great project for a little experimentation. Please post back your results when you get it working properly.

    John

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 9 years ago in reply to jw0752

    Thanks once again John.

     

    I am pretty new bee in Arduino.

     

    My basic theme is to calculate the frequency of the sound generating from my test device",So i have chosen this  instructble to help.

     

    I will try to put the circuit up and will post you the results.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 9 years ago in reply to jw0752

    Hi John,

     

      Need your suggestion here,Can I use LM741 IC instead of TI802 IC,Could you pls clarify me, Currently I don't have TI802 IC immediately with me.

     

    Waiting for your response.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • jw0752
    0 jw0752 over 9 years ago in reply to Former Member

    Hi Raviraz,

    I think you mean TL082 J-Fet Op Amp. Here is the Data Sheet:  http://www.ti.com/lit/ds/symlink/tl082.pdf

    The LM 741 (Here is the Data sheet):  http://www.ti.com/lit/ds/symlink/lm741.pdf  is a more general purpose BJT transistor Op Amp but for your application it should work just fine. Even the pinouts are the same and the voltages match OK. Give it a try as it can't hurt anything.

    John

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 9 years ago in reply to jw0752

    Hi John,

     

      I have builded the circuit with LM741 opamp, and Can see values in serial as -1Hz always, not sure why it is happening, any help pls.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • jw0752
    0 jw0752 over 9 years ago in reply to Former Member

    If you have some way to check the input to the Arduino with a meter do so. We need to verify that the amplifier is working. If you have a signal generator you could also put an artificial signal into the Arduino to see if it is processing the input properly. Lacking this you can post your schematic and code so it can be looked at on the forum. If we are going to get help from some of the arduino coding experts they will need a clear explanation of what the code is suppose to do.

    John

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube