Questions tagged [speaker]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-1 votes
2 answers
101 views

Perform Volume Control on arduino speaker

I am following this guide to produce tones with the arduino: https://www.arduino.cc/en/Tutorial/BuiltInExamples/toneMelody This uses the tone() builtin function. The connections is that one pin of the ...
  • 1,297
2 votes
2 answers
91 views

IRremote and PCM sound libraries interfering

I have a simple sketch which sends IR codes, plays a sound and toggles an LED when you press a button and toggles another LED when it receives that code. The idea is that I have two Arduinos with this ...
  • 63
0 votes
1 answer
140 views

Conflicting pins between the PCM library and speaker and the NRF24L01

The PCM library uses pin 11 and the NRF24L01 also uses pin 11. I am using an Arduino nano, and don't know if there is any way to change the pins of either the speaker or the transceiver. https://...
3 votes
0 answers
80 views

Keypad - Speaker - Interference

I am trying to build a system, that plays specific audios (.wav files) from a SD-Card, according to the key combination that has been pressed. I am using: 4x4 Membrane 4 Ohm Speaker MicroSD Card ...
  • 31
0 votes
1 answer
305 views

The PCM libary won't work on an Arduino Nano

I'm using the PCM(http://highlowtech.org/?p=1963) library on the Arduino nano, I'm plugging the speaker(https://www.amazon.com/gp/product/B07WZP4QFK/ref=ox_sc_act_title_3?smid=A2O4FZXIRZDLHA&psc=1)...
3 votes
2 answers
1k views

How to get rid of low quality sound out from DFPlayer plus amplifier?

I use my Seeeduino V4, DFPlayer mini, and this speaker module from AliExpress to create an automatic doorbell. The problem is that it seems that this speaker module's Yurobot amplifier is not ...
  • 153
0 votes
1 answer
87 views

I am looking into putting sound files onto an Arduino Nano without a microSD card [closed]

I figured out how to install the sound onto the card from this site https://github.com/charliegerard/dev-notes/blob/master/arduino/wavFilesWithoutSdCard.md It says I need to use pin 11 on the Uno but ...
0 votes
1 answer
95 views

How to use an Arduino Speaker module with DFPlayer Mini?

I've bought an Arduino speaker module. How should I connect the module, if I want to use it with DFPlayer Mini? The problem is that the speaker module has 3 pins: GND, VCC, and IN; though the DFPlayer ...
  • 153
1 vote
1 answer
168 views

can i use bluetooth from a speaker as a bluetooth module?

i have a Bluetooth speakers that i don't want,and i was wondering if i can use its Bluetooth as a Bluetooth module to use it with Arduino. if so how what pins should i use. here is a pin diagram for ...
  • 23
0 votes
0 answers
72 views

Speaker & Piezo when beeping both cause CapacitiveSense to sense

I am using this speaker: CUI part number CSS-I4B20-SMT-TR as an alarm on a clock using atmega328 chip and Arduino IDE with the tone function. Works great. I am also using Arduino CapacitiveSensor.h ...
  • 41
0 votes
1 answer
2k views

Sound quality is poor using a piezo in TinkerCad

I did a quick search and couldn't seem to find this question posted already, but I'm sure it must have so forgive me if it's a repeat. I'm using a piezo and Arduino on TinkerCad to produce notes ...
  • 1
-1 votes
2 answers
444 views

Hooking Up 8 ohm Speaker to Arduino

Is this a correct way to connect an 8 ohm beaker to an Arduino? https://www.c-sharpcorner.com/article/audio-play-using-sd-card-module-and-arduino/
  • 99
1 vote
0 answers
177 views

Arduino Mega Speaker can't play music but noise

I'm struggling that my Arduino doesn't play music. Here is my circuit. It proforms normally when I only connect this circuit to Arduino UNO. But when I change the whole circuit to Arduino Mega the ...
0 votes
1 answer
288 views

Getting an Arduino Uno and MKR zero to communicate

I'm very new to Arduino and especially the forum so please let me know if I am on the wrong topic or anything. Anyways let me get straight to the point. I am working on a school project where I need ...
0 votes
1 answer
621 views

Why am only hearing noise or no sound?

Alright, there is something missing in the question, I was able to hear one sound of the files and the others apply to the question I asked and that is why I am wondering. what is happening! Here is ...
0 votes
2 answers
4k views

Arduino - Playing WAV files with a buzzer

I have developed an Arduino program that plays a WAV file from the SD card using a speaker. This is the circuit schematic The sketch I'm using is based on TMRpcm library and PWM output #include <...
0 votes
1 answer
985 views

How to increase the volume in speaker using talkie library in arduino uno...?

What else should I add to this code to increase the volume..?? #include "talkie.h" Talkie voice; const int8_t speech[] PROGMEM= {0x00,0x00,0x00,0x08,0xd8,0x39,0x54,0x00,0xa7,0xa6,0x32,0xe0, 0x04,...
0 votes
2 answers
1k views

Why does Arduino Tone example with 8 ohm speaker make USB port fail?

I'm using an Arduino Nano and attempting to run the basic sample program at: https://www.arduino.cc/en/Tutorial/toneMelody When I build the circuit they way they show (extremely simple) using an 8 ...
  • 384
2 votes
0 answers
625 views

Connecting RCA audio cables to Arduino

I'm working on a project which needs better audio quality than just a piezo buzzer, so I went out and bought a pair of used cheap speakers for $3. It turns out that they have RCA audio inputs rather ...
1 vote
1 answer
972 views

Portal gun sound effects and lights

I'm building a portal gun from the game Portal and I'm struggling with the wiring for the lights and sound. I've the lights working using the first image from Instructables and adding more LEDs ...
  • 15
0 votes
1 answer
274 views

How to loop a specific tone?

I am building a security system, and found the following code #define NOOT_B0 31 #define NOOT_C1 33 #define NOOT_D1 37 #define NOOT_E1 41 #define NOOT_F1 44 #define NOOT_G1 49 #define NOOT_A1 ...
  • 23
1 vote
1 answer
715 views

Is it possible to read-write the memory of a Gikfun ISD1820 voice recording module?

I just got a Gikfun ISD1820 voice recording module for an Arduino project that I'm working on. I want to be able to record a few seconds message and then send the message over wifi to another Arduino ...
1 vote
3 answers
1k views

LEDs not working with tone() function

I have a strange issue. I have 3 LEDs, each is supposed to beep with a correlated tone... Imagine the beginning of a racing game (beeping with traffic lights). Here's my code: #include "pitches.h" //...
  • 13
0 votes
2 answers
1k views

PCM audio, PROGMEM sounds through speaker, multiple clips (using speaker_pcm)

I downloaded the PCM Audio speaker_pcm (see link below) and it worked easily with the supplied Mac startup chime. I also got my own sounds parsed properly via a combination of sox and wav2c ...
0 votes
2 answers
184 views

Arduino open door (outdoor) tonemelody

My problem lies in the fact that I can not stop the "void loop" function and more accurately "StatInDoor". I have to make sure that the "ButtonOpenDoor" works independently of "ButtonCall". If someone ...
  • 1
1 vote
2 answers
5k views

8Ω speaker, what resistor values to use?

I want to connect 2 speakers of 8 ohm to 2 (different) pins of the Arduino. However, for this example one speaker is enough. I came across a lot of circuits without or with a single resistor which on ...
4 votes
4 answers
12k views

Transistor amplifier to drive speaker using Arduino PWM [closed]

I have been working on a project lately which uses Arduino to play a wav file from SD card. I am using TMRPCM library which made the job very easy. But the problem is that the output sound in the ...
0 votes
1 answer
903 views

Making the speaker play a certain frequency of sound

I'm trying to make the piezo speaker play a sound of certain frequency. However, although I think the code is fine, the sound plays with a frequency between 130 ~160 only, and the frequency actually ...
  • 59
1 vote
0 answers
160 views

Arduino serial controlled tone generator only working with single digit ints?

I'm writing a small program for my arduino which allows me to send two int values over serial to be interpreted. The first is a frequency Hz value and the second is a a length milsec value. The code ...
0 votes
1 answer
715 views

Playing WAV file from Arduino Uno using Ethernet R3 Shield

I'm trying to start a project where I have a 6 sec recording (wav file: 8 bit, 8 or 16 kHz, mono) on a micro-SD card and want to play it through my Arduino Uno on an 8 Ohm, 0.1 W speaker. I've looked ...
  • 1
1 vote
1 answer
661 views

Using an Arduino for a Diorama Controller

Kind of new to the whole DIY electronics scene. I'm building a diorama for my son. It will include a length of track, a station, some other buildings, and scenery. It will be HO scale. The ...
  • 135
0 votes
2 answers
2k views

What speaker can you drive with output pin?

I'm wondering how to drive a speaker using an arduino output pin. I am using a pwm playback method with a sound data file. If you wire a speaker across an output pin and ground then how do you ...
2 votes
0 answers
69 views

Esplora: Connecting a 2-Wire Speaker to Arduino Esplora

I am currently trying to make a simple game system with my Arduino Esplora, however I have noticed something. The Arduino Esplora has no pins for a 2-pin speaker that I get from a RadioShack store (...
  • 170