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;
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
|
show 1 more comment
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
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
|
show 1 more comment
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
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
gpio pi-2 audio
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
|
show 1 more comment
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
|
show 1 more comment
2 Answers
2
active
oldest
votes
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.
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
add a comment |
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.
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
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
add a comment |
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.
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
add a comment |
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.
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.
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
add a comment |
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
add a comment |
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.
add a comment |
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.
add a comment |
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.
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.
answered Jul 31 at 11:41
MilliwaysMilliways
33.3k14 gold badges59 silver badges126 bronze badges
33.3k14 gold badges59 silver badges126 bronze badges
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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