Is the 3.5mm audio jack tied to a GPIO pin?No Audio Output on 3.5mm JackPulse width modulation gpio and headphonesGPIO Display an Buttons dont workHaving trouble with audio through the 3.5mm jack on the Raspberry Pi 2RPi 1 Model A input/output pin ratingsRaspberry PI GPIO add_event_detect triggering multiple channels on one button pressGPIO relay signal cross turns to all relays staying on after Darlington addedNo audio output through 3.5mm jack but OK through HDMIRemoving noise coming from 3.5mm audio jackStream USB mic input to 3.5mm audio jack output

Plausibility of Ice Eaters in the Arctic

Multirow in tabularx?

try/finally with bash shell

How should an administrative assistant reply to student addressing them as "Professor" or "Doctor"?

First amendment and employment: Can a police department terminate an officer for speech?

Am I overreacting to my team leader's unethical requests?

How to avoid the "need" to learn more before conducting research?

Why isn’t SHA-3 in wider use?

DeclareMathOperator and widearcarrow with kpfonts

Should you play baroque pieces a semitone lower?

Can you castle with a "ghost" rook?

How does 'AND' distribute over 'OR' (Set Theory)?

What happens if I delete an icloud backup?

On the Rømer experiments and the speed if light

In SQL Server, why does backward scan of clustered index cannot use parallelism?

Visa National - No Exit Stamp From France on Return to the UK

Does this Foo machine halt?

elisp regular expression build problem

Ex-contractor published company source code and secrets online

Why are Gatwick's runways too close together?

During the Space Shuttle Columbia Disaster of 2003, Why Did The Flight Director Say, "Lock the doors."?

function evaluation - I don't get it

constant evaluation when using differential equations.

If "more guns less crime", how do gun advocates explain that the EU has less crime than the US?



Is the 3.5mm audio jack tied to a GPIO pin?


No Audio Output on 3.5mm JackPulse width modulation gpio and headphonesGPIO Display an Buttons dont workHaving trouble with audio through the 3.5mm jack on the Raspberry Pi 2RPi 1 Model A input/output pin ratingsRaspberry PI GPIO add_event_detect triggering multiple channels on one button pressGPIO relay signal cross turns to all relays staying on after Darlington addedNo audio output through 3.5mm jack but OK through HDMIRemoving noise coming from 3.5mm audio jackStream USB mic input to 3.5mm audio jack output






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















I have a Raspberry Pi 2 B+ and I would like to confirm that the 3.5mm jack isn't tied to a GPIO pin. I could not find any information on this and thought this may be the case but I wanted to double check here. Some microcontrollers share onboard features with I/O pins and I want to make sure there aren't any conflicts.



My application is using the 3.5mm audio jack, a realtime clock (pin 1-6), a 16x2 LCD display, and several other GPIO pins to drive MOFSET power relays for lights and I want to ensure that I don't have any conflicting pins.










share|improve this question


























  • I do use Rpi GPIO to drive 30A power MOSFET switches (not actually conventional relays). I do play with real time clock DS3231 and 16x2 LCD. I also know Rpi's 3.5mm jack can output audio signals. But what you are trying to do is unthinkable. Is it a DJ app? :)

    – tlfong01
    Jul 31 at 9:48











  • it's for an art installation with sound output, time regulated lighting, and the LCD is for internal diagnostic. I just wanted to make sure that I'm not crossing up any GPIO pins

    – tshimkus
    Jul 31 at 10:01











  • I think you are over worrying. I am 90% sure that GPIO would not interfere with audio output, and vice versa. And you can use USB sound card with microphone and speakers, instead of using the Rpi on board speaker only 3.5mm jack. Then you can have some interaction between human and machine. And have you considered neopixel? : youtube.com/watch?v=seG5tip6wBw

    – tlfong01
    Jul 31 at 12:42












  • @tlfong01, there will be a very simple interactive component powered by a button that prompts the audio playback. I have used NeoPixel for other projects but decided to go with 4 wire RGB for this application.

    – tshimkus
    Aug 1 at 2:39











  • Hi @tshmkus, Ah yes, if your work is outdoor, then RGB flood light or similar might be more appropriate: (1) DC12V 10W 4 Wire PWM LED RGB Flood Light US$12 fr.aliexpress.com/item/2037336497.html, (2) A couple of months ago I also played with a musical fountain project for my rooftop garden: Relay Boards: raspberrypi.org/forums/viewtopic.php?f=91&t=229789, (3) Musical Fountain: raspberrypi.org/forums/viewtopic.php?f=37&t=231795#p1419354

    – tlfong01
    Aug 1 at 3:10

















