ESP32 A1S with Arduino Audio Tools

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 ก.ย. 2024

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

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

    Great! Now you are ready for SSB ;-)

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

      That's definitely the plan Andreas!

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

    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  10 หลายเดือนก่อน

      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

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

    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!

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

    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!

  • @drjml351
    @drjml351 2 ปีที่แล้ว

    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  2 ปีที่แล้ว

      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 ปีที่แล้ว +1

      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!

  • @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

  • @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!

  • @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

  • @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 ?

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

    Great work! Thank you!

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

      Thank you Nicholas!