Questions tagged [speaker]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
17 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 ...
0
votes
0answers
30 views

I need to change a library to output on pin 3 instead of pin 11(It involves PWM and timers on the arduino)

I read into how the timers on the Arduino work, and I know that pin 3 is OC2B and pin 11 is OC2A. I tried to understand the datasheet and changed the code a bit, but nothing I did worked. This is the ...
0
votes
1answer
36 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
0answers
42 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 ...
0
votes
1answer
59 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
2answers
202 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 ...
0
votes
1answer
54 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
1answer
47 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 ...
1
vote
1answer
76 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 ...
0
votes
0answers
47 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 ...
0
votes
1answer
564 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
votes
2answers
169 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/
0
votes
0answers
95 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
1answer
126 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
1answer
367 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
2answers
3k 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
1answer
712 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
2answers
923 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 ...
2
votes
0answers
450 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
1answer
599 views

Speaker distortion [closed]

The problem I have is there is a lot of white noise / distortion that comes through the speaker and you can't hear the .Wav properly. If I wire it with out the amp it's fine, just really quiet and ...
1
vote
1answer
735 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 ...
0
votes
1answer
228 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 ...
1
vote
1answer
557 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
3answers
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" //...
0
votes
2answers
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
2answers
159 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
vote
2answers
4k 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 ...
3
votes
4answers
10k 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
1answer
796 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 ...
1
vote
0answers
147 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
1answer
677 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
vote
1answer
547 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 ...
0
votes
2answers
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
0answers
60 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 (...