1















I have a Raspberry Pi 2 B+ and I would like to confirm that the 3.5mm jack isn't tied to a GPIO pin. I could not find any information on this and thought this may be the case but I wanted to double check here. Some microcontrollers share onboard features with I/O pins and I want to make sure there aren't any conflicts.



My application is using the 3.5mm audio jack, a realtime clock (pin 1-6), a 16x2 LCD display, and several other GPIO pins to drive MOFSET power relays for lights and I want to ensure that I don't have any conflicting pins.










share|improve this question


























  • I do use Rpi GPIO to drive 30A power MOSFET switches (not actually conventional relays). I do play with real time clock DS3231 and 16x2 LCD. I also know Rpi's 3.5mm jack can output audio signals. But what you are trying to do is unthinkable. Is it a DJ app? :)

    – tlfong01
    Jul 31 at 9:48











  • it's for an art installation with sound output, time regulated lighting, and the LCD is for internal diagnostic. I just wanted to make sure that I'm not crossing up any GPIO pins

    – tshimkus
    Jul 31 at 10:01











  • I think you are over worrying. I am 90% sure that GPIO would not interfere with audio output, and vice versa. And you can use USB sound card with microphone and speakers, instead of using the Rpi on board speaker only 3.5mm jack. Then you can have some interaction between human and machine. And have you considered neopixel? : youtube.com/watch?v=seG5tip6wBw

    – tlfong01
    Jul 31 at 12:42












  • @tlfong01, there will be a very simple interactive component powered by a button that prompts the audio playback. I have used NeoPixel for other projects but decided to go with 4 wire RGB for this application.

    – tshimkus
    Aug 1 at 2:39











  • Hi @tshmkus, Ah yes, if your work is outdoor, then RGB flood light or similar might be more appropriate: (1) DC12V 10W 4 Wire PWM LED RGB Flood Light US$12 fr.aliexpress.com/item/2037336497.html, (2) A couple of months ago I also played with a musical fountain project for my rooftop garden: Relay Boards: raspberrypi.org/forums/viewtopic.php?f=91&t=229789, (3) Musical Fountain: raspberrypi.org/forums/viewtopic.php?f=37&t=231795#p1419354

    – tlfong01
    Aug 1 at 3:10













1












1








1








I have a Raspberry Pi 2 B+ and I would like to confirm that the 3.5mm jack isn't tied to a GPIO pin. I could not find any information on this and thought this may be the case but I wanted to double check here. Some microcontrollers share onboard features with I/O pins and I want to make sure there aren't any conflicts.



My application is using the 3.5mm audio jack, a realtime clock (pin 1-6), a 16x2 LCD display, and several other GPIO pins to drive MOFSET power relays for lights and I want to ensure that I don't have any conflicting pins.










share|improve this question
















I have a Raspberry Pi 2 B+ and I would like to confirm that the 3.5mm jack isn't tied to a GPIO pin. I could not find any information on this and thought this may be the case but I wanted to double check here. Some microcontrollers share onboard features with I/O pins and I want to make sure there aren't any conflicts.



My application is using the 3.5mm audio jack, a realtime clock (pin 1-6), a 16x2 LCD display, and several other GPIO pins to drive MOFSET power relays for lights and I want to ensure that I don't have any conflicting pins.







gpio pi-2 audio






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jul 31 at 11:16







tshimkus

















asked Jul 31 at 9:12









tshimkustshimkus

1086 bronze badges




