I’m trying to connect a buzzer to jetson xavier NX through Jetson.GPIO library in python, I tried a lot and I couldn’t seem to get it right, I also made a lot of research about this and couldn’t find any useful information.
Can you help me?
I’m trying to connect a buzzer to GPIO so I can control when it beeps and when it stops through python.
I have poor experience with GPIO settings so I may not further help, but you may tell if you want to use an active buzzer that will just make a given sound when powered, or a passive buzzer that would require a PWM output.
I want to use a buzzer as output, one pin on ground and the other on a gpio pin, when I trigger it as HIGH it will beep, when I trigger it as LOW it will stop, simple but I couldn’t get it right for some unknown issue that I don’t know how to fix.
I’ve tried the solutions they provided in the jetson-gpio github page, it seems that the buzzer works but there is a very low sound going from it, just like “tssssss”.
I’ve tested the buzzer by connecting it to 3.3V and 5V, it is working properly, but when I try to use it on board pin 12, the sound is so low and like a tssss sound, not a beep.
Please help me
I was able to use the GPIO pin 12 using a npn transistor, since the Jetson can’t give enough current to open the alarm sound.
I’ve used the transistor as a switch, so when I give current to the base the switch will open and the alarm will go on.
Thank you in advance!!
I wish to create feedback for the user, and need to output pre-recorded voice, not just beeps and other simple sounds. I also know that I will need to use an amplifier, but that’s not the issue.
I am also trying to do the same, to my understanding the GPIO pins have a maximum of +/-1 mA, is this correct? The require amperage for my buzzer is 25 mA, I am trying to to use pin 1 (3.3v) along with a transistor. I cannot seem to find any information as to what the maximum amount of current for pin 1 can supply is.