Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [speaker]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
25 views

Unable to play audio on ESP32 speaker that receives audio from phone via Bluetooth

I have the following code that I am using to receive audio from phone via Bluetooth Classic and sending it to the internal DAC of the ESP32 which is connected to headphones. When I run this code on ...
Shweta Kiran's user avatar
0 votes
1 answer
76 views

Interfacing 8 ohm speaker ouput with ESP32

I'm trying to use an ISD1820 recording module with the ESP32, except I want to store the recordings and send them over Wifi rather than playing them back. The ISD1820 has an output for an 8-ohm ...
user89016's user avatar
2 votes
1 answer
327 views

D1 mini ESP8266 no sound on speaker

I am new to Arduino and microcontrollers, I want to make a tone with my D1 mini and a LSM-50F speaker. But I don't get any output. Any idea what I am doing wrong? Tested it with two D1 mini boards. ...
Louis Eiden's user avatar
0 votes
0 answers
122 views

Raspberry pi pico I2S work on byte by byte transfer but not on buffer read writes

I'm using a raspberry pi pico W and testing audio loopback (microphone to speaker in a loop) using INMP441 microphone and MAX98357 amp board. Followed functions from this page https://arduino-pico....
Allahjane's user avatar
  • 101
1 vote
1 answer
74 views

Transmitting voice via VLC

The project I'm working on: Short-Range Coded Visible Light Communication System. Visible Light Communication (VLC) systems use light to transfer data between transmitter and receiver over short-range ...
Hussain's user avatar
  • 21
-1 votes
2 answers
2k 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 ...
user1584421's user avatar
  • 1,405
2 votes
2 answers
204 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 ...
Patrick's user avatar
  • 63
0 votes
1 answer
263 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://...
Epicmania's user avatar
3 votes
0 answers
116 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 ...
D_0's user avatar
  • 31
0 votes
1 answer
742 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)...
Epicmania's user avatar
3 votes
3 answers
3k 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 ...
Starter's user avatar
  • 153
0 votes
1 answer
127 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 ...
Epicmania's user avatar
0 votes
1 answer
198 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 ...
Starter's user avatar
  • 153
1 vote
1 answer
363 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 ...
Zohary's user avatar
  • 23
0 votes
0 answers
76 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 ...
RickH's user avatar
  • 41
0 votes
1 answer
3k 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 ...
Mike's user avatar
  • 1
-1 votes
2 answers
1k 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/
ChemDev's user avatar
  • 99
1 vote
0 answers
265 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 ...
Harry Sung's user avatar
0 votes
1 answer
416 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 ...
Tucker Epp's user avatar
0 votes
1 answer
840 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 ...
Noajm IsMy Name's user avatar
1 vote
2 answers
5k 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 <...
Amine Messaoudi's user avatar
0 votes
1 answer
1k 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,...
user49463's user avatar
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 ...
raddevus's user avatar
  • 432
2 votes
0 answers
965 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 ...
David Liao's user avatar
1 vote
1 answer
1k 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 ...
Moby1's user avatar
  • 15
0 votes
1 answer
325 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 ...
Dave's user avatar
  • 23
1 vote
1 answer
948 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 ...
garrettlew's user avatar
1 vote
3 answers
2k 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" //...
Tyler's user avatar
  • 13
0 votes
2 answers
2k 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 ...
Pete Zelchenko's user avatar
0 votes
2 answers
205 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 ...
zuczek's user avatar
  • 1
1 vote
2 answers
6k 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 ...
Michel Keijzers's user avatar
4 votes
4 answers
13k 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 ...
Frank Donald's user avatar
0 votes
1 answer
1k 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 ...
Daniel's user avatar
  • 59
1 vote
0 answers
182 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 ...
DevelopedLogic's user avatar
0 votes
1 answer
775 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 ...
smigs's user avatar
  • 1
1 vote
1 answer
762 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 ...
EL MOJO's user avatar
  • 135
0 votes
2 answers
3k 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 ...
perigalacticon's user avatar
2 votes
0 answers
70 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 (...
Cowboy433's user avatar
  • 170