by Kisssys » Thu Jun 20, 2013 9:26 pm
// ***************************************************************
// ** Spektrum Diversity v2.1 - use up to 4 satellite receivers **
// ***************************************************************
// ** Spektrum DSMX Binding Extension by Johannes Stein 2011/03 **
// ** **
// ** 3 Pulses = DSM2 1024/22ms **
// ** 5 Pulses = DSM2 2048/11ms **
// ** 7 Pulses = DSMX 22ms **
// ** 9 Pulses = DSMX 11ms **
// ** **
// ** Target: An Atmel ATtiny2313 (RC-Oscillator @ 8 MHz) **
// ** controls a 74HC151 Multiplexer **
// ***************************************************************
// ** It monitors the data from 4 satellite receivers and **
// ** connects a valid one to the output via the multiplexer **
// ***************************************************************
// ** LED-Modes during startup **
// ** ************************ **
// ** LED fast flash: Waiting for first signal **
// ** **
// ** LED-Modes during operation **
// ** ************************** **
// ** LED flash 1x - 4x: Shows which channel is active every 2s **
// ** LED ON after flash: FAILURE - A used signal was lost **
// ** **
// ** LED-Modes after Self-Test and pressed button **
// ** ******************************************** **
// ** LED flashes at 1 Hz: Everything is fine **
// ** LED flashes some times: Times flashed -> damaged Channel# **
// ** LED off: check voltage(regulator), button or firmware **
// ***************************************************************
// ** (c) 2010-0xFFFF Stefan Pendsa **
// ** License: don't know - use it and have fun **
// ***************************************************************
Steve
Kisssys