Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

how to input a tone on fpga

Status
Not open for further replies.

ranjani10

Newbie level 2
Joined
Oct 13, 2011
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,294
hi ..i have been given a task where when i press any letter on the keyboard my output must be sound the sound of that corresponding alphabet.
any 5 alphabets can be chosen and done using vhdl pgm in fpga.
1.now my que is how to input the tone which says A when pressed in the keyboard through the pins ??
2.pls guide me with ur ideas on how to go about this task assigned to me ,
 

Helo there!
Didn't quite understand your question. You have to make the speaker "say" for example, the letter A when you press the corresponding A keyboard button?
If this is it, the you'll have quite a trouble ;-)
 

Pronounce the letters yourself and record it using a sound recorder software.
Use matlab to process(crop or convert to required format) the sound file.
create a ROM for the fpga you are using coregen(for xilinx) and initialize the memory with the sound file.
when the particular letter is pressed send the contents of particular ROM to the output and output it through a speaker.
You may need a DAC here.
 

Hi,
As I understood it is very simple task.
What you will need is max 6 I/O lines of FPGA to connect a 3x3 keyboard to it.
Once a key is pressed that can be detected using ROW and Column Pin. Hope you know this...This is simple keyboard interface.
Now Lets say you have 10KHz clk (Audible Frequency) input to FPGA. Then you can give out that clk as follows:
Key 1 pressed ---> clk 10KHz
Key 2 pressed ---> clk 10K /2 ....(divide by 2 = 5 kHz)
Key 3 pressed ---> clk 10K /4 . ..... 2.5KHz
Key 4 pressed ---> clk 10K /8
Key 5 pressed ---> clk 10K /16
On output you have to connect small transistor amplifier to speaker out for tone.
Hope this is useful.

Do you want to pronounce a letter?

---------- Post added at 05:07 ---------- Previous post was at 05:06 ----------

Hi,
As I understood it is very simple task.
What you will need is max 6 I/O lines of FPGA to connect a 3x3 keyboard to it.
Once a key is pressed that can be detected using ROW and Column Pin. Hope you know this...This is simple keyboard interface.
Now Lets say you have 10KHz clk (Audible Frequency) input to FPGA. Then you can give out that clk as follows:
Key 1 pressed ---> clk 10KHz
Key 2 pressed ---> clk 10K /2 ....(divide by 2 = 5 kHz)
Key 3 pressed ---> clk 10K /4 . ..... 2.5KHz
Key 4 pressed ---> clk 10K /8
Key 5 pressed ---> clk 10K /16
On output you have to connect small transistor amplifier to speaker out for tone.
Hope this is useful.

Do you want to pronounce a letter?
 

thanks vipinlal

---------- Post added at 08:46 ---------- Previous post was at 08:46 ----------

thanks a lot ! ll follow the steps as u have guided !
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top