Tts speaker problem

Hello, My speaker i recently got is VERY Quiet when i try to use it with the arduino Talkie TTS Libary is it a problem with the speaker and i dont have an amplifier is that the problem?

Yours Sincerely,

  • Arduino Coder

Please add code, speaker specs and schematic...
Most of us do not have a crystal ball...

The Arduino can't drive a regular 4 or 8-Ohm speaker. You are over-stressing the arduino, the voltage is dropping, and you're and not getting "full power".

You need an amplifier. Or you can use "powered" computer speakers.

The ATmega chip (Arduino Uno & Mega, etc.) is rated at 40mA "absolute maximum". From Ohm's Law, 5V at 40mA is 125 Ohms, so that's the minimum impedance (or resistance). Resistance (or impedance) is "the resistance to current flow".

Sorry, I Have listed the code below and I'm probally just going to buy an amplifier to see if that will fix it.

Code-

// Talkie library
// Copyright 2011 Peter Knight
// This code is released under GPLv2 license.

//
// A female voice with an American accent
//
// Sound is output on digital pin 3 and/or 11. It can drive headphones directly, or add a simple audio amplifier to drive a loudspeaker.

#include <Arduino.h>

#include "Talkie.h"
#include "Vocab_US_Clock.h"
#include "Vocab_Special.h"

Talkie voice;

void setup() {
    pinMode(LED_BUILTIN, OUTPUT);
    Serial.begin(115200);
#if defined(__AVR_ATmega32U4__) || defined(SERIAL_USB) || defined(SERIAL_PORT_USBVIRTUAL)  || defined(ARDUINO_attiny3217)
    delay(4000); // To be able to connect Serial monitor after reset or power up and before first print out. Do not wait for an attached Serial Monitor!
#endif
    // Just to know which program is running on my Arduino
    Serial.println(F("START " __FILE__ " from " __DATE__ "\r\nUsing library version " VERSION_TALKIE));

//    voice.doNotUseInvertedOutput();
#if defined(TEENSYDUINO)
    pinMode(5, OUTPUT);
    digitalWrite(5, HIGH); //Enable Amplified PROP shield
#endif
    voice.say(spc_GOOD);
    voice.say(spc_MORNING);
    voice.say(spPAUSE1);
    voice.say(spc_THE);
    voice.say(spc_TIME);
    voice.say(spc_IS);
    voice.say(spc_ELEVEN);
    voice.say(spc_THIRTY);
    voice.say(spc_SIX);
    voice.say(spc_A_M_);
    voice.say(spPAUSE1);
}

void loop() {
}

Yours sincerely,

  • Arduino Coder

Okay So if it get an Amplifier will it be louder and not super quiet?

would the amplifiers listed below work?

5pcs Audio Amplifier Module, 200 Times Gain 5V-12V Lm386 Audio Power Amplifier Board 4 x 1.3cm with Directly Plug-in Pin, Fits For Arduino Ek1236 L1P8 : Amazon.co.uk: Electronics & Photo

Yours sincerely,

  • Arduino Coder

Talkie uses 5V PWM to create the audio signal, and that will overload the input of an audio amplifier. You need to reduce the voltage with a resistive voltage divider, and add a low pass filter.

This is the circuit I use. You may also need a series capacitor on the output, for input to the amplifier (1 uF will work).

Capture

Is there any other simplier libarys you could use?
I'm quite new to arduino and dont knowmuch about circuits yet.

Yours sincerely,

  • Arduino Coder

Talkie is the only Arduino library I know of that can create arbitrary speech.

So is there no other libarys that make tts?
and if theres not can you explain what i would have to do to make it louder in more simple forms?

Yours sincerely,

  • Arduino Coder

There is nothing much simpler than connecting an audio amplifier.
Be brave, it is a bold new world! Lots of tutorials on line.

Ok, I Will try and do it once my amplifiers have arrived, Thank you for your time assisting me, I Will update you if I have any questions.

Yours Sincerely,

  • Arduino Coder :slight_smile:

Is there any Specific Toutorial you would suggest i use?

Adafruit has good tutorials, and this amplifier would be a good choice. See the brief demo on the product page.

If your TTS speaker is acting up, start by checking its connection and power source to make sure everything's good to go. Then, adjust the volume settings on your device to see if that helps. If the issue persists, try updating your device's software or reinstalling the TTS app to see if that fixes it.
Mic Test

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.