1086 bronze badges















  • I do use Rpi GPIO to drive 30A power MOSFET switches (not actually conventional relays). I do play with real time clock DS3231 and 16x2 LCD. I also know Rpi's 3.5mm jack can output audio signals. But what you are trying to do is unthinkable. Is it a DJ app? :)

    – tlfong01
    Jul 31 at 9:48











  • it's for an art installation with sound output, time regulated lighting, and the LCD is for internal diagnostic. I just wanted to make sure that I'm not crossing up any GPIO pins

    – tshimkus
    Jul 31 at 10:01











  • I think you are over worrying. I am 90% sure that GPIO would not interfere with audio output, and vice versa. And you can use USB sound card with microphone and speakers, instead of using the Rpi on board speaker only 3.5mm jack. Then you can have some interaction between human and machine. And have you considered neopixel? : youtube.com/watch?v=seG5tip6wBw

    – tlfong01
    Jul 31 at 12:42












  • @tlfong01, there will be a very simple interactive component powered by a button that prompts the audio playback. I have used NeoPixel for other projects but decided to go with 4 wire RGB for this application.

    – tshimkus
    Aug 1 at 2:39











  • Hi @tshmkus, Ah yes, if your work is outdoor, then RGB flood light or similar might be more appropriate: (1) DC12V 10W 4 Wire PWM LED RGB Flood Light US$12 fr.aliexpress.com/item/2037336497.html, (2) A couple of months ago I also played with a musical fountain project for my rooftop garden: Relay Boards: raspberrypi.org/forums/viewtopic.php?f=91&t=229789, (3) Musical Fountain: raspberrypi.org/forums/viewtopic.php?f=37&t=231795#p1419354

    – tlfong01
    Aug 1 at 3:10

















  • I do use Rpi GPIO to drive 30A power MOSFET switches (not actually conventional relays). I do play with real time clock DS3231 and 16x2 LCD. I also know Rpi's 3.5mm jack can output audio signals. But what you are trying to do is unthinkable. Is it a DJ app? :)

    – tlfong01
    Jul 31 at 9:48











  • it's for an art installation with sound output, time regulated lighting, and the LCD is for internal diagnostic. I just wanted to make sure that I'm not crossing up any GPIO pins

    – tshimkus
    Jul 31 at 10:01











  • I think you are over worrying. I am 90% sure that GPIO would not interfere with audio output, and vice versa. And you can use USB sound card with microphone and speakers, instead of using the Rpi on board speaker only 3.5mm jack. Then you can have some interaction between human and machine. And have you considered neopixel? : youtube.com/watch?v=seG5tip6wBw

    – tlfong01
    Jul 31 at 12:42












  • @tlfong01, there will be a very simple interactive component powered by a button that prompts the audio playback. I have used NeoPixel for other projects but decided to go with 4 wire RGB for this application.

    – tshimkus
    Aug 1 at 2:39











  • Hi @tshmkus, Ah yes, if your work is outdoor, then RGB flood light or similar might be more appropriate: (1) DC12V 10W 4 Wire PWM LED RGB Flood Light US$12 fr.aliexpress.com/item/2037336497.html, (2) A couple of months ago I also played with a musical fountain project for my rooftop garden: Relay Boards: raspberrypi.org/forums/viewtopic.php?f=91&t=229789, (3) Musical Fountain: raspberrypi.org/forums/viewtopic.php?f=37&t=231795#p1419354

    – tlfong01
    Aug 1 at 3:10
















I do use Rpi GPIO to drive 30A power MOSFET switches (not actually conventional relays). I do play with real time clock DS3231 and 16x2 LCD. I also know Rpi's 3.5mm jack can output audio signals. But what you are trying to do is unthinkable. Is it a DJ app? :)

– tlfong01
Jul 31 at 9:48





I do use Rpi GPIO to drive 30A power MOSFET switches (not actually conventional relays). I do play with real time clock DS3231 and 16x2 LCD. I also know Rpi's 3.5mm jack can output audio signals. But what you are trying to do is unthinkable. Is it a DJ app? :)

– tlfong01
Jul 31 at 9:48













it's for an art installation with sound output, time regulated lighting, and the LCD is for internal diagnostic. I just wanted to make sure that I'm not crossing up any GPIO pins

– tshimkus
Jul 31 at 10:01





it's for an art installation with sound output, time regulated lighting, and the LCD is for internal diagnostic. I just wanted to make sure that I'm not crossing up any GPIO pins

– tshimkus
Jul 31 at 10:01













I think you are over worrying. I am 90% sure that GPIO would not interfere with audio output, and vice versa. And you can use USB sound card with microphone and speakers, instead of using the Rpi on board speaker only 3.5mm jack. Then you can have some interaction between human and machine. And have you considered neopixel? : youtube.com/watch?v=seG5tip6wBw

– tlfong01
Jul 31 at 12:42






I think you are over worrying. I am 90% sure that GPIO would not interfere with audio output, and vice versa. And you can use USB sound card with microphone and speakers, instead of using the Rpi on board speaker only 3.5mm jack. Then you can have some interaction between human and machine. And have you considered neopixel? : youtube.com/watch?v=seG5tip6wBw

