FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.

cyclone II buzzer or sound

Altera_Forum
Honored Contributor I
1,167 Views

i am using the cyclone II DE2 board to do an assignment with the title alarm clock... normally we are using the LED to represent the alarm sound... i would like to ask izit possible that make DE2 playing some sound or any other way to perform it?

0 Kudos
4 Replies
Altera_Forum
Honored Contributor I
148 Views

There is a CODEC chip on the DE2 board which will allow you to play (and record) sounds, but thats significantly harder than making an LED turn on. 

 

Your best bet is to buy a piezo electric buzzer and attach it to one of the GPIOs.
Altera_Forum
Honored Contributor I
148 Views

what is GPIO?

Altera_Forum
Honored Contributor I
148 Views

Did you use NIOS II for alarm clock or direct HW? 

 

I think you need to use NIOS II and right drivers to initialize and use CODEC chip. 

 

Easiest way is to get Piezo buzzer and control it with selected GPIO. 

 

If you want to use IO pin to audio output for amplifier then this may help. Examples are in Verilog. 

http://www.fpga4fun.com/musicbox.html 

 

Edit: 

GPIO (General Purpose Input Output). Usually mean pin in FPGA.
Altera_Forum
Honored Contributor I
148 Views

In this context, the GPIOs are those two 40 pin connectors on the DE2.

Reply