Not Working the Buzzer with HAT on Rasberrypi4

Hi Team,



When I used the following buzzer with HAT on Rasberrypi4, it was not worked correctly with the sample code.

https://www.seeedstudio.com/Grove-Buzzer.html

Here is the code which I used on this test.



sudo grove_pwm_buzzer



Note: When I used it on Rasberrypi3, it was worked correctly with the sample code.



Best regards.

Kaka

Hi,



Can you check the buzzer by connecting the Data Pin to Raspberry Pi 3.3v and GND to Raspberry Pi GND Pin, by this setup the buzzer makes a sound if not buzzer might be broken? please check and share your findings.

Hi,



Yes, the buzzer was worked.



Best regards.

Kaka

Happy to know that :slight_smile: , Happy Making .

No, the buzzer was worked but if the buzzer was not worked with rasberrypi4 with HAt.



Best regards.

Kaka

Hi,



Have the same problem with the same configuration !?!?

Hi



Yes.



Buzzer on HAT with Raspi3 and basic code : Working

Buzzer on HAT with Raspi4 and basic code : Not working



Best regards.

Kaka

Hi,

Is there any error? also, can you share the code?

Hi



I have just used the default sample code which it was installed by following command.



$ curl -sL <LINK_TEXT text=“https://github.com/Seeed-Studio/grove.p … install.sh”>https://github.com/Seeed-Studio/grove.py/raw/master/install.sh</LINK_TEXT> | sudo bash -s -

$ sudo grove_pwm_buzzer





Best reagrds.

Kaka