This forum is dedicated to software development related to MultiWii.
It is not the right place to submit a setup problem.
Software download
-
Spencer
- Posts: 2
- Joined: Wed May 01, 2013 9:46 am
Post
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.
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
-
Tvixen
- Posts: 18
- Joined: Sun Jun 02, 2013 7:10 pm
- Location: Tune - Denmark
Post
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
Last edited by
Tvixen on Wed Jun 26, 2013 9:58 am, edited 1 time in total.
-
Hamburger
- Posts: 2582
- Joined: Tue Mar 01, 2011 2:14 pm
- Location: air
-
Contact:
Post
by Hamburger »
use the override.buzzerpin feature from config.h
-
Tvixen
- Posts: 18
- Joined: Sun Jun 02, 2013 7:10 pm
- Location: Tune - Denmark
Post
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
-
Hamburger
- Posts: 2582
- Joined: Tue Mar 01, 2011 2:14 pm
- Location: air
-
Contact:
Post
by Hamburger »
no. it works for all boards. YOU must find the correct pin and port commands for your hardware though.
-
dorty
- Posts: 5
- Joined: Thu May 01, 2014 1:53 pm
Post
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);
-
ASAP
- Posts: 8
- Joined: Mon Nov 17, 2014 6:51 pm
Post
by ASAP »
Hi dorty!
Did you use any external transistor between the multiwii pro and the buzzer?
or did you connect it directly?