Questions tagged [sound]

sound is a vibration that propagates as a typically audible mechanical wave of pressure and displacement, through a transmission medium such as air or water.

sound is a vibration that propagates as a typically audible mechanical wave of pressure and displacement, through a transmission medium such as air or water.

91 questions
14
votes
6 answers

Is there a way to play sounds from an Arduino without using a sound shield?

I would like to play a wav file (spoken words) from my Arduino. I do not want to add a sound shield. Is there a way to play a sound through an output pin? The quality does not have to be great.
Hoytman
  • 747
  • 5
  • 13
  • 27
5
votes
3 answers

How to improve response time of this sound operated LED?

I have written the following code for lighting an LED on a clap ( using sound sensor) that I have connected via a resistance of 330 OHM on pin number 4. However, when I clap once, close to the sound sensor, it does not lights the LED. But it…
Haider Ali
  • 51
  • 1
5
votes
2 answers

Does the tone() generates unwanted signal?

I was trying to use the tone function for another project but I found that it also generates an undesired frequency (not the harmonics above of square wave it generates) but a lower frq square wave. Is this normal or somethings wrong with my…
user174174
  • 189
  • 2
  • 9
4
votes
1 answer

exit status 1 error compiling for board arduino/Genuino Uno when tone code is used

I am just trying to use an ultrasonic sensor with a buzzer but the buzzer doesn't respond to my code. I mean it doesn't make any sound. I tested it to check if by sending 5 volts to it, it will make a sound.. and it did... but using this code…
4
votes
3 answers

Mini Voice Recorder for Arduino

I am trying to find a small voice recorder that I can use with my Arduino Micro, and I found this. It is exactly what I am looking for, but it is now a retired product. I googled ISD1932, but many other sites are out of stock or not selling it…
Nobody
  • 45
  • 5
4
votes
2 answers

How to connect Arduino to headphone jack?

I would like to connect a headphone jack to my Arduino and make it as an output. I mean I would simply send some simple beeps. I know that there is a breadboard friendly headphone jack, but I don't know how to wire it. I really don't know if I can…
Leah
  • 145
  • 1
  • 1
  • 9
3
votes
1 answer

How to configure I2S with ESP32 and MAX98357A to reproduce wav files?

I have configured I2S to reproduce files with an ESP32 and a MAX98357A from and SD card. The problem is that it reproduces the files way too fast, like they are sped up * 100. Here is my (simplified) code: #define I2S_DOUT 25 #define I2S_BCLK…
Joaquin
  • 51
  • 6
3
votes
3 answers

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 powerful enough to create a noise-free loud sound. Also,…
Starter
  • 153
  • 1
  • 13
3
votes
0 answers

How to build image with ultrasound sensors HC-SR04

There is a simple algorithm on Wikipedia: how to build ultrasound image. And I want to build one. Resolution and presision are of no importance, I just want to do this for the case of study - I want to make such an "image 1D+depth slice" of a 20m^2…
xakepp35
  • 133
  • 1
  • 8
3
votes
1 answer

TM1638 making high pitch sound?

I have a TM1638 board with 8 seven-segment displays, 8 LEDS, and 8 buttons. Each time multiples leds are on, the board makes an annoying high pitch sound. I'm controlling it with an Arduino Uno. Should I worry about the sound and is it normal? This…
Dat Ha
  • 2,943
  • 6
  • 24
  • 46
3
votes
3 answers

Sound Recognition

I'm looking to recognize a particular sound using arduino uno. I need to recognize a clap sequence to trigger a relay. Having given it some thought i need it to be continuous listening mode with out any trigger such as a button press. The background…
Ajay Free
  • 31
  • 3
3
votes
1 answer

Setting the frequency of a timer interrupt

The concept: Play a sine wave saved as a character array in PROGMEM through an 8-bit DAC connected to the PORTC pins on the Arduino Mega. This works: // File just defines an array and a size #include "sine440.h" int i = 0; void setup() { DDRC =…
Dave
  • 133
  • 5
3
votes
2 answers

Help Understanding FFT Analysis and analogRead()?

Here's the deal, I'm attempting to learn how to use an FFT (Fast Fourier Transformation) Library for sound analysis (link is here). My issue is that this comes with included C++ code to show users how to use the FFT library. There are three…
Scorch
  • 149
  • 1
  • 7
3
votes
2 answers

How do I use Sound Sensor LM393 + Speaker in Arduino

I have this voice sensor: I need to know how bytes pass through soundsensor into arduino and get this bytes and put out in a speaker. I read on the net a Lib PCM thats converts chars in voices, but how do I extract bytes from sound sensor in…
Radagast
  • 133
  • 1
  • 4
3
votes
1 answer

Push-Pull tone code

I wanted to use a piezo sounder to sound an alarm in an application. Testing indicated that tone() was not very loud. I could use some external circuitry to swing the pins ±5V but as I have plenty of spare pins, it seemed feasible to use 2 pins…
Milliways
  • 1,655
  • 2
  • 18
  • 29
1
2 3 4 5 6 7