I2S MAX98357 Bluetooth Speaker project for ESP32 microcontroller / Programming Arduino IDE

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 พ.ค. 2024
  • Audio playback using the MAX98357 DAC module using the I2S protocol. #esp32project bluetooth speaker on #esp32
    Project navigation:
    00:00 Introduction
    00:10 What is needed for the project
    00:22 DAC MAX98357
    00:38 Connection diagram
    00:50 Connecting to Esp32
    02:11 Esp32 programming using Arduino IDE
    02:44 Bluetooth connection
    02:59 Sound test
    03:17 Bad Signal Bluetooth
    03:33 Conclusions
    It is easy to assemble DIY bluetooth speaker the esp32 microcontroller and the MAX98357 module
    The video uses the ESP32-A2DP library for the Arduino IDE 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
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 24

  • @mazacuata1731
    @mazacuata1731 หลายเดือนก่อน

    Can 2 speakers be connected to the same converter module? Or should I use another module for another speaker?

  • @nehajain2974
    @nehajain2974 5 หลายเดือนก่อน

    Thank you for the video, plz make video to stream an music url from internet using esp32 internal dac

  • @Shadoweee
    @Shadoweee 19 วันที่ผ่านมา

    Can the output of the MAX module be used as input for an AMP that normally uses audio jack as input?

  • @evelinkalil5422
    @evelinkalil5422 21 วันที่ผ่านมา

    this could work in a xiao esp32s3?

  • @sahyeeshnubatumalai7430
    @sahyeeshnubatumalai7430 2 หลายเดือนก่อน +1

    Can i play a youtube video in that? Can i use my phone as mic and sound came out from speaker?

  • @thebloody_blue
    @thebloody_blue 2 หลายเดือนก่อน

    I think you must add audio.h in your library .

  • @claudiomiranda2
    @claudiomiranda2 5 หลายเดือนก่อน +2

    Would it be possible to add a display to view the audio information? such as name, progress, folder etc...

    • @afyu
      @afyu  5 หลายเดือนก่อน +1

      I saw a library where you can extract metadata from a file

  • @dedenapraia
    @dedenapraia ปีที่แล้ว +1

    Great Video !, thank you very much !. Do you know how loud (Decibels) can the MAX98357 be ? I am looking forward to tun my ESP32 into an audio receiver

    • @afyu
      @afyu  ปีที่แล้ว

      Did not find any information like that

    • @dedenapraia
      @dedenapraia ปีที่แล้ว

      @@afyu thank you for the reply :) . But at least is loud enough to have indoor music right ?

    • @afyu
      @afyu  ปีที่แล้ว

      yes, the volume is enough for comfortable listening in the room

    • @thexht7927
      @thexht7927 11 หลายเดือนก่อน

      The loudness depends on the speaker not the chip. Good speaker can make louder audio with the same power. But expect something max 95dB (very good speaker) or below, talking about speaker having about 3W power rating

  • @nicolassacristanmosquera9109
    @nicolassacristanmosquera9109 13 วันที่ผ่านมา

    Why don't you use one of the two DACs that have the esp32?

    • @saifialeem8255
      @saifialeem8255 13 วันที่ผ่านมา

      Maybe for the Inbuilt amplifier, otherwise that's my guess.

  • @lamngoc9896
    @lamngoc9896 10 หลายเดือนก่อน

    Can you make speaker with esp32 and es8388 ?

    • @afyu
      @afyu  10 หลายเดือนก่อน +1

      the board must support the I2S protocol

    • @lamngoc9896
      @lamngoc9896 10 หลายเดือนก่อน

      @@afyu yes

  • @gadget_vishwa
    @gadget_vishwa ปีที่แล้ว +2

    Does we get true stereo output?

    • @afyu
      @afyu  ปีที่แล้ว +1

      To get a stereo output, you need to use two such modules or pay attention to the PCM5102.

    • @gadget_vishwa
      @gadget_vishwa ปีที่แล้ว

      @@afyu how can use two modules.... To get stereo output with one connectivity Bluetooth device (mobile,pc)

    • @afyu
      @afyu  ปีที่แล้ว +2

      On this topic, you can see oshwlab.com/chris_9044/stereo-i2s-max98357a

    • @gadget_vishwa
      @gadget_vishwa ปีที่แล้ว

      @@afyu link not working

  • @skrame01
    @skrame01 5 หลายเดือนก่อน +1

    Stop the gangster feeling music.