Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 5 of 5

Thread: Audio Adapter's Aux port as an Input

  1. #1
    Junior Member
    Join Date
    Aug 2016
    Posts
    15

    Audio Adapter's Aux port as an Input

    Hey, I think the answer to this question will be really simple but I've been trying to figure it out for a while now. I'd like to plug an aux cable into the jack on the audio adapter and have that as a way to input audio for FFT. In the code, whenever I choose "line in" as the input, it is referring to the holes on the other side of the board. How in the world do I use this aux jack as an input? Thanks for the help!

    PS. 1st post! Hopefully with many more to come. The project I've been working on (a good 'ol LED strip reacting to music) finally got too big for the Arduino so I've made the jump to Teensy.

  2. #2
    Senior Member Ben's Avatar
    Join Date
    Jul 2013
    Location
    Germany
    Posts
    401
    The TRS-Jack is really only a headphone output, it cannot be used as an input. The line-in ("aux input") is only available at the solder pads you mentioned.

  3. #3
    Junior Member
    Join Date
    Aug 2016
    Posts
    15
    Ah, that explains it. You think it's possible / a good idea to solder wires from the contacts on the aux jack over top of the board to the line in solder pads? It's either I do that or I just bought some separate aux jacks that I can do that with.

  4. #4
    Senior Member Ben's Avatar
    Join Date
    Jul 2013
    Location
    Germany
    Posts
    401
    You could, in theory, do that. But you'd also have to cut three traces on the adaptor board to disconnect the jack from the headphone output pins on the SGTL5000 IC.

    A better solution is to use the fact that the pin arrangement of the solder pads is intentionally the same as on any PC mainboard, so you can use these kind of adaptors: https://www.amazon.com/Computer-Fron...nt+audio+cable.
    I only did a quick search to get you a link and didn't find any adaptors without the USB part, but I'm sure you can see what I'm referring to. If you want to use one of these adaptors you'd solder male header pins to the audio board.

    This latter solution is the "official" way to connect a TRS-jack to the line in. It also leaves the headphone jack intact, which is nice to have if you ever want to re-purpose the board in another project.

    Edit: Soldering any other aux jacks to the solder pads is of course also a viable solution!

  5. #5
    Junior Member
    Join Date
    Aug 2016
    Posts
    15
    Thanks Ben! That helps a lot and I found a cable with audio only. Link for anyone interested

    I think for now I'll stick with the extra aux jack I have since I'm just building a prototype. That's all good to know though!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •