Teensy 4.0 audio shield Rev D what to connect to pin 0 and ground from old phone

ninja

Member
Hi I have the following map, but not sure from phone which two I can connect to teensy to figure out hand set lifted and hand set hang up
I wanna know what to connect to Pin 0 on audio shield and GND
this is the map of the phone I have
any help is appriciated.
Screenshot 2022-06-05 081902.jpg
 
actually found it its A and L1 . Does anyone know what is the power supply i can order to have this connected to. I know is 5Volt but what kind should I order to let it run for few hours
 
CHeck the PJRC product page - IIRC the 3.3V powers the Audio board and 5V is not connected or used.
 
CHeck the PJRC product page - IIRC the 3.3V powers the Audio board and 5V is not connected or used.

Got it thank you so much. Question for you when audio is playing from Teensy board. is there any way to raise the volume ? I am playing greeting and the volume is so low its hard to hear it

Code:
 switch(mode){
    case Mode::Ready:
      // Rising edge occurs when the handset is lifted
      if (buttonRecord.risingEdge()) {
        Serial.println("Handset lifted");
        mode = Mode::Prompting;
      }
      else if(buttonPlay.fallingEdge()) {
        playAllRecordings();
      }
      break;

    case Mode::Prompting:
      // Wait a second for users to put the handset to their ear
      wait(1000);
      // Play the greeting inviting them to record their message
      playWav1.play("greeting.wav");    
      // Wait until the  message has finished playing
      while (playWav1.isPlaying()) {
        // Check whether the handset is replaced
        buttonRecord.update();
        // Handset is replaced
        if(buttonRecord.fallingEdge()) {
          playWav1.stop();
          mode = Mode::Ready;
          return;
        }
      }
      // Debug message
      Serial.println("Starting Recording");
      // Play the tone sound effect
      waveform1.frequency(440);
      waveform1.amplitude(0.9);
      wait(250);
      waveform1.amplitude(0);
      // Start the recording function
      startRecording();
      break;
 
Got it thank you so much. Question for you when audio is playing from Teensy board. is there any way to raise the volume ? I am playing greeting and the volume is so low its hard to hear it

You can use the mixer functions to change the volume.

However, I suspect the issue is the audio shield is designed for line out to be amplified before going to the speakers. When I've used it in the past, I would either use:

  • Line out using speakers with built-in amplifiers;
  • Line out using a separate amplifier (either stereo or mono); (or)
  • Speakers made for headphone jacks that include their own amplifiers.

IIRC, the headphone jack (the 3.5mm connector) has different power levels than the line out pins.

Now, I generally do things like small cosplay stuff, where I want sounds, but I don't want to blast the room. Lets see, some of the amplifiers I've bought:

 
Back
Top