Implement TX switch activated buzzer in Alienwii
Posted: Sat Aug 29, 2015 6:56 am
I would like to know if it is possible to set up a buzzer connected to the Alienwii to be activated by a switch on the TX in the event of a lost quad. The processor in the Alienwii is the ATmega 32u4 and according to this
http://forum.arduino.cc/index.php?topic=241369.0
the MISO pin in the bootloader programming pins (6pin ICSP header) can be used as digital pin 14 and likewise the Mosi pin as digital pin 16. Using a Spektrum DX6, in Multiwii one switch is assigned to flight mode selection and I would like the other switch to be set to activate a buzzer powered from either Miso or Mosi upon activation of the appropriate TX switch. Motor arming would then be done via stick commands as this setup would use all six channels of the available on the DX6. Would anyone be able to take a look at the appropriate code in the Multiwii 2.4 files to see how this might be achieved please. Thanks in advance to anyone who might be able to help.
http://forum.arduino.cc/index.php?topic=241369.0
the MISO pin in the bootloader programming pins (6pin ICSP header) can be used as digital pin 14 and likewise the Mosi pin as digital pin 16. Using a Spektrum DX6, in Multiwii one switch is assigned to flight mode selection and I would like the other switch to be set to activate a buzzer powered from either Miso or Mosi upon activation of the appropriate TX switch. Motor arming would then be done via stick commands as this setup would use all six channels of the available on the DX6. Would anyone be able to take a look at the appropriate code in the Multiwii 2.4 files to see how this might be achieved please. Thanks in advance to anyone who might be able to help.