EmbDev.net

Forum: FPGA, VHDL & Verilog FPGA Nexys 2 Spartan 3E Timer with buzzer


von Katja (Guest)


Rate this post
useful
not useful
Hi!
I am trying to create a timer that counts down from 6 to 0 and then 
activates a buzzer. I am using the 50MHz clock on the board and divide 
the frequency to 1/60 Hz so that the counter (connected to the 7seg 
display) counts down in minutes. This part works.
I am also dividing the 50MHz clock on the board to get a frequency to 
send to the buzzer, but the buzzer will not activate. I am using the L15 
pin and GND on the board for the buzzer. I have tried a range of 
400-4000 Hz.
Any ideas as to why the buzzer won't activate? The buzzer is working 
since I tried connecting it to a 3.3V pin and it activated.

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


Rate this post
useful
not useful
Katja wrote:
> Any ideas as to why the buzzer won't activate?
Maybe there's a problem inside the unknown code.

Katja wrote:
> The buzzer is working since I tried connecting it to a 3.3V pin and it
> activated.
Does "activated" mean "beeped"?
So maybe it is an active buzzer that simply needs a supply and not a 
AC- or pulse-signal.

Katja wrote:
> The buzzer is working since I tried connecting it to a 3.3V pin and it
> activated.
How much current needs this buzzer? More than a FPGA pin is able to 
source?


But first question is: is the simulation ok and running fine?
What? You didn't simulate?
Well, know: the simulator is the debugger in a hardware design. And your 
kind of design is easily simulated as most of the stimulus is a clock 
with 50MHz...

: Edited by Moderator
von AmorLogic (Guest)


Rate this post
useful
not useful
Please post VHDL, testbench and electronic schematic.

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.