CC3D - Add Buzzer support to PA15.

See Docs for details.
This commit is contained in:
Dominic Clifton 2014-09-19 21:35:30 +01:00
parent 41ff2e8d0e
commit 9c87b99f5f
3 changed files with 18 additions and 0 deletions

View File

@ -20,3 +20,16 @@ Example of a known-working buzzer.
http://www.rapidonline.com/Audio-Visual/Hcm1205x-Miniature-Buzzer-5v-35-0055
## Connections
### Naze32
Connect a supported buzzer directly to the BUZZ pins. Observe polarity.
### CC3D
Buzzer support on the CC3D requires that a buzzer circuit be created to which the input is PA15.
PA15 is unused and not connected according to the CC3D Revision A schematic.
Connecting to PA15 requires careful soldering.
See the CC3D - buzzer circuir.pdf for details.

Binary file not shown.

View File

@ -29,6 +29,11 @@
#define GYRO
#define INVERTER
#define BEEP_GPIO GPIOA
#define BEEP_PIN Pin_15 // PA15 (Beeper)
#define BEEP_PERIPHERAL RCC_APB2Periph_GPIOA
// #define SOFT_I2C // enable to test software i2c
// #define SOFT_I2C_PB1011 // If SOFT_I2C is enabled above, need to define pinout as well (I2C1 = PB67, I2C2 = PB1011)
// #define SOFT_I2C_PB67