Pre-release of I2S Audio Library
1:26
Why I've not posted for a while
1:37
Пікірлер
@mahditaherabadi333
@mahditaherabadi333 5 күн бұрын
thanks men
@OscarMoutinho
@OscarMoutinho 8 күн бұрын
Any way to use an I2S device as sound output ?
@XTronical
@XTronical 8 күн бұрын
Not with this library but I'm converting it to I2S, however, I've been too busy with real life to be able to work on it for ages and this is unlikely to change for a few months.
@bigdatapimp
@bigdatapimp 10 күн бұрын
I would bet that the Yaw drifts at roughly 15deg per hour. That would be standard gyroscopic drift due to the rotation of the earth. Unless you're a flat earther, then I guess its just because. LOL
@XTronical
@XTronical 10 күн бұрын
15 deg per hour, thanks bob!
@toshiyukisaito8757
@toshiyukisaito8757 11 күн бұрын
At the very end of 2024, after a few year's break to came back to this hobby, I was lost my genuine Arduino Uno (original) kept on failing uploads. Google search and ChatGPT-o1 didn't give me a clue but your video four years ago did me the trick. Thank you!
@yogenrai5651
@yogenrai5651 13 күн бұрын
Sir my display shows only white screen why is it so i have connected the pins taking screenshots and doing it again and again but still i only get a white screen .what can do to solve it sir
@JingyiZheng
@JingyiZheng 14 күн бұрын
very helpful
@ilokiwi
@ilokiwi 14 күн бұрын
an offshit since this is an old video but do you know how to fix the error scl is held low on the i2c bus? Its on the bmp280 to the esp32-c3-supermini?
@skwarucha2
@skwarucha2 15 күн бұрын
Will connecting 12V from L9110S to the outputs burn the IC?
@BennyHolgeid
@BennyHolgeid 17 күн бұрын
such a obvious issue lol. Ty so much, had that problem for days
@kerostudios
@kerostudios 17 күн бұрын
Thank you so much! This is a great explanatory video! Now I know my display works and I don't have to buy another one hehehe
@tedysamsi8488
@tedysamsi8488 18 күн бұрын
Can you give me schematic wiring pin out esp32 devkit v1,TI pcm5102 i2s audio dac module+SD card module please
@XTronical
@XTronical 18 күн бұрын
Should be on my website (www.xtronical.com) I can't quite remember if I did one but will be there if I did.
@iotan09
@iotan09 21 күн бұрын
i dont understand why my ESP32 tells me that Sketch too big Sketch uses 1450185 bytes (110%) of program storage space
@XTronical
@XTronical 21 күн бұрын
How big is the mp3?
@bananaman1397
@bananaman1397 21 күн бұрын
@@XTronical I'm having a similar issue. I thought the audio file was stored on the SD card, not the ESP32
@bananaman1397
@bananaman1397 21 күн бұрын
@@XTronical Just did a little testing and the "Audio.h" alone takes up 72% of program storage space. Did they update the library and make it huge?
@XTronical
@XTronical 20 күн бұрын
Yes, your right, I have a library that stores on esp32, got confused, sorry.
@XTronical
@XTronical 20 күн бұрын
Really, what the hell is on that, that's ridiculous. Although are you just measuring size of the text file? If so that won't all be transferred.
@maya6654
@maya6654 25 күн бұрын
ASCO DE VIDEO
@Only_for_Harbinger_hackathon
@Only_for_Harbinger_hackathon 28 күн бұрын
Can you tell me if it will work, if audio files are stored in Flash of esp32cam?
@aestradarespeto
@aestradarespeto 29 күн бұрын
Dear Sir, you are the only one that really makes my devices works properly. Thank you so much.
@sarahb.8186
@sarahb.8186 Ай бұрын
would it possible to stream wav audio data from http source to this library to play via dac?
@XTronical
@XTronical Ай бұрын
Yes, that should be possible, the esp32 has enough power left over.
@distortion_tech_lab
@distortion_tech_lab Ай бұрын
So I guess the library no longer includes the getTouch function. This doesn't compile. I've searched in the library and there really is no touchGet class.
@distortion_tech_lab
@distortion_tech_lab Ай бұрын
Nvm. I was declaring the pin in the sketch, had to uncomment it in the user setup.
@distortion_tech_lab
@distortion_tech_lab Ай бұрын
The button still didn't actually draw for me; But as long as the function call can return data I should be able to use it in my firmware. It was a little tricky getting my library to accept the swap from mcu friend but I got it. And these screens are magnitudes faster than the digital display shield I was running.
@captcardwell3398
@captcardwell3398 Ай бұрын
I skimmed over this video thinking it was too long, wasted 2-3 days worth of "research' to end up back here realizing it's the best all-in-one resource for learning the screen lol I don't deserve your wisdow but appriciate it none the less :D
@XTronical
@XTronical Ай бұрын
Your kind comments are welcomed. Thank you
@distortion_tech_lab
@distortion_tech_lab Ай бұрын
I got this right up and running no problem with your help. Sadly Amazon sent me a cracked screen so I only got to see the analog bars tonight haha.
@WistrelChianti
@WistrelChianti Ай бұрын
Out of interest.... if I have an ESP32 I'm already updating via OTA... and want to change the partition sizes.... am I going to have to do the flash with the new partition sizes via the serial the first time I change them? My feeling is that I'll probably have to... as it will probably try to fill the existing (smaller) partition and fail. Getting it out of the robot to access the serial gonna be a PITA... ah well
@XTronical
@XTronical Ай бұрын
You know, I think your right. I'm not sure as been some time since looked at this. It's a suck it and see I suppose.
@WistrelChianti
@WistrelChianti Ай бұрын
Thanks! That's got me a much more sensible size to work with. Not going to need much more than a 1kb of SPIFFS anyway I shouldn't have thought... just want to use it to store a few config settings.
@kmtsvetanov
@kmtsvetanov Ай бұрын
I'm following your videos and all is working until now. I;m waiting for my SD to arive to test the next one. Sadly I wasn't abble to run the library as of now. I use Arduino IDE 2.3.4 with esp32-h2 and a I2S PCM5102 DAC Decoder
@kmtsvetanov
@kmtsvetanov Ай бұрын
I love your videos. One question. Is there a way to play the music on a button press?
@XTronical
@XTronical Ай бұрын
Yes. I feel like you might be a beginner? I'd look at a simple button and led tutorial and then you should be able to work out how to add something similar to this code.
@kmtsvetanov
@kmtsvetanov Ай бұрын
why do i hear a buzzing constant sound?
@XTronical
@XTronical Ай бұрын
Hard to say. Double check everything.
@kmtsvetanov
@kmtsvetanov Ай бұрын
@@XTronical it's strange. For me i had to connect SCK to ground. Is that the right way?
@XTronical
@XTronical Ай бұрын
@kmtsvetanov no, you should need the clock connected to esp not ground.
@ryanmccallan3843
@ryanmccallan3843 Ай бұрын
Hey, not sure if you read these comments anymore, but I have found all of your information super useful. I am not sure how to incorporate bluetooth into my project though, I would like mp3 and ble capabilities!
@silvanhuber3693
@silvanhuber3693 Ай бұрын
Thanks a lot for your great work. I use the mod from stelatoris which bases on your code. Unfortunately there is a flickering sound about with the frequency reading from sd card. Playing the same wave file with the I2S library from Schreibfaul1 on Github, this does not occure. Any idea about this problem? Thx.
@Ingo.01
@Ingo.01 Ай бұрын
Very helpful thank you!
@konero8537
@konero8537 Ай бұрын
why my display not full screen?? i use ili 9341 240x320 pls helpp
@abderrahmaneaddoune6755
@abderrahmaneaddoune6755 Ай бұрын
Boss, You're the best!
@Cavid778
@Cavid778 Ай бұрын
Thank you very much!!! I love you !!!
@andrewgarfield1445
@andrewgarfield1445 Ай бұрын
is it possible to be connected to a voice sensor for command saying "NEXT" which the picture slides next?
@ShitBrick785
@ShitBrick785 Ай бұрын
Been searching for hours. This is the only one that worked. Not even ChatGPT could give me the correct answer. Thanks
@ezknvk4018
@ezknvk4018 2 ай бұрын
Hi, I'm getting a problem configuring the sd card input, i'Ive connected al the wires following the video, but its doesn't work. the problem is the sd card mount failing. me driver is the ST7789. I'm using a 16 gb sd card.
@XTronical
@XTronical 2 ай бұрын
What's your size of SD, max 32gb
@khoirulanamchev
@khoirulanamchev 2 ай бұрын
I'm building a piano using some buttons to create notes. The idea is that when a button is pressed and held down, it will produce a sound, and the sound will stop or be silent when the button is released. I'm learning to use music scores but it still doesn't work. Can we do it using this library?
@XTronical
@XTronical 2 ай бұрын
What are you using that isn't working?
@khoirulanamchev
@khoirulanamchev 2 ай бұрын
@@XTronical here is my code, maybe something needs to be fixed. Thanks in advance 🙂 #include "MusicDefinitions.h" #include "XT_DAC_Audio.h" XT_DAC_Audio_Class DacAudio(25,0); XT_Instrument_Class DO(INSTRUMENT_HARPSICHORD); XT_Instrument_Class RE(INSTRUMENT_HARPSICHORD); uint8_t ButtonPin [] = {12,4,16,17,5,18,19}; void setup() { for(byte i = 0; i<7; i++){ pinMode(ButtonPin [i], INPUT_PULLUP); delay(10); } } void loop() { DacAudio.FillBuffer(); if(!digitalRead(ButtonPin [0])) DO.SetNote(NOTE_C4); else DO.SetNote(0); if(!digitalRead(ButtonPin [1])) RE.SetNote(NOTE_D4); else RE.SetNote(0); DacAudio.Play(&DO); DacAudio.Play(&RE); }
@khoirulanamchev
@khoirulanamchev Ай бұрын
@@XTronical I'm still new to using this library, I'm just curious, how do I play a note continuously without any pause or certain duration.
@chronobot2001
@chronobot2001 2 ай бұрын
Very clear, concise and thorough explanation. 100%. A+ I will be watching this video again and subscribing.
@Ursai.20
@Ursai.20 2 ай бұрын
I have Same Issue Resolve it following ur instructions in Vd TQ So Much Sir🤗🤗..
@nexuzinnovation-com
@nexuzinnovation-com 2 ай бұрын
very impressive, thank you for sharing this valuable videos.
@Mr.Kent65
@Mr.Kent65 2 ай бұрын
Amazing video but just a side note the the more resistance the less current will be wasted. Not the other way around.
@FaL4Fl
@FaL4Fl 2 ай бұрын
My brother in christ, You saved me from hell. Now I will be able to build my own iron dome! Seriously you helped a lot with my project mate! Thank you
@metalhead5858
@metalhead5858 2 ай бұрын
Hi, I cannot find episode 1 can you send me a link
@XTronical
@XTronical 2 ай бұрын
kzbin.info/www/bejne/jKPSXoeIba2Waacsi=S-SVo-jCLRGGwJLF
@RDJunc
@RDJunc 2 ай бұрын
I juat want to add my thanks and appreciation for the terrific tutorial. It really helped me with my ESP32 ILI9488 project. The video was informative and your presentation style is fantastic. Nice and breezy. You have helped a lot of people. Thanks again.
@RDJunc
@RDJunc 2 ай бұрын
While I have your attention, I used the example sketches to test each of these functions separately. (TFT, Touch, SD Card) They all worked great when modified separately for my application. I then integrated them into my main application one by one. The TFT and Touch functions work great together but I get compile errors when I add in the SD Card code. I am certain there is some conflict with the FS/SPIFFS/LittleFS/SD libraries and the JPEGDecode library. Have you been able to develop code with all three of these features integrated into one application?
@maciek9663
@maciek9663 2 ай бұрын
How connect the same tft and ESP32 but TFT is ST7789V
@XTronical
@XTronical 2 ай бұрын
Check if this library supports that screen, it supports lots but cannot remember which off top of my head
@Imufur
@Imufur 2 ай бұрын
I need to do a project for uni with this, my idea is to simulate a car dash screen, use it to turn on leds (indicators), piezos (radio), servos (wipers), and whatever else I can think of, this helped, thanks
@manny_f
@manny_f 3 ай бұрын
This brings back good memories. I built a bunch of projects using this CPU back in the day, all written in assembler.
@eric3skywalker913
@eric3skywalker913 3 ай бұрын
tried it but even the examples throw so many errors on compile that I don't even know where to begin to be honest
@eric3skywalker913
@eric3skywalker913 3 ай бұрын
does it require a specific version of the esp32 board manager?
@XTronical
@XTronical 3 ай бұрын
@eric3skywalker913 I've seen your other post. The project is quiet old, there may be some changes to the board manager perhaps. Sorry it won't compile.
@jkmanifunny1975
@jkmanifunny1975 3 ай бұрын
thanks
@PeteDubler
@PeteDubler 3 ай бұрын
Great library. I am still trying though to figure out how to eliminate the background hum that starts as soon as the XT_DAC_Audio-Class object is constructed. Things I have tried include trying to kill the timer interrupts: (If there were a deconstructer for the object, it would most logically include these lines as well as deleting the buffer and setting timer and Buffer to nullptr): timerAlarmDisable(TIMER_TO_USE_FOR_DAC); // Disable the alarm timerDetachInterrupt(TIMER_TO_USE_FOR_DAC); // Detach the interrupt timerEnd(TIMER_TO_USE_FOR_DAC); // Deallocate the timer and all of these other things... (one at a time) pinMode(DAC_PIN, OUTPUT); // stop using the speaker DacAudio.StopAllSounds(); SetVolume(0x7f, 0); DacAudio.DacVolume=0; detachInterrupt(0); dacWrite(DAC_PIN, 0x7f); The only thing I find that kills the hum is to never initialize the class object. Any thoughts on how to kill the process that is causing the hum on the DAC output would be appreciated. (In my app, I just have to very occasionally play a wav file, so any background noise the rest of the time is not acceptable). (I can probably scope it and put in a low pass filter on the output, but it is very clear that this is a software issue that should be able to be solved with software since there is no hum if the object is never created in the first place). THANKS!!!
@RenpgSama
@RenpgSama 3 ай бұрын
hello, I have a question so basically we are trying to use the esp32 as a database storage and we need an sd card module for that but using a tft display will occupy the needed pins. So upon seeing this video, can I use the sd card embedded on the tft display as an alternative to store data? Will it work the same as the sd card module? Thanks in advance!!
@akhaqan
@akhaqan 3 ай бұрын
Excellent video, thanks for taking out the time to make it. I have a few ideas for another video project: It will be a health monitor with a screen that shows the following things: 1. Two digits after decimal point for better accuracy for all read outs 2. Heart sine wave 3. If this sensor can calculate heart rate variability (HRV) i.e. the time between two heart beats then you can add that 4. You can also add a skin conductance sensor to show volts 5. Infrared temperature sensor I have seen several projects on youtube but no one has combined all these in one. If you like, I can collaborate with you. Let me know and I will send you an email. Thanks
@XTronical
@XTronical 3 ай бұрын
Thanks for your ideas, I will keep them in mind
@eveningofstorms
@eveningofstorms 3 ай бұрын
What's the name of the song you were playing?
@XTronical
@XTronical 3 ай бұрын
Sorry, can't remember, it will have been from the you tube copyright free library.