Posts: 18 Threads: 7 Likes Received: 2 in 2 posts Likes Given: 0 Joined: Dec 2018 Reputation: 0 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. • Posts: 12,098 Threads: 125 Likes Received: 3,739 in 2,836 posts Likes Given: 99 Joined: Feb 2017 Reputation: 388 03-Apr-2019, 04:32 AM (This post was last modified: 03-Apr-2019, 04:33 AM by voodoo614.) 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. • Posts: 1,013 Threads: 11 Likes Received: 452 in 349 posts Likes Given: 372 Joined: Dec 2017 Reputation: 16 Mine does the same thing. I can still hear it fine out in the field when searching. • Posts: 18 Threads: 7 Likes Received: 2 in 2 posts Likes Given: 0 Joined: Dec 2018 Reputation: 0 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:1 user Likes dvs's post • Sugs Posts: 12,098 Threads: 125 Likes Received: 3,739 in 2,836 posts Likes Given: 99 Joined: Feb 2017 Reputation: 388 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. • Posts: 21,416 Threads: 595 Likes Received: 9,039 in 6,690 posts Likes Given: 1,428 Joined: Jun 2018 Reputation: 796 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 • Posts: 12,098 Threads: 125 Likes Received: 3,739 in 2,836 posts Likes Given: 99 Joined: Feb 2017 Reputation: 388 I have both of these FC. I wonder if the default setting is different. • Posts: 21,416 Threads: 595 Likes Received: 9,039 in 6,690 posts Likes Given: 1,428 Joined: Jun 2018 Reputation: 796 (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. • Posts: 12,098 Threads: 125 Likes Received: 3,739 in 2,836 posts Likes Given: 99 Joined: Feb 2017 Reputation: 388 (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. • Posts: 21,416 Threads: 595 Likes Received: 9,039 in 6,690 posts Likes Given: 1,428 Joined: Jun 2018 Reputation: 796 (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
• Posts: 12,098 Threads: 125 Likes Received: 3,739 in 2,836 posts Likes Given: 99 Joined: Feb 2017 Reputation: 388 I am surprised JB have not made a video of this. • Posts: 18 Threads: 7 Likes Received: 2 in 2 posts Likes Given: 0 Joined: Dec 2018 Reputation: 0 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. • Posts: 12,098 Threads: 125 Likes Received: 3,739 in 2,836 posts Likes Given: 99 Joined: Feb 2017 Reputation: 388 (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. • Posts: 1,013 Threads: 11 Likes Received: 452 in 349 posts Likes Given: 372 Joined: Dec 2017 Reputation: 16 Awesome finding the solution DVS! I do have the CL Racing F4S, so now I can fix it! • Posts: 18 Threads: 7 Likes Received: 2 in 2 posts Likes Given: 0 Joined: Dec 2018 Reputation: 0 (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:1 user Likes dvs's post • Sugs |