karawin / Ka-Radio32

esp32 version of Ka-Radio (https://github.com/karawin/Ka-Radio) by jp Cocatrix
523 stars 155 forks source link

I2s dac #120

Closed nano111 closed 5 years ago

nano111 commented 5 years ago

HI, I have this dac: https://fr.aliexpress.com/item/Max98357-I2S-3-W-classe-D-amplificateur-Interface-de-sortie-Dac-d-codeur-Module-carte-Audio/32988732683.html?transAbTest=ae803_3&ws_ab_test=searchweb0_0%2Csearchweb201602_9_10065_10068_319_10059_10884_317_10887_10696_321_322_10084_453_10083_454_10103_10618_10307_10820_10301_10821_10303_537_536%2Csearchweb201603_52%2CppcSwitch_0&algo_pvid=f662d53f-7bc9-4179-9987-b51145e9eeb9&algo_expid=f662d53f-7bc9-4179-9987-b51145e9eeb9-2

connected to ttgo ts board LRCK BCLK and DIN and it works but with max volume. When I lower volume to 0 ,sound stops,but just at 5 it goes to max level and I can not control it. Any help? thanks

JayB7076 commented 2 years ago

IMG_20220729_195733 Yep you are right I made mistake in program somewhere. I connected this vs1053b and while radio is playing an led indicator light blinks but no sound.

JayB7076 commented 2 years ago

But how I uploaded 5 required bin files. Karadio32 Karadio32 Partition Bootloader Standard_adb And I didn't change anything from it and pins are right to.

JayB7076 commented 2 years ago

I gess I need to upload whole program again. But this is VS1053B not VS1053 so is it ok? And for new code upload I need to format Esp32 right?and after formatting Esp32 which bin file of esp32 (for making Esp32 factory type) did I need to upload?

JayB7076 commented 2 years ago

Oooh now I realise that.. WARNING: the standard_adb.bin must be changed for a wrover processor or another configuration. I need to change even I have same pins as standard_adb. And there is no Wroom in -- WARNING: the standard_adb.bin must be changed for a wrover processor or another configuration. -- so I didn't changed anything.

nano111 commented 2 years ago

does it work?

JayB7076 commented 2 years ago

Na still not uploaded code but did I need to format Esp32 right?for new bin files?

nano111 commented 2 years ago

Why dont you read what I wrote?

WARNING: the standard_adb.bin must be changed for a wrover processor or another configuration. Do you use this tool? http://karadio.karawin.fr/karawin32Flash.jpg You only need to flash your radio once and after just that last file if you change your hardware configuration.

I do not know how you format your esp32 just turn off first 3 files inflash tool karadio32-Karadio32-partition-bootloader and leave last one which you made from your configuration or use alredy made psram bin .You okly need to flash everything frat time… then you just change last bin which is hardware configuration, try if it works, if not change configuration and flash again with new file.

JayB7076 commented 2 years ago

But how to turn off files from Esp32 tool?

nano111 commented 2 years ago

Just uncheck first 3 files on the left side of the file location in tool.

JayB7076 commented 2 years ago

Hey my Karadio32 is working now😃. I tested i2s dac it have some fault I tested with other code but not worked,so......I gess I got bad one or I damaged it or something..... Anyway my web radio is now working. One last question how do I upload my project photo in Karadio history?

nano111 commented 2 years ago

Congrats … I do not remember … maybe you neeed to send pics ti Karawin and he puts it in the galery.

JayB7076 commented 2 years ago

Ok And Thanks For helping me building this project. By the way where are you from? I am from India.

nano111 commented 2 years ago

No problem.. it is dificult to help like this when you do not know what is going on onyour side. I am from Croatia.