– tlfong01
Jul 31 at 12:42














@tlfong01, there will be a very simple interactive component powered by a button that prompts the audio playback. I have used NeoPixel for other projects but decided to go with 4 wire RGB for this application.

– tshimkus
Aug 1 at 2:39





@tlfong01, there will be a very simple interactive component powered by a button that prompts the audio playback. I have used NeoPixel for other projects but decided to go with 4 wire RGB for this application.

– tshimkus
Aug 1 at 2:39













Hi @tshmkus, Ah yes, if your work is outdoor, then RGB flood light or similar might be more appropriate: (1) DC12V 10W 4 Wire PWM LED RGB Flood Light US$12 fr.aliexpress.com/item/2037336497.html, (2) A couple of months ago I also played with a musical fountain project for my rooftop garden: Relay Boards: raspberrypi.org/forums/viewtopic.php?f=91&t=229789, (3) Musical Fountain: raspberrypi.org/forums/viewtopic.php?f=37&t=231795#p1419354

– tlfong01
Aug 1 at 3:10





Hi @tshmkus, Ah yes, if your work is outdoor, then RGB flood light or similar might be more appropriate: (1) DC12V 10W 4 Wire PWM LED RGB Flood Light US$12 fr.aliexpress.com/item/2037336497.html, (2) A couple of months ago I also played with a musical fountain project for my rooftop garden: Relay Boards: raspberrypi.org/forums/viewtopic.php?f=91&t=229789, (3) Musical Fountain: raspberrypi.org/forums/viewtopic.php?f=37&t=231795#p1419354

– tlfong01
Aug 1 at 3:10










2 Answers
2






active

oldest

votes


















2














It depends on what you mean.



The on-board PWM peripheral is used to provide audio to the 3.5 mm audio jack.



See schematics.



GPIO 12/13/18/19 can be configured to mirror the PWM output channels, but they are not connected to the audio jack.






share|improve this answer

























  • Thanks, that what I was wondering. I wasn't sure if the 3.5mm jack is independent of GPIO or tied into certain pins

    – tshimkus
    Jul 31 at 9:59


















2














The analog audio output is indeed connected to GPIO pins, but not those on the expansion header.



The SoC has 54 general-purpose I/O (GPIO) lines split into two banks, but only a subset of one bank are brought out to the expansion header. Many of the others are used for dedicated purposes e.g sdio interface to the SD card and analog audio.



The analog audio uses both of the 2 PWM channels available so this prevents the use of PWM on the other GPIO pins but all the pins on the expansion header can be used for normal I/O functions.






