Alright, finally I have voltage feedback/divider working on my Multiwii. I can't seem to get a buzzer/piezzor speaker working for voltage alarm though.
I'm using a multiwii pro 2.0 from readytoflyquads and have my voltage/vbat on A14. I've tried the buzzer on A15 and D8 and uncommented the #define buzzer and pin override but can't seem to get any output. I've changed the voltage alarms to higher levels to try to test but no sound is produced.
Just looking for any tips and or ideas to get it going. Also if anyone knows what is the PORT C and PORT B code in the buzzer section of the config.h?
Help with buzzer setup for voltage alarm
Re: Help with buzzer setup for voltage alarm
HI histo,
Your flight controller is a MEGA, the related section in def.h reveals that the BUZZERPIN matches to digital pin D32 (due to the Arduino naming scheme) or PORTC5 (due to teh Atmel naming scheme). D8 is only valid for the PROMINI, a smaller flight controller. A2 is only applied, if you have uncommented the OVERRIDE_BUZZERPIN_XXX definitions.
You are right, furthermore you have to uncomment #define BUZZER and that should be all you have to do.
Have fun!
Your flight controller is a MEGA, the related section in def.h reveals that the BUZZERPIN matches to digital pin D32 (due to the Arduino naming scheme) or PORTC5 (due to teh Atmel naming scheme). D8 is only valid for the PROMINI, a smaller flight controller. A2 is only applied, if you have uncommented the OVERRIDE_BUZZERPIN_XXX definitions.
You are right, furthermore you have to uncomment #define BUZZER and that should be all you have to do.
Have fun!
-
- Posts: 10
- Joined: Thu Feb 13, 2014 6:38 am
Re: Help with buzzer setup for voltage alarm
Hi I am struggling with the exact same problem .........just can't get a beep out of the buzzer .........I have assigned v-bat to A14 ...... Now The power meter is working on GUI .............. did you ever get resolution ??
Re: Help with buzzer setup for voltage alarm
Have you defined BUZZER ?
Have you connected the BUZZER to the right port?
Is your BUZZER a piezo type?
Have you connected the BUZZER to the right port?
Is your BUZZER a piezo type?