Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
12 years ago

connect output to gpio

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....

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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