Sony's Developer World forum

    • Home
    • Forum guidelines

    Upcoming maintenance 

     

    Dear Customers and Partners.

    This website will be undergoing scheduled maintenance on June 14, 2023. Please be aware there may be disruption to the developer portal website and associated services during the scheduled maintenance period.

    This upgrade is essential to ensure the continued performance, reliability, and security of Developer World.

    We apologize for any inconvenience.

     

     

    In&Out Program

    Spresense
    2
    2
    218
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    This topic has been deleted. Only users with topic management privileges can see it.
    • E
      eatbas last edited by

      Hello all,

      I'm trying to make a simple in-and-out program using port MIC-C to input my microphone. Although I built an amplification circuit to increase its loudness, I still cannot hear myself talking. I do, however, hear myself blowing to the microphone.

      The microphone I'm using is SPH1642HT5H-1, and the code I'm using for my in and out program is:

      #include <Audio.h>
      
      AudioClass *theAudio;
      
      void setup() {
        theAudio = AudioClass::getInstance();
        theAudio->begin();
        /* Setup a baseband audio path from mic input to line out */
        theAudio->setThroughMode(AudioClass::MicIn, AudioClass::None,
                                 true, 100, AS_SP_DRV_MODE_LINEOUT);
        theAudio->setVolume(50);
      }
      
      void loop() {
        /* Do nothing */
      }
      

      However, no matter what I do, I cannot get a loud enough signal where I can hear myself.

      SPH1642HT5H-1 is soldered to a PCB where the output from the microphone is directly fed into the MIC-C and MIC-C's Ground pins and to a 3.3V supply obtained from the SPRESENSE.

      Can anyone help me with this, please?

      J 1 Reply Last reply Reply Quote
      • J
        jens6151 0 1 1 @eatbas last edited by

        @eatbas
        Although I have a different microphone (link). I experienced very low input. It was better after setting the gain to max. Can you try?

        theRecorder->setMicGain(210);
        

        Otherwise please double check the instructions
        https://developer.sony.com/develop/spresense/docs/hw_docs_lte_en.html#_microphone_usage

        For analog MEMS microphones the bias pins on JP10 provide power to the MEMS microphone, connect the bias pin of JP10 to the MEMS microphones power supply pin.
        
        1 Reply Last reply Reply Quote
        • First post
          Last post
        Developer World
        Copyright © 2021 Sony Group Corporation. All rights reserved.
        • Contact us
        • Legal