Add Audio to your Raspberry Pi Pico 1 & 2! | RP2350 | RP2040

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 ก.พ. 2025
  • Learn how to add audio input, output, and machine learning capabilities to your Raspberry Pi Pico 2! Works just as well on original Pi Pico, but the machine learning inference is significantly faster on RP2350. This step-by-step guide covers everything from setting up analog and I2S microphones to playing audio through speakers and running a keyword spotting model with the new RP2350 chip.
    Materials, #aliexpress links
    Raspberry Pi Pico 2 (s.click.aliexp...)
    Grove Shield for Pi Pico s.click.aliexp... (cheaper alternative s.click.aliexp...)
    Grove cables s.click.aliexp... s.click.aliexp...
    I2S Microphones s.click.aliexp... s.click.aliexp...
    Grove Analog Microphone www.seeedstudi...
    Alternative Analog Microphone s.click.aliexp...
    5w 8 Ohm Speakers s.click.aliexp...
    PAM8406 Digital Amplifier s.click.aliexp...
    Github hoodie :)
    s.click.aliexp...
    Most of the sketches used in the video are available as examples for Arduino-pico core, the rest are here:
    gist.github.co...
    Arduino-pico core:
    github.com/ear...
    Keyword spotting project:
    studio.edgeimp...

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

  • @Hardwareai
    @Hardwareai  2 หลายเดือนก่อน +4

    There is a Black Friday sale going on Aliexpress and I got my hand on some discount codes - use them to buy things that you need! Don't buy something that you don't need, just because it's on sale :)
    USA
    19_3_USD:USBF03
    39_6_USD:USBF06
    89_12_USD:USBF12
    139_20_USD:USBF20
    209_30_USD:USBF30
    399_60_USD:USBF60
    499_80_USD:USBF80
    Netherlands
    19_3_EUR:BFNL03
    39_6_EUR:BFNL06
    89_12_EUR:BFNL12
    139_20_EUR:BFNL20
    209_30_EUR:BFNL30
    399_60_EUR:BFNL60
    499_80_EUR:BFNL80
    I have more countries too, let me know and I'll post them here.

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

    You make it look so easy. I will give it a try as well shortly, I should have some mics lying around here somewhere.

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

      Let me know how it goes!

  • @thingnet-todoro
    @thingnet-todoro 5 วันที่ผ่านมา

    I watched a good video.
    I'm trying to make a DK board using RP2350B.
    I can't find the I2S pin map data in the I2S Audio part.
    I can't find the pin list or rules for using GPIO0~GPIO47 as I2S pins.
    Can you help me with this?

    • @Hardwareai
      @Hardwareai  4 วันที่ผ่านมา +1

      Thanks for watching!
      And no, from the top of my head, I cannot help you with that - but Raspberry Pi community is usually very helpful, maybe worth posting to the forum there?

    • @thingnet-todoro
      @thingnet-todoro 3 วันที่ผ่านมา

      @@Hardwareai Thank you for your reply.
      According to what I found out,
      RP2040/2350 doesn't have HW I2S device.
      It is said that it is processed by SW using GPIO.
      The constraint is that BCLK and LRC must be consecutive pins.
      I will try to test this on my DK board to see if it is true.
      There seems to be a difference between knowing that it works and why it works.

  • @AsifKhan-if2jp
    @AsifKhan-if2jp 2 หลายเดือนก่อน

    Can you guide me i am doing a project "self-driving car" i am confused in the hardware.

    • @Hardwareai
      @Hardwareai  2 หลายเดือนก่อน

      I don't think this is related 🤣

  • @exploring-electronic
    @exploring-electronic 2 หลายเดือนก่อน

    Macarena-zed! 😅

    • @Hardwareai
      @Hardwareai  2 หลายเดือนก่อน

      So, I actually almost fell back from my chair when testing that code, hahaha. It was very loud and sudden. The video in intro of course was taken later and is a bit staged.