ESP32 audio to Bluetooth / DIY speaker example Arduino

  Рет қаралды 28,996

AFYU

AFYU

Күн бұрын

Sound reproduction using ESP32 via Bluetooth. The Arduino IDE bluetooth example requires only an esp32 board and speakers. #ESP32 audio output - you can create multichannel audio on GPIO25 and GPIO26.
Project navigation:
00:00 Introduction
00:17 What is needed for the project
00:37 Connection diagram
00:53 Connecting speakers to Esp32
02:50 Esp32 programming using Arduino IDE
03:21 Bluetooth connection ESP32
03:39 Sound test
04:09 Conclusions
It is easy to assemble a DIY bluetooth speaker
The video uses the ESP32-A2DP library for the Arduino IDE #esp32project github.com/pschatzmann/ESP32-...
#AFYU channel about Internet of Things. You can find an overview and tutorial of sensors to various microcontrollers on this channel. Work with such devices: ESP32, ESP8266, STM32, Raspberry Pi, Arduino microcontrollers. Programming in Arduino IDE, PlatformIO IDE. Here you can learn how to assemble DIY smart home devices.
Channel author Yuriy Afanasiev
Music:
World War Outerspace - Audio Hertz
Mission to Mars - Audio Hertz

Пікірлер: 51
@neoncraft_
@neoncraft_ Жыл бұрын
dude, you dont know how you helped me a lot... i was killing myself 2 weeks dont knowing how to use that library + i DIDNT KNOW that esp32 had DAC pins that can play music... i wanna thank you with my whole heart, you are my hero
@sumitluitel7836
@sumitluitel7836 4 ай бұрын
hey did you try this? Did this work?
@neoncraft_
@neoncraft_ 4 ай бұрын
@@sumitluitel7836 yes, it works perfectly fine
@BarnaclesBailey
@BarnaclesBailey 7 ай бұрын
Many thanks for the AWESOME demo video! Simple and to the point, was a great help to understand how it all pieces together :) Going to watch your video that integrates the MAX98357 next!
@user-sv5hr4fq1d
@user-sv5hr4fq1d 29 күн бұрын
can you tell me why I can’t find main in the code from github
@user-sv5hr4fq1d
@user-sv5hr4fq1d 29 күн бұрын
U found it?
@waka7377
@waka7377 3 күн бұрын
creo que te falta poner un capacitor a la salida de cada DAC para filtrar la parte continua y además amplificar la señal al menos con un transistor para no quemar la esp32
@AleksandrIvin
@AleksandrIvin Жыл бұрын
Nice demonstration! Have you also try any other ways to make sound louder?
@afyu
@afyu Жыл бұрын
Used a board with an amplifier for sound output MAX98357
@joshuagardiner9096
@joshuagardiner9096 5 ай бұрын
I am using ESP32 c6 and it doesn't seem to work...
@user-js1im6kc4m
@user-js1im6kc4m Жыл бұрын
Nice video😆
@fantasystudios5628
@fantasystudios5628 Ай бұрын
hey dude . can you please provide the code for this i can't get it right . please provide it . please
@DollarJonny
@DollarJonny 10 ай бұрын
То самое чуdство когда назвал провода wires кабелями cables в видео об электронике , не понимая в чем разница =)
@janekkomorowski9046
@janekkomorowski9046 3 ай бұрын
Hi, do you know how to resolve error: 'i2s_config_t' does not name a type? I am using the example you showed but this is what i get
@JehadurRE
@JehadurRE Ай бұрын
did you fixed it ?
@VelmuruganG-dr3yd
@VelmuruganG-dr3yd Жыл бұрын
Can we hear 8d music with this if I connect and old headphones speakers to it
@afyu
@afyu Жыл бұрын
a lot of noise in the sound and a weak signal that will not let you shake the headphones
@ayrusproductions9872
@ayrusproductions9872 25 күн бұрын
can i give output to the amplfier for better sound and is there any noise like humming or something
@afyu
@afyu 25 күн бұрын
You can connect an amplifier. But I think the noise will remain
@mradulbhardwaj3147
@mradulbhardwaj3147 Жыл бұрын
How to Serial communicate along with Bluetooth speaker ??
@mradulbhardwaj3147
@mradulbhardwaj3147 Жыл бұрын
Kindly reply ?
@user-sv5hr4fq1d
@user-sv5hr4fq1d 29 күн бұрын
Where in ur code main?
@OmegaINDcreates
@OmegaINDcreates 9 күн бұрын
How would I increase the quality of the audio so I avoid that awkward buzz found in your testing?
@afyu
@afyu 9 күн бұрын
It is better to use output via I2S. There's no noise.
@TheOldKid
@TheOldKid Ай бұрын
I must have gremlins. I have downloaded more stuff trying to do this and I keep getting no file exist for audiotools and the bluetooth. I must be doing/did something wrong somewhere
@TheOldKid
@TheOldKid Ай бұрын
Got it to upload. Looks like code has changed a little. No doubt it's on my end but my esp is visible to my phone but won't connect.
@SJCB21
@SJCB21 11 ай бұрын
Can you somehow add startup sound? Modify power off sound?
@afyu
@afyu 11 ай бұрын
you can add a buzzer summen or play a short music file from memory
@SJCB21
@SJCB21 11 ай бұрын
@@afyu how
@xdon6549
@xdon6549 Жыл бұрын
is it possible to also use nodemcu ?
@afyu
@afyu Жыл бұрын
yes nodemcu esp32
@tonymitmakaroni527
@tonymitmakaroni527 Ай бұрын
Is it possible to increase the volume, its very silent. Very cool video!
@afyu
@afyu Ай бұрын
Increase the volume only by using an additional amplifier
@syedmohamadadil3848
@syedmohamadadil3848 9 ай бұрын
Hello, is the song played from the phone?
@afyu
@afyu 9 ай бұрын
esp32 is connected via Bluetooth to a smartphone. The sound itself is from esp32.
@syedmohamadadil3848
@syedmohamadadil3848 9 ай бұрын
Yes, but is the phone the source of the song?
@PoorPlyser
@PoorPlyser 8 ай бұрын
​@@syedmohamadadil3848 The songs he used are at the bottom of the description.
@PoorPlyser
@PoorPlyser 8 ай бұрын
​@@syedmohamadadil3848oh, nvm. He connected via bluetooth from the phone to the esp32. But chose the song from the phone
@mehteshwarsinghgabbi4946
@mehteshwarsinghgabbi4946 Жыл бұрын
Hello brother I saw full video on esp mcu based Bluetooth speaker I want to install google assistant and Alexa code in my esp mcu can you help me in installing google assistant and Alexa voice commands and code in esp32 based mcu and make a video step by step on youtube
@afyu
@afyu Жыл бұрын
I do not plan to shoot such a topic at the moment. It may be useful on this topic www.arduino.cc/pro/software-speech-recognition-engine/
@didierdurand7334
@didierdurand7334 11 ай бұрын
Connect a speaker directory on gpio is a stupidity
@pascayogamohammadihshongif5190
@pascayogamohammadihshongif5190 Жыл бұрын
can this bluetooth connect to laptop?
@afyu
@afyu Жыл бұрын
yes you can connect
@K.O.W
@K.O.W 3 ай бұрын
Can you leave a link to the code?!?!
@afyu
@afyu 3 ай бұрын
github.com/pschatzmann/ESP32-A2DP
@emran.e
@emran.e 8 ай бұрын
please make a vidio wifi audio receiver & transmitter for 5.1 sarrainodu sound
@Marc_Wolfe
@Marc_Wolfe 5 ай бұрын
tHAT GITHUB LINK IS CLUTTERED GARBAGE.
@afyu
@afyu 5 ай бұрын
Everything is fine github.com/pschatzmann/ESP32-A2DP
@Marc_Wolfe
@Marc_Wolfe 5 ай бұрын
Arduino begs to differ. # error "ESP32C3, ESP32S2, ESP32S3 do not support A2DP"
@afyu
@afyu 5 ай бұрын
in the video a board with esp32 was used. I haven’t tested it on other boards with modifications.
@Marc_Wolfe
@Marc_Wolfe 5 ай бұрын
Garbage library that lacks support, and is cluttered with nearly identical example code.
Building a Digital Music Player with I2S?! What is I2S! EB#45
10:24
Дарю Самокат Скейтеру !
00:42
Vlad Samokatchik
Рет қаралды 8 МЛН
DAD LEFT HIS OLD SOCKS ON THE COUCH…😱😂
00:24
JULI_PROETO
Рет қаралды 12 МЛН
Make your own Simple & Cheap Portable Bluetooth Speaker
7:13
GreatScott!
Рет қаралды 1,5 МЛН
ESP32 Walkie-Talkie: DIY Audio Magic
8:50
atomic14
Рет қаралды 106 М.
Running ChatGPT on ESP32 with Audio Output 🔉🔊
10:50
techiesms
Рет қаралды 61 М.
#419 ESP32 Audio Tutorial with lots of examples
13:48
Andreas Spiess
Рет қаралды 235 М.
ESP32 Audio Input Using I2S and Internal ADC
10:43
atomic14
Рет қаралды 123 М.
What is worth salvaging from an old smartphone?
8:35
GreatScott!
Рет қаралды 1,2 МЛН
Flipper Zero Demo: WiFi Marauder, Wireshark and Hashcat!
13:03
David Bombal
Рет қаралды 295 М.
ОБСЛУЖИЛИ САМЫЙ ГРЯЗНЫЙ ПК
1:00
VA-PC
Рет қаралды 2 МЛН
АЙФОН 20 С ФУНКЦИЕЙ ВИДЕНИЯ ОГНЯ
0:59
КиноХост
Рет қаралды 1,1 МЛН
Как удвоить напряжение? #электроника #умножитель
1:00
Hi Dev! – Электроника
Рет қаралды 874 М.
Samsung Galaxy 🔥 #shorts  #trending #youtubeshorts  #shortvideo ujjawal4u
0:10
Ujjawal4u. 120k Views . 4 hours ago
Рет қаралды 8 МЛН
iPhone, Galaxy или Pixel? 😎
0:16
serg1us
Рет қаралды 372 М.