How to get headphone audio on the Raspberry Pi Zero (2 W)

Поділитися
Вставка
  • Опубліковано 11 січ 2025

КОМЕНТАРІ • 44

  • @wimrose
    @wimrose Рік тому +8

    I spent 2 days trying to get this to work. When I saw your diagram at 2m29s I finally realized what I did wrong; I was probing pin 12+13 instead of GPIO 12+13 Geez such a simple error. Thanks fellow Dutchie

  • @WardL
    @WardL 3 роки тому +5

    Best video ever. Probably better than the F1 today

  • @TrollingAround
    @TrollingAround 3 роки тому +3

    On Pi Imager CTRL+SHIFT+X before writing, allows you to enable ssh and enter wifi information (as well as other options).

    • @Jalecko
      @Jalecko  3 роки тому +3

      Bonkers im learning so much here

  • @sorathesmug
    @sorathesmug 3 роки тому +13

    the 3.5mm jack will fit perfectly fine in the usb port if u press hard enough :)

  • @briars1
    @briars1 Місяць тому +1

    Your code worked! Be pulling my hair out chat gpt recently 😂

  • @tomplatner
    @tomplatner 10 місяців тому +2

    It appears to me that in latest releases the only audio outputs that work for Zero 2 W is GPIO18....I had to use these commands in config.txt
    dtparam=audio=on
    dtoverlay=audremap,enable_jack
    dtoverlay=pwm-2chan,pin=18,func=2

    • @jesusserf1984
      @jesusserf1984 5 місяців тому

      Thank you very much for the contribution. A question then on zero 2w will connect the Jack to gpio 18 and gnd?

  • @WardL
    @WardL 3 роки тому +2

    Deze video is underrated man. Over een jaar sta je op een miljoen vieuws.

    • @WardL
      @WardL 3 роки тому +2

      enige video die werkt op die internet

  • @ijabbott63
    @ijabbott63 3 роки тому +2

    Files in /usr/share are under the control of the package manager, so it is better not to edit them. I think you can set the defaults.ctl.card and defaults.pcm.card values in the /etc/asound.conf file or in the /etc/alsa/conf.d/*.conf files.

  • @Sysshad
    @Sysshad Рік тому

    Thanks for video, how did you calculate the values of the resistors and capacistors

  • @kin_1997
    @kin_1997 2 роки тому +1

    awesome video, very helpful! thank you :D

  • @0xtanmoysamanta
    @0xtanmoysamanta 5 місяців тому

    Instead you can go for Bluetooth option for streaming audio. But i would not recommend for rpi zero 2 w as it has low processing power.

  • @johnnyirish9852
    @johnnyirish9852 Рік тому

    I would like to connect microphone and headphone audio to the zero, can you please
    make a tutorial how to do that?

  • @Bikman
    @Bikman 2 роки тому +1

    great to learn. Dank je wel!

  • @JesusFreak143
    @JesusFreak143 3 місяці тому

    How can I get the easy access files that you have of the ssh and wifi?

  • @HenryMC2000
    @HenryMC2000 2 роки тому +1

    Muchísimas gracias amigo, el único tutorial q me sirvió, tu sabiduría me servirá para un proyecto :)

    • @Jalecko
      @Jalecko  2 роки тому

      Great what are you making?
      Im still planning on doing a tutorial on how you can directly connect a small 4-8 ohm speaker to the system

  • @stanislavamolnarova798
    @stanislavamolnarova798 4 місяці тому

    Can I probe the pins 18 and 12?

  • @PizzerGames
    @PizzerGames Рік тому

    Does it Still work if i only use one of the PWM Channels? I Only need Mono Audio.

  • @512mb4
    @512mb4 3 роки тому +1

    Nice work 👍

  • @smallick653
    @smallick653 5 місяців тому

    How to connect mic with it ?

  • @YourArkaShines
    @YourArkaShines Рік тому

    Can I directly add my Pam8403 (amplifier board) with the GPIO without making an extra circuit with all the capacitor and resistance stuffs? Reply plz

    • @Jalecko
      @Jalecko  Рік тому

      any amplifier using analog signals should work, so this one also will be alright.
      Be sure to have it connected between the audio filter circuit and the speaker.

    • @biswajeetsingh4994
      @biswajeetsingh4994 Рік тому

      High-pass filter is necessary as the signal is pwm modulated. Here the filter is filtering out the audio signal from high frequency PWM signal.

    • @YourArkaShines
      @YourArkaShines Рік тому

      @@biswajeetsingh4994 what if I use a soundcard instead?

  • @nbhenry1647
    @nbhenry1647 2 роки тому

    Is it a simple task to combine the left and right to create a mono playback through only one filter circuit?

    • @Jalecko
      @Jalecko  2 роки тому

      Good question, i think you will get audio if the gpio are connected correctly but i can't asure you the best audio quality though I have never tried it

  • @iNimbleSloth
    @iNimbleSloth 3 роки тому +1

    Got any projects in mind for this?

    • @Jalecko
      @Jalecko  3 роки тому +1

      my pico 8 handheld, basically the whole reason i even started doing all of this hardware stuff

  • @karersio7062
    @karersio7062 10 місяців тому

    can i use it without the audio filter

    • @Jalecko
      @Jalecko  9 місяців тому

      you can but it will sound absolutely horrid

  • @weeeBloom
    @weeeBloom 3 роки тому +1

    thanks!

  • @sharonjoseph27
    @sharonjoseph27 Рік тому

    Can we get 5.1 output?? ..

  • @RCDUDEFPV
    @RCDUDEFPV 8 місяців тому

    Thumbs up

  • @martdeleest4421
    @martdeleest4421 3 роки тому +1

    I ike his voice, he sounds hot

  • @BitcoinLifeToday
    @BitcoinLifeToday 7 місяців тому

    Hello fellow dutchie

  • @energyideas
    @energyideas 2 роки тому

    Add higher quality audio off USB: other2funstuff.blogspot.com/2017/06/15-streaming-audio-for-cars.html?m=1

    • @Jalecko
      @Jalecko  2 роки тому +1

      I found this solution personally inferior because it takes up a lot of space and you lose a usb port, my solution is primarily meant for people who want to make compact handheld devices