Page 1 of 1

MultiWii 2.2 buzzer bug

Posted: Wed May 01, 2013 10:06 am
by Spencer
Hi

when i put a buzzer on TXO pin it will beep permanetly (MultiWii 2.2).

Code: Select all

#define BUZZER
#define RCOPTIONSBEEP

On pin D8 it works, but i need D8 for AUX1.

Code: Select all

#define D8BUZZER


With MultiWii 2.1 the buzzer works fine on TXO pin.
Is it a general software bug or is it depending on my Nanowii 0.5?


-Sven

Re: MultiWii 2.2 buzzer bug

Posted: Wed Jun 26, 2013 9:26 am
by Tvixen
Well know it's a small consolation, but it does not work on "HK MultiWii PRO Flight Controller w/MTK GPS Module" too.

It's because these boards has a different pin configuration.

(But use the Port command to setup your Buzzer. This will work.)


/Tvixen

Re: MultiWii 2.2 buzzer bug

Posted: Wed Jun 26, 2013 9:53 am
by Hamburger
use the override.buzzerpin feature from config.h

Re: MultiWii 2.2 buzzer bug

Posted: Wed Jun 26, 2013 10:01 am
by Tvixen
Hamburger wrote:use the override.buzzerpin feature from config.h


This function doesen't work on the HK Multiwii PRO board. Sso maybe it does not work on his board to :?:




/Tvixen

Re: MultiWii 2.2 buzzer bug

Posted: Wed Jun 26, 2013 11:43 am
by Hamburger
no. it works for all boards. YOU must find the correct pin and port commands for your hardware though.

Re: MultiWii 2.2 buzzer bug

Posted: Thu May 01, 2014 1:56 pm
by dorty
Here is my Solution ... this will use "D8" [in this case PORT-H5] on "MultiWii Pro HK" for Buzzer

#define OVERRIDE_BUZZERPIN_PINMODE pinMode (8, OUTPUT); // use D8
#define OVERRIDE_BUZZERPIN_ON PORTH |= 1<<5
#define OVERRIDE_BUZZERPIN_OFF PORTH &= ~(1<<5);

Re: MultiWii 2.2 buzzer bug

Posted: Sun Nov 23, 2014 4:02 pm
by ASAP
Hi dorty!
Did you use any external transistor between the multiwii pro and the buzzer?
or did you connect it directly?