Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)

connect output to gpio

Altera_Forum
Honored Contributor II
942 Views

hi,i want to connect buzzer as output to gpio..i want to assign it to my water level detector output which the buzzer will turn on when the water level is at highest level. i already have the output displayed on lcd and seven segment but now i'm not sure how can i assign it to turn on the buzzer. do i need to do coding to enable/disable the gpio? when i simply connect the buzzer, it always produce the sound..can anyone help me how to make the buzzer only turn on at the highest water level? 

thanks....
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
282 Views

Hi, 

 

Basic question: what makes the buzzer buzz? If it buzzes when it's driven high/low you need to implement the logic that controlls the GPIO to enable/disable the buzzer. What do you know about the IO-standard of the buzzer, and is that matched by the IO-standard in the FPGA? 

 

Regards 

J
0 Kudos
Reply