EmbDev.net

Forum: FPGA, VHDL & Verilog Audio Interfacing with FPGA


von Jack Born (Guest)


Rate this post
useful
not useful
I would like to connect 3.5 mm audio jack to nexys 3 board but have no 
idea how to do so.. I am a beginner with regards to fpgas and vhdl 
coding

von Lothar M. (Company: Titel) (lkmiller) (Moderator)


Rate this post
useful
not useful
Jack Born wrote:
> I would like to connect 3.5 mm audio jack to nexys 3 board
Why? For what reason?

> but have no idea how to do so..
Fist step has absolutely nothing to do with FPGAs or VHDL: you must 
connect an AD converter to the FPGA.

> I am a beginner with regards to fpgas and vhdl coding
Then don't start with such a fairly demanding task (for a beginner). 
Instead start with the "blinking led", the "chasing light", and some 
RS232 and VGA, just to learn the very basics of hardware design. If you 
do not, you will crash...

von Jack Born (Guest)



Rate this post
useful
not useful
Yes I was thinking of buying an ADC converter as the one shown.  I know 
it sounds noobish but am not sure how to connect the audio jack's left 
and right channels to the respective data 1 and data 2 pins.

von Lothar M. (Company: Titel) (lkmiller) (Moderator)


Rate this post
useful
not useful
Jack Born wrote:
> not sure how to connect the audio jack's left and right channels to the
> respective data 1 and data 2 pins.
Not at all. Read the documentation for the ADC module, then you will see 
that you have to connect the audio source to P1 and P3. Data1 and Data2 
are the digital serial ADC outputs.

: Edited by Moderator
von Jack Born (Guest)


Rate this post
useful
not useful
But how can a 3.5 mm jack be connected to 2 ports simultaneously?

von Lothar M. (Company: Titel) (lkmiller) (Moderator)


Rate this post
useful
not useful
Jack Born wrote:
> But how can a 3.5 mm jack be connected to 2 ports simultaneously?
It may be a stereo jack...
http://en.wikipedia.org/wiki/Phone_connector_%28audio%29

von Jack Born (Guest)


Attached files:

Rate this post
useful
not useful
yes but how do i connect the stereo jack with the adc converter shown in 
the picture?

von Lothar M. (Company: Titel) (lkmiller) (Moderator)


Rate this post
useful
not useful
Jack Born wrote:
> yes but how do i connect the stereo jack with the adc converter shown in
> the picture?
Get a soldering iron and start. Maybe you must add a offset voltage to 
get the audio signal into mid range of the adc input:
1
The AD1 converts an analog input signal ranging from 0-3.3 volts 
2
to a 12-bit digital value in the range 0 to 4095.

So you will need something like this here:
1
                o
2
                |
3
               10k   
4
                |
5
In Left   --||--o---- P1 of ADC
6
         470n   |
7
               10k   
8
                |
9
               GND
10
11
In GND ---.
12
          |
13
         GND
14
15
                o 3V3
16
                |
17
               10k   
18
                |
19
In Right  --||--o---- P3 of ADC
20
         470n   |
21
               10k   
22
                |
23
               GND

> with the adc converter shown in the picture
Its an AD1 module from Digilent. Just WRITE down this little fact 
instead of digging in the mud for over 2 hours just to find out a little 
snippet of information...

von Jack Born (Guest)


Rate this post
useful
not useful
actually thought i couldn't mention any brands, thanks I will dig around 
a bit and let u know how I got off

von P. K. (pek)


Rate this post
useful
not useful
Maybe this could be a solution for you (ADC included...):
http://uk.farnell.com/digilent/210-191/peripher-mod-stereo-jack-pmodi2s/dp/2061865

von Jack Born (Guest)


Rate this post
useful
not useful
thats converting digital to analog not analog to digital :/

von uwe (Guest)


Rate this post
useful
not useful

von Hobbyorganist (Guest)


Rate this post
useful
not useful
The Nexys has 4 PMOD connectors. There are a number of audio IFs out to 
purchase in PMOD standard from Digilent.

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.