Skip to main content

Questions tagged [audio]

Using an Arduino to play noise, sounds, or music. Also for questions about audio input.

Filter by
Sorted by
Tagged with
3 votes
1 answer
268 views

I am attempting to use an esp8266 to play an .mp3 audio file through a connected speaker using the 'ESP8266Audio' library. I have tested that the hardware setup is correct (e.g. I have been able to ...
Padraig Stapleton's user avatar
0 votes
1 answer
2k views

I'm trying to connect a HiLetgo PCM5102 I2S DAC to a Teensy 4.0, but I'm not getting any audio out. I have it wired as: SCK - GND BCK - BCLK1 (21) DIN - OUT1A (7) LCK - LRCLK1 (20) GND - GND VIN - +3....
Jeff Kaufman's user avatar
0 votes
1 answer
73 views

I made a simple music program using an arduino Uno and the tone() function. It works fine. I decided to build my own circuit using a barebones AVR and upload that program. I did not know exactly what ...
user1584421's user avatar
  • 1,435
0 votes
0 answers
327 views

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
0 answers
894 views

I am following the instruction to setup a microphone with an esp32 with arduino cli. Here is the tutorial https://dronebotworkshop.com/esp32-i2s/#Resources https://www.youtube.com/watch?v=m-MPBjScNRk&...
ecjb's user avatar
  • 165
4 votes
1 answer
92 views

I have been trying to get a mini microphone module with an inbuilt microphone module I got from AliExpress to my Arduino to confirm if it is working. It was a four pin microphone with pins labeled V, ...
Daniel Abayomi's user avatar
1 vote
0 answers
327 views

I have a PC speaker with it's owner power supply (no amplifier needed). It just uses a standard AUX jack. Most examples sketches use an amplifier like the MAX98357A. I have explored some libraries too,...
adamaero's user avatar
  • 198
2 votes
2 answers
323 views

I have a simple circuit that makes use of the tone() function to produce some sounds. I also have a button, hooked with an interrupt function, that whenever is pressed, a variable changes. Sometimes, ...
user1584421's user avatar
  • 1,435
-1 votes
1 answer
413 views

I have to use PWM to control some lights. I do this successfully with: analogWrite(11, 127); for a 50% PWM pulse on pin 11. Now, i also have to have tone() support on my code. When I do: tone(10, ...
user1584421's user avatar
  • 1,435
-3 votes
1 answer
141 views

I'm trying to drive a bass shaker at low frequencies, down to 20Hz, with an Arduino. Has anyone ever done something like this? I found an audio amp that takes in 3.5mm aux, and I was hoping to get a 3....
Charles L.'s user avatar
-1 votes
1 answer
135 views

I want to try out this library: https://github.com/connornishijima/arduino-volume3 I downloaded the zip file from github, renamed it, and included it as a library in the IDE. So run one of the ...
user1584421's user avatar
  • 1,435
-1 votes
2 answers
3k views

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,435
0 votes
1 answer
657 views

I tried to experiment with the tone() function that comes with the arduino library. I played around with the standard code example located here: https://www.arduino.cc/en/Tutorial/BuiltInExamples/...
user1584421's user avatar
  • 1,435
1 vote
0 answers
195 views

I am trying to convert this project https://maker.pro/arduino/projects/simple-fm-radio-receiver-with-arduino-uno-and-rda5807m to 3 touch sensors TTP223. But so far my new code don't work. Please can ...
massimo's user avatar
  • 11
1 vote
1 answer
1k views

I am building a project with Arduino Nano and the component in the subject, which, as far as I understand, can be assimilated to a DFPlayerMini (not sure if it's the same thing or it's just a cheap ...
Luca's user avatar
  • 193
1 vote
1 answer
1k views

I am trying to use the ESP8266 to output some audio, but I'm having trouble making it work. I downloaded the library ESP8266Audio and am testing one of the examples they have in the repo, namely ...
yH20's user avatar
  • 11
1 vote
0 answers
75 views

I am planning to use several Arduino to produce audio range analog signals. I need to use custom waveshapes generated on the fly. As far as I understand, there are two paths: Aquiring a DAC, but can ...
huhu roro's user avatar
1 vote
1 answer
393 views

I'm writing a MIDI - to square wave converter designed to interface between a MIDI instrument and a musical Tesla coil. Essentially, this should act like a monophonic MIDI synthesiser, but the ...
catalogue_number's user avatar
1 vote
0 answers
386 views

I'm trying to control an adafruit soundboard with my elegoo uno R3. I'm a beginner programer and I'm trying to get the soundboard to play a sound file by name when I press a button. I have confirmed ...
Eric Walier's user avatar
1 vote
0 answers
177 views

I think this is a broad question. I'm currently implementing visible light communication with Arduino. I'm using a laser as my transmitter and LDR as my receiver. I'm able to transmit a text from one ...
Zampa_frazer's user avatar
2 votes
0 answers
188 views

I have an Arduino MKR Zero with an UDA1334 I2S module, alongside 2 Speakers and I am trying to play Stereo sound. So far everything seems to work well, connections are also properly done, and i can ...
Mr. Chin's user avatar
0 votes
1 answer
721 views

The Arduino I2S reference describes the I2S standard and functions available with the standard I2S library, (Bizarrely it doesn't reference the existing read() function which is used in the examples ...
pm101's user avatar
  • 103
1 vote
0 answers
50 views

So i wanted to build a music visualizer using a MSGEQ7. As I just got started with electronics, I did some soldering beforehand and I think I am doing okish. While it might not be perfect, the contact ...
mxrdck's user avatar
  • 11
2 votes
0 answers
78 views

I'm building a device that uses two ultrasonic sensors to detect objects and provide audio feedback in the form of beeps that get faster the closer an object is. I have two speakers, one for each ...
Kaytee's user avatar
  • 21
0 votes
1 answer
518 views

I'm looking to use a MCU for audio sampling. I want to sample incoming audio and pitch shift it (without speeding it up/slowing it down). A bit about the build. I'm planning to make a circuit board ...
JTaft121's user avatar
1 vote
1 answer
761 views

I'm trying to generate some basic thumping stereo sound using Arduino's PWM pins along with low-pass filters. This is the frequency spectrum for the sound I want to play using Arduino UNO's PWM pins: ...
TheReal_Skywalker's user avatar
2 votes
1 answer
285 views

I am trying to generate stereo sound using an Arduino UNO. Instead of using a separate DAC chip (as shown here), can I use the PWM pins on the UNO along with a low-pass filter? Also, would I need any ...
TheReal_Skywalker's user avatar
1 vote
3 answers
3k views

I am looking for a way to create a true analog output with the arduino uno. I am constantly reading an analog input on a0 pin, all i want to do is send the same signal as output. I know arduino ...
eToll Systems's user avatar
1 vote
1 answer
174 views

I am looking to make a baby cry detection module that is a part of a bigger project i.e. IOT based baby monitoring system. Using AI, i have a dataset (of baby crying and not crying) to train model ...
Muhammad Waqar Anwar's user avatar
1 vote
1 answer
539 views

I am fairly new to working with sensors and Arduino. I am working on a project using Max MPS to control the volume of three audio files. There will be three framed photos, each having its own IR ...
Destiny Rodriguez's user avatar
0 votes
1 answer
758 views

I am in the process of making a talking robot and I have linked my ESP32 to a Google text-to-speech service. The service returns me a base64 8-bit audio response. I need to play this audio and I can't ...
Fernando Troya's user avatar
1 vote
1 answer
242 views

I want to detect the exact time signal from an FM radio station. The signal is transmitted in the form of 5 short pulses and one long one. My task is to determine the presence of a pulse in the audio ...
Антон's user avatar
1 vote
2 answers
2k views

Can normal buzzer be used for generating high frequency audio and if this is possible then can normal microphone module be able to detect the same frequency range(15 kHz - 20 kHz). Here is the ...
astrick's user avatar
  • 193
3 votes
0 answers
142 views

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
3 votes
3 answers
4k views

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
2 votes
1 answer
76 views

I'm wondering if it would be somehow possibly to have easy communication with a computer for Arduinos that don't have USB like the pro mini. That would make an easy way of having two-way communication ...
Karmanyaahm's user avatar
1 vote
1 answer
905 views

I have a code here, from DFmini player. I have a tactile switch. when I press it on and release it will play a sound. My question is that when I press the tactile but not release it so I want it still ...
Habib Anwari's user avatar
1 vote
1 answer
113 views

i'm not sure if this is the right address, but maybe you know about it. I currently integrate bluetooth to my car's radio using a esp32. First i wanted to insert the signal at the d2b cd player, but ...
Stack's user avatar
  • 55
1 vote
0 answers
131 views

I am experimenting with streaming audio from servers using an ESP32 and this library. I have been able to stream audio from every http server which i have tried but have had mixed success with https ...
user2105725's user avatar
1 vote
1 answer
279 views

I am attempting to play a wav file from an SD card using a Teensy 3.5. I am using this buzzer and I have the following code currently: #include <Audio.h> #include <Wire.h> #include <SPI....
STF_ZBR's user avatar
  • 111
3 votes
1 answer
509 views

I have this project where I control a bluetooth audio module with an arduino. In this case, I have used an arduino nano. But then, I have been meaning to add volume control to the project so I use a ...
shafiyyah's user avatar
0 votes
2 answers
7k views

I only started learning Arduino recently. This is my first project. So the idea for the project is that there will be an Arduino board(Ideally an Uno but I don't know if another board would be better) ...
Epicmania's user avatar
0 votes
1 answer
553 views

i'm trying to use an external flash memory Winbond 25q64jvsiq for my Arduino Nano based project for audio recording purposes, to have extra memory for recording 1 byte audio samples, since Arduino ...
DSP_engineer's user avatar
1 vote
1 answer
95 views

Problem is if I open the necklaceDoor first, nothing happens. I have to open the ringDoor first. That turns everything on. Then with the necklaceDoor open, the stepper motor will turn off and the ...
Vincent Ledbetter's user avatar
1 vote
1 answer
552 views

Okay, so I am making a jewelry box for my niece that will spin a necklace holder with a stepper motor, play an audio file and turn on LED lights. I am using an Arduino MEGA 2560. The flow is this: ...
Vincent Ledbetter's user avatar
1 vote
0 answers
181 views

I am doing a project in which I need to have a stereo audio output in Arduino MKR Zero. The quality of the audio is not important: 8 bit, 44 kHz would be enough. Is it possible to use two combined PWM ...
alessandro's user avatar
1 vote
1 answer
1k views

I need to play an intro file and one of 50 different files after it in order each time the switch is pressed, with a short delay between the intro and next file. For example let's say the intro is ...
AdamDallas's user avatar
0 votes
2 answers
1k views

I'm working on my first Arduino project and I have a sensitivity issue. I'm building a module to listen to an audio signal and to start the power source of my speaker with a relay. Everything seems ...
Alex Dupuis's user avatar
1 vote
1 answer
192 views

I am trying to make a psudo drum kit with my Arduino Due and a couple Force Sensitive Resistors (activated with my fingers, no drum sticks). So far in my testing I'm only using one FSR. I've attached ...
alexs973's user avatar
  • 111
0 votes
2 answers
3k views

For a project I'm doing I've used an ESP8266/12e, a RTC Module DS3231 and a DFplayerMini Basically it's a caller for birds and it has to play a 12-minute long MP3. The MP3 file should be played for 2 ...
Fabrizio Calderan's user avatar