ESP32 A1S with Arduino Audio Tools

  Рет қаралды 5,766

NA5Y

NA5Y

Күн бұрын

Пікірлер: 32
@AndreasSpiess
@AndreasSpiess 2 жыл бұрын
Great! Now you are ready for SSB ;-)
@na5y
@na5y 2 жыл бұрын
That's definitely the plan Andreas!
@antaf56
@antaf56 2 жыл бұрын
Great job Ian, I'm also looking forward for SSB!! I have already bought the ESP32 A1S!
@na5y
@na5y 2 жыл бұрын
Thank you - SSB receiver is next up!
@fterblink
@fterblink 2 жыл бұрын
Very helpful video. Your es8388 library fixed all issues I had on my AI-Thinker Audiokit.
@na5y
@na5y 2 жыл бұрын
Great to hear it helped you. Thank you for the comment!
@hgbarreto727
@hgbarreto727 11 ай бұрын
Hello NA5Y! Congratulations for the video. I'm using an ESP32-A1S audio kit board from AI Thinker, with the aim of making a multi effects pedal for guitar. For the first test, I used your streams-i2s-i2s code to get a bypass sound from my guitar and it worked perfectly. Now I'm looking to add effects like delay and reverb. To do this, I believe I will have to make changes to the 'copier.copy' function, present in the code's loop. Could you tell me where I can find it in your available libraries? Thanks!
@NicholasRadina
@NicholasRadina Жыл бұрын
Great work! Thank you!
@na5y
@na5y Жыл бұрын
Thank you Nicholas!
@Hamidrezahassanvand
@Hamidrezahassanvand 10 ай бұрын
hey there! thank you for your complete and well-explained contents here I was wondering if its possible to have sink and source simultaneously with esp32-a1s?! something like Bluetooth hands-frees? thank you so much
@na5y
@na5y 9 ай бұрын
I haven't tried that myself - but there are two independent I2S interfaces. I only scratched the surface with the bluetooth support in the arduino audio tools libraries. Thank you for the comment
@drjml351
@drjml351 Жыл бұрын
Very professional and organized presentation. Thanks so much! Will a conventional ESP32WROOM 32D work? If I generate a square wave audio tone on the ESP32, can the sound be played on a Smartphone's speakers over Bluetooth? Any suggestions? Thanks, Joel
@na5y
@na5y Жыл бұрын
Certainly. I haven't tried it but look at the SquareWaveGenerator class in SoundGenerator.h and then look at the bluetooth examples. Thank you for the comment!
@ultimatedragofan
@ultimatedragofan 2 жыл бұрын
Great video! Thank you for linking all your libraries. If I upload all of the libraries mentioned in the description, will I be able to avoid coding my ESP32 A1S in the ESP-IDF and ESP-ADF? I would like to code my project entirely in ArduinoIDE, but am unsure if I need the ESP-IDF/ADF for any initial setup/drivers/codecs before I can start using audio tools in ArduinoIDE. Thank you
@na5y
@na5y 2 жыл бұрын
You are correct. You don't need to install the ESP-IDF or the ESP-ADF to run. You will need to install ESP32 in the Arduino "boards manager" but that is all/ Thank you for the comment!
@Crazy23123
@Crazy23123 Жыл бұрын
Great job, I have the same idea to build SSB transceiver based on ESP32 but after Tayloe mixer I want to use AK4619VN audio codec it's more expensive but it have better parameters and included opamps to amplify differential I and Q signals. What do you thinking about that ?
@na5y
@na5y Жыл бұрын
Thank you Crazy! I am not familiar with that codec but I have been looking around for alternatives. I wonder if those two audio inputs are independent. That would greatly simplify audio switching. There's nothing wrong with the ES8388 - but its good to have alternatives. Is anyone offering that codec on a dev board? Soldering QFNs isn't my favorite thing ;) Let me know how you get on
@Crazy23123
@Crazy23123 Жыл бұрын
​@@na5y For AK4619 is evaluation board AKD4619-A but it's not available on the market only in distributors. In Poland, it's Codico company but I can't check it in the US. If you check the Asashi Kasei website, you can find distributors. This codec has 24/32 bits with 192kHz sampling and 106dB S/N for ADC and 32bit 108dB S/N for DAC. Also, it has 4 analog inputs where each input you can multiplex for mono or you can have it as stereo input with gain. I also saw that they have special application to set all parameters in the PC. In my idea, I would use ESP32-S3 because it has two cores where the one you can use for DSP and the second used for UX. If you want to use an operational amplifier I also found a good replacement for your proposal. Unfortunately, I stuck with my schema because I have a lot of work at my job, but if you want to look into it, it would be a pleasure. Currently, I am working with the circuit maker because in KiCAD I had one big error: I lost all footprints, and the backup not working properly. You can also find me on QRZ my callsign is SP2DAK :) Best Regards, 73 :)
@na5y
@na5y Жыл бұрын
@@Crazy23123 Those two cores will definitely come in handy as you say. Interestingly I have seen other radios use differential outputs but they they *still* use opamps on the output. This one for example: theveteransdr.com/documents/Schematic_Magnis%20Rev%207.pdf That uses the PCM3060 codec - which is a little older gen. I assume the op amps are for buffering maybe lowpass filtering. Its not for gain
@mariovano
@mariovano 2 жыл бұрын
Does that generator output IIS? What model is it? thanks, AE0GL
@na5y
@na5y 2 жыл бұрын
The sig gen? No its purely audio - all the I2S conversion happens onboard the ESP32-A1S with the ES8388 codec
@sanjikaneki6226
@sanjikaneki6226 Жыл бұрын
So I built a small board with a ESP32 A1S and tried to run this code and no sound it did compile and upload fine and it also gave some serial monitor readings but that is all, any advice?
@na5y
@na5y Жыл бұрын
This is an ESP32-A1S module? Most likely you have the pins wrong. This has worked for me: config.pin_ws = 25; config.pin_bck = 27; config.pin_data = 26; config.pin_data_rx = 35; config.pin_mck = 0; Also the SDA and SCL pins for the ES8388 should be set by wire.setPins( 33, 32 ); // SDA = 33, SCL = 32 es8388 codec; codec.begin( &wire ); codec.config( bits_per_sample, output, input, 90 ); I have heard of some ESP32-A1S boards using different pins. I hope this helps.
@sanjikaneki6226
@sanjikaneki6226 Жыл бұрын
@@na5y THX ill check in code and try again BTW i am testing with an additional power amplifier then drive a 1W 8ohm speaker ? Also do you think i can use a LED to test if the es8388 outputs something?
@na5y
@na5y Жыл бұрын
@@sanjikaneki6226 You can't really use an LED on the output - its not going to tell you anything. A cheap oscilloscope is the best diagnostic tool. Which code example are you using?
@sanjikaneki6226
@sanjikaneki6226 Жыл бұрын
@@na5y i was using the first example
@sanjikaneki6226
@sanjikaneki6226 Жыл бұрын
@@na5y i tried to flash the new code but for some reason it gives constant uploading errors but the return serial is fine , did you ever experience something like this ?
ESP32 and PCM3060 with Arduino Audio Tools
23:20
NA5Y
Рет қаралды 3,6 М.
ESP32 Arduino with arduino audio tools
18:38
NA5Y
Рет қаралды 11 М.
Секрет фокусника! #shorts
00:15
Роман Magic
Рет қаралды 82 МЛН
Brawl Stars Edit😈📕
00:15
Kan Andrey
Рет қаралды 11 МЛН
Product Showcase: SparkFun Audio Codec Breakout
13:14
SparkFun Electronics
Рет қаралды 8 М.
Simple SDR with Arduino Audio Tools
27:39
NA5Y
Рет қаралды 10 М.
#419 ESP32 Audio Tutorial with lots of examples
13:48
Andreas Spiess
Рет қаралды 245 М.
ESP32-A1S Module Audio Demo on Breakout PCB
6:39
Gadget Reboot
Рет қаралды 8 М.
Coding a Sound Driver on the ESP32 ULP
6:46
bitluni
Рет қаралды 87 М.
ESP32 Audio Processing with PCB Artists ES8388
20:50
NA5Y
Рет қаралды 10 М.
Making a WiFi Connected Audio Spectrum Analyzer with ESP32
13:46
element14 presents
Рет қаралды 18 М.
DIY Multitrack Looper (An ESP32 Audio Kit - Arduino audio project)
13:08
Building a Digital Music Player with I2S?! What is I2S! EB#45
10:24