Hello guest, if you read this it means you are not registered. Click here to register in a few simple steps, you will enjoy all features of our Forum.
This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Vifly 2 buzzer function
#1
hello all,
I have a vifly2 trying to make buzzer work through fc. it works but the buzzer sounds like it under water. i have two of these and they both sound the same when activated through momentary switch on taranis. but when you disconnect battery and let thm chrip they sound fine with no issues. it only sounds garbled when activated.
quad 1                                      quad 2
jb f4 fc                                      cl racing f4
tekko 32 4 in 1 esc                     airbot bumpbee esc

normal buzzers work fine. its just the vifly 2 buzzers sound like crap when activated, bur work fine when power removed.
Reply
Login to remove this ad | Register Here
#2
Others seem to have the same problem without any solution.

https://www.reddit.com/r/Multicopter/com...er_issues/

I would test the buzzer with continuous voltage to the buzzer to see if it is muffled or not. Wire ground to ground, 5V to 5V and ground to buz-. You are trying to simulate a toggle trigger. If you get a clear loud sound, then it is probably the intermittent power/beeper pattern that the FC is sending the buzzer that is causing the problem. In this case, you would want the beeper pattern with longer on time to kick the Vifly into the louder sound. The only way to change beeper pattern is to custom alter and compile your own firmware.

If the sounds is still muffled with continuous voltage, then it could just be the circuitry of the Vifly. In that case, you can't really do anything about it.
Reply
#3
Mine does the same thing. I can still hear it fine out in the field when searching.
Reply
#4
ok i figured it out. after long hours looking at cli and being and idiot. the fix for me was
set beeper_frequency = 0
that was the fix on both quads
[-] The following 1 user Likes dvs's post:
  • Sugs
Reply
#5
Set beeper_frequency = 0 should be the default setting. I wonder how it got change to anything else. Anything other than 0 makes the FC generate a PWM frequency for passive beeper that requires a square wave to make sounds. Glad you got it figured out.
Reply
#6
What are the chances of that. You have two of the few F4 boards in existence that have a timer assigned to the Buzzer pins/pads which allows you to set a PWM frequency. Pretty much all the other F4 boards will ignore any frequency value you set and just automatically revert it back to zero (due to no timer assignment on the buzzer output).

The JB F4 is based on the CL Racing F4S and they both have a timer on the buzzer pins/pads which is why you were able to reproduce the same issue on both boards. That probably also explains why (not many) others have experienced the same issue.

I never had any issues with my ViFly V2 buzzer but I'm running a Matek FC that doesn't support PWM on the buzzer pins/pads, plus I have it wired in parallel with the existing buzzer which is part of the LED tail light board so it's kind of difficult to know if it's quieter than it should be with two buzzers blaring away Big Grin
Reply
#7
I have both of these FC. I wonder if the default setting is different.
Reply
#8
(04-Apr-2019, 07:33 PM)voodoo614 Wrote: I have both of these FC. I wonder if the default setting is different.

One way to find out. Run the "defaults" CLI command and see what beeper frequency value you end up with.
Reply
#9
(04-Apr-2019, 08:36 PM)SnowLeopardFPV Wrote: One way to find out. Run the "defaults" CLI command and see what beeper frequency value you end up with.

That was the plan. I had a feeling it is not zero. Because in the CL Racing F4 instructions, they mentioned to change the frequency to zero.
Reply
#10
(04-Apr-2019, 10:46 PM)voodoo614 Wrote: That was the plan. I had a feeling it is not zero. Because in the CL Racing F4 instructions, they mentioned to change the frequency to zero.

No need to any more. I just looked in the target definition file HERE. The default is set to 3800Hz. Something to remember for the future in case anyone else has any kind of beeper issues with the CL Racing F4S or JB F4 flight controllers.

Code:
#define BEEPER_PIN                PB4
#define BEEPER_INVERTED
#define BEEPER_PWM_HZ             3800 // Beeper PWM frequency in Hz
Reply
#11
I am surprised JB have not made a video of this.
Reply
#12
damn you guys beat me to it. yes the default is not zero. it kind of a pain in the a z z . buy this cool beeper and it sounds like its broke. serveral people did have this issue with no results. i hope people find this cool forum for the answer.
Reply
#13
(04-Apr-2019, 11:40 PM)dvs Wrote: damn you guys beat me to it. yes the default is not zero. it kind of a pain in the a z z . buy this cool beeper and it sounds like its broke. serveral people did have this issue with no results. i hope people find this cool forum for the answer.

Any relative search for help about FPV will result in this forum. Their loss for not finding this place.
Reply
#14
Awesome finding the solution DVS! I do have the CL Racing F4S, so now I can fix it!
Reply
#15
(05-Apr-2019, 02:23 AM)Sugs Wrote: Awesome finding the solution DVS!  I do have the CL Racing F4S, so now I can fix it!

yeah that underwater crap was pissin me off! i was ready to go off on the vifly! hope it works out! Buzzers loud as crap!
[-] The following 1 user Likes dvs's post:
  • Sugs
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Camera Servo Function bobally 5 344 17-Oct-2023, 08:39 PM
Last Post: voodoo614
  Combined led / buzzer unit needs 4 or 5 wires? PJKMBAKER 3 364 12-Oct-2023, 08:41 PM
Last Post: PJKMBAKER
  Wiring for buzzer w/battery on my F7 board comster 5 2,571 08-Mar-2021, 04:03 PM
Last Post: comster
  Vifly buzzer J.morris 4 2,616 07-Mar-2021, 10:38 PM
Last Post: SnowLeopardFPV
  gps and buzzer reelu 7 1,416 09-Feb-2021, 05:25 PM
Last Post: Fiction


Login to remove this ad | Register Here