Building a Digital Music Player with I2S?! What is I2S! EB#45

preview_player
Показать описание

Websites which were shown/used during/for the video:

In this video I will show you how to build a digital music player with the help of the I2S interface. That means I will show you how I2S works and how we can use it with the ESP32. Along the way I will also show you how to use an I2S audio amplifier board and an I2S microphone. Let's get started!

Thanks to JLCPCB for sponsoring this video

Music:
2011 Lookalike by Bartlebeats
Рекомендации по теме
Комментарии
Автор

6:38 Looks like you interpreted the signed 16 bit value returned by the mic as an unsigned one.

creature_of_fur
Автор

Finally a crystal clear explanation of I2S!

TheGitGuild
Автор

Can you make a walkie talkie with 2 esp32's using this metod and wifi/bluetooth?

joaomarques
Автор

It's important to note that while greater sampling frequency does increase quality, any sampling frequency above 40 kHz makes irrelevant increase to the human hearing. Because, according do the Nyquist theorem, to perfectly reconstruct a analog signal you need a sampling frequency at least double the analysed signal. Thus we need only 40kHz, as the human hearing only goes to about 20kHz (and that's in very young children, because you'd be lucky to have this hearing past your adolescence). Also speakers are almost always limited to playing till this frequency, so even if you say that frequencies above 20kHz do somehow contribute to sound quality, your speakers won't even play it.

danteregianifreitas
Автор

As a high school student who only recently got into electronics, if even I can follow along with what he's saying then this is truly high quality.

DrOwn-hqot
Автор

Man! Those drawings are amazing. Worth watching just to see how neat the guy draws.

doraexplora
Автор

great stuff. would love to see more videos using the esp32!

FrankGraffagnino
Автор

my pic32 had enough flash to store a funny audio sample and i managed to port bitluni's arduino audio sampling code to it. Bitluni and Greatscott are great teachers !

theengineer
Автор

Fun fact: You can use I2S to generate the 38 kHz carrier for IR signaling, and save a lot of CPU cycles compared to the popular techniques.
(One of the features under the hood is called DMA, I think it would be worth a separate video)

TheDeltaLightning
Автор

How convenient it was to find this nice video literally 24 hours after I figured out how to code I2S on ESP32 and how to connect wires to external DAC. LOL. Oh man... I'd say wiring it together was the easiest part. The code and RTOS required a bit of wrestling...

mrmf
Автор

Hi, I don't understand why the sound is so bad at the end of the video as you used 16bits /44khz which should result with good audio quality? Is it a limitation on the esp32? Is it because of your speaker?

romaindemaison
Автор

I'm so glad you finally dive into the world of ESPs!! And for a first test I2S is really not the easiest project! Thanks a lot 🙏🏻

deadbird
Автор

Do you know why it sounded so weird in the end? Great video, btw!

DetonadorG
Автор

Awesome :) . Planning to add darth vader sounds to my room Automation project.. This will be really helpful.... The force is strong with Scott !!! Love from India

pulkitjoshi
Автор

I keep thinking about re-creating the Portal Radio (from the game) and something like this would work a treat (minus the microphone). Only want it to play the standard low-quality tune on loop. Great video.

ChrisRid
Автор

1:44 Why not use both, decrease the level with a voltage divider and add using an OpAmp?!

markojojic
Автор

9:32 Save yourselves, Great Scott has already been terminated 😂.

GGGG_
Автор

8:54 - OCD version: file = new AudioFileSourceSD("/TRACK" + (loadTrack - 1).toString() + ".mp3");

JensHove
Автор

Hey GreatScott
I just recently created a HiFi bluetooth receiver with i2s and a Raspberry with a Hifiberry DAC+ DSP hat.

The reason to use this method was the quality and input methods.

The CSRA6415 I used can handle APTX which is a high quality bluetooth protocol. Also this chip can handle button Inputs (to play / pause or control volume on the smartphone via local buttons) as well as many other things.
It's a very cheap but great way! It's completely configurable.

So I connected it to my Hifiberry hat with correct I2S parameters and it worked a treat.


Maybe an upgrade for your portable speaker! :)

I just realized I could have written this in Deutsch.

AleDiLe
Автор

great video until at the end the audio that came out was all choppy! what was the reason for that? Thanks!! can it sound better than that? :)

davidgardener