share|improve this answer



























    Your Answer






    StackExchange.ifUsing("editor", function ()
    return StackExchange.using("schematics", function ()
    StackExchange.schematics.init();
    );
    , "cicuitlab");

    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "447"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fraspberrypi.stackexchange.com%2fquestions%2f101204%2fis-the-3-5mm-audio-jack-tied-to-a-gpio-pin%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    2














    It depends on what you mean.



    The on-board PWM peripheral is used to provide audio to the 3.5 mm audio jack.



    See schematics.



    GPIO 12/13/18/19 can be configured to mirror the PWM output channels, but they are not connected to the audio jack.






    share|improve this answer

























    • Thanks, that what I was wondering. I wasn't sure if the 3.5mm jack is independent of GPIO or tied into certain pins

      – tshimkus
      Jul 31 at 9:59















    2














    It depends on what you mean.



    The on-board PWM peripheral is used to provide audio to the 3.5 mm audio jack.



    See schematics.



    GPIO 12/13/18/19 can be configured to mirror the PWM output channels, but they are not connected to the audio jack.






    share|improve this answer

























    • Thanks, that what I was wondering. I wasn't sure if the 3.5mm jack is independent of GPIO or tied into certain pins

      – tshimkus
      Jul 31 at 9:59













    2












    2








    2







    It depends on what you mean.



    The on-board PWM peripheral is used to provide audio to the 3.5 mm audio jack.



    See schematics.



    GPIO 12/13/18/19 can be configured to mirror the PWM output channels, but they are not connected to the audio jack.






    share|improve this answer













    It depends on what you mean.



    The on-board PWM peripheral is used to provide audio to the 3.5 mm audio jack.



    See schematics.



    GPIO 12/13/18/19 can be configured to mirror the PWM output channels, but they are not connected to the audio jack.







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Jul 31 at 9:22









    joanjoan

    52k3 gold badges52 silver badges84 bronze badges




    52k3 gold badges52 silver badges84 bronze badges















    • Thanks, that what I was wondering. I wasn't sure if the 3.5mm jack is independent of GPIO or tied into certain pins

      – tshimkus
      Jul 31 at 9:59

















    • Thanks, that what I was wondering. I wasn't sure if the 3.5mm jack is independent of GPIO or tied into certain pins

      – tshimkus
      Jul 31 at 9:59
















    Thanks, that what I was wondering. I wasn't sure if the 3.5mm jack is independent of GPIO or tied into certain pins

    – tshimkus
    Jul 31 at 9:59





    Thanks, that what I was wondering. I wasn't sure if the 3.5mm jack is independent of GPIO or tied into certain pins

    – tshimkus
    Jul 31 at 9:59













    2














    The analog audio output is indeed connected to GPIO pins, but not those on the expansion header.



    The SoC has 54 general-purpose I/O (GPIO) lines split into two banks, but only a subset of one bank are brought out to the expansion header. Many of the others are used for dedicated purposes e.g sdio interface to the SD card and analog audio.



    The analog audio uses both of the 2 PWM channels available so this prevents the use of PWM on the other GPIO pins but all the pins on the expansion header can be used for normal I/O functions.






    share|improve this answer





























      2














      The analog audio output is indeed connected to GPIO pins, but not those on the expansion header.



      The SoC has 54 general-purpose I/O (GPIO) lines split into two banks, but only a subset of one bank are brought out to the expansion header. Many of the others are used for dedicated purposes e.g sdio interface to the SD card and analog audio.



      The analog audio uses both of the 2 PWM channels available so this prevents the use of PWM on the other GPIO pins but all the pins on the expansion header can be used for normal I/O functions.






      share|improve this answer



























        2












        2








        2







        The analog audio output is indeed connected to GPIO pins, but not those on the expansion header.



        The SoC has 54 general-purpose I/O (GPIO) lines split into two banks, but only a subset of one bank are brought out to the expansion header. Many of the others are used for dedicated purposes e.g sdio interface to the SD card and analog audio.



        The analog audio uses both of the 2 PWM channels available so this prevents the use of PWM on the other GPIO pins but all the pins on the expansion header can be used for normal I/O functions.






        share|improve this answer













        The analog audio output is indeed connected to GPIO pins, but not those on the expansion header.



        The SoC has 54 general-purpose I/O (GPIO) lines split into two banks, but only a subset of one bank are brought out to the expansion header. Many of the others are used for dedicated purposes e.g sdio interface to the SD card and analog audio.



        The analog audio uses both of the 2 PWM channels available so this prevents the use of PWM on the other GPIO pins but all the pins on the expansion header can be used for normal I/O functions.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jul 31 at 11:41









        MilliwaysMilliways

        33.3k14 gold badges59 silver badges126 bronze badges




        33.3k14 gold badges59 silver badges126 bronze badges






























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Raspberry Pi Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fraspberrypi.stackexchange.com%2fquestions%2f101204%2fis-the-3-5mm-audio-jack-tied-to-a-gpio-pin%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

            Circuit construction for execution of conditional statements using least significant bitHow are two different registers being used as “control”?How exactly is the stated composite state of the two registers being produced using the $R_zz$ controlled rotations?Efficiently performing controlled rotations in HHLWould this quantum algorithm implementation work?How to prepare a superposed states of odd integers from $1$ to $sqrtN$?Why is this implementation of the order finding algorithm not working?Circuit construction for Hamiltonian simulationHow can I invert the least significant bit of a certain term of a superposed state?Implementing an oracleImplementing a controlled sum operation

            Magento 2 “No Payment Methods” in Admin New OrderHow to integrate Paypal Express Checkout with the Magento APIMagento 1.5 - Sales > Order > edit order and shipping methods disappearAuto Invoice Check/Money Order Payment methodAdd more simple payment methods?Shipping methods not showingWhat should I do to change payment methods if changing the configuration has no effects?1.9 - No Payment Methods showing upMy Payment Methods not Showing for downloadable/virtual product when checkout?Magento2 API to access internal payment methodHow to call an existing payment methods in the registration form?