Commit Graph

27 Commits

Author SHA1 Message Date
Ricardo de Almeida Gonzaga 1062aed91e Tools: Fix typos 2016-05-13 19:20:07 -03:00
Lucas De Marchi 36336e17b3 Tools: replace header guard with pragma once 2016-03-16 18:40:45 +11:00
John Arne Birkeland e4498b7bd1 ArduPPM V2.3.17
- Disabled fail-safe output when signal is missing in PPM pass-trough (PPMSUM) mode (feature depreciated by addition of missing signal detection in APM code)
- ppm_encoder_init() will now make sure PPM output always starts with fail-safe (900us) value on throttle after a brown-out reset
2013-12-17 11:26:04 +09:00
Julian Oes 54fffd1348 ArduPPM: version 2.3.16 for release 2013-03-02 10:00:00 +09:00
Julian Oes 875103fc59 ArduPPM: Versioning cleanup, 2.3.16 should be the next official release 2013-03-02 09:59:56 +09:00
John Arne Birkeland bcd142ec0b PPMEncoder - bug fix from previous commit 2013-03-02 09:59:14 +09:00
John Arne 4f9b787e04 Update Tools/ArduPPM/Libraries/PPM_Encoder.h
- Small optimization
2013-03-02 09:53:31 +09:00
Julian Oes a0b0df0252 ArduPPM: Set Ch1-4 to their fail-safe position and leave Ch5-8 at their last value 2013-03-02 09:53:25 +09:00
Julian Oes 8b7c75a700 ArduPPM: Changed the behaviour of the PPM encoder: if a channel is lost retain its last value instead of a fail-safe value (except for Ch3/throttle) 2013-03-02 09:53:21 +09:00
Julian Oes 9d0f117c5d ArduPPM: Another small fix found by John Arne 2013-01-13 20:30:35 -08:00
Julian Oes ca5689c8b7 ArduPPM: small bugfix, small speed-up proposed by John Arne 2013-01-13 19:53:18 -08:00
Julian Oes 5f84b5a5dd ArduPPM: latest changes are now disabled by default, throttle low triggering by single channel errors and also recovering from a throttle low event can be enabled with defines 2013-01-11 15:37:03 -08:00
Julian Oes ef6268f62a ArduPPM: changes for throttle low indication and also recovery after a throttle low indication are now set with defines 2013-01-11 15:08:13 -08:00
Julian Oes 70ce94ee88 ArduPPM: added a define for throttle low fail-safe indication 2013-01-11 13:20:50 -08:00
Julian Oes 71b2c3e13d ArduPPM: throttle failsafe is now triggered on single channel loss but recovery from the throttle low is possible 2013-01-11 13:20:49 -08:00
John Arne Birkeland d5364571a8 ArduPPM V2.3.13
- New interrupt system that handles certain Futaba receivers better (simultaneous changes on groups of R/C channels in fast intervals)
- Improved active channel detection requering 100 valid pulses before channel is marked active

- Removed forced throttle fail-safe after channel loss
- Lost channel detection signal for APM by setting channel output to 800us (not activated yet, need APM code to handle signals)
2012-12-16 18:07:55 +01:00
John Arne Birkeland 77fa51dcec ArduPPM v2.3.12 ATMega32u2 (APM 2.x)
---------------------------------------------
- New improved fail-safe detection and handeling for single or multible signal loss and receiver malfuntion
- Improved LED status for APM 2.x
- Improved jitter performance (PPM output using nested interrupts)

-------------------------------------------------------------
ARDUPPM OPERATIONAL DESCRIPTION
-------------------------------------------------------------

APM 2.x LED STATUS:
-------------------
RX - OFF         = No input signal detected
RX - SLOW TOGGLE = Input signal OK
RX - FAST TOGGLE = Invalid input signal(s) detected
RX - ON          = Input signal(s) lost during flight and fail-safe activated
TX - OFF         = PPM output disabled
TX - FAST TOGGLE = PPM output enabled
TX - SLOW TOGGLE = PPM pass-trough mode

SERVO INPUT (PWM) MODE:
 -----------------------
- PPM output will not be enabled unless a input signal has been detected and verified
- Verified inputs are lost during operaton (lose servo wire or receiver malfunction):
  + The PPM output channel for the lost input will be set to the default fail-safe value
  + PPM throttle output (ch3) will be permanently set to fail-safe (900us)
- Lost channel signal is restored:
  + PPM output for the restored channel will be updated with the valid signal
  + PPM throttle output (ch3) will not be restored, and will continue to output fail-safe (900us)

PPM PASS-THROUGH MODE (signal pin 2&3 shorted):
-----------------------------------------------
- PPM output will not be enabled unless a input signal has been detected
- Active signal on input channel 1 has been detected:
  + Any input level changes will be passed directly to the PPM output (PPM pass-trough)
  + If no input level changes are detected withing 250ms:
    + PPM output is enabled and default fail-safe values for all eight channels transmitted
    + Input level change detected again, PPM fail-safe output is terminated and normal PPM pass-through operation is restored
2012-11-23 21:53:35 +01:00
John Arne Birkeland be697724ac Improved watchdog timer reset, so that only valid input signals will prevent the watchdog timer from triggering 2012-11-16 12:51:34 +01:00
John Arne Birkeland d692b3baff - ArduPPM v2.3.0 (pre-release)
- Single channel fail-safe detection
2012-11-06 00:45:38 +01:00
Olivier ADLER a9f08c9cb3 ArduPPM: cleaning
case correction for PPM_Encoder.h include from Encoder-PPM.c. Minor comment change.
2012-11-03 12:35:44 +01:00
Olivier ADLER 70c6739fbf ArduPPM: PWM to PPM mode
PPM polarity reversing was not working when changing the Output PPM pin level before timer 1 / output compare init. The compare generator initialization was reverting the pin to low level. Instead of that a force match compare is used after timer / compare generator init to set the PPM output to high level.
2012-11-03 00:57:22 +01:00
Olivier ADLER fd4d944385 ArduPPM: PWM to PPM encoder mode
Added PPM output polarity selection - mainly for stand alone 8 channels encoder board.
2012-11-02 16:32:58 +01:00
John Arne Birkeland f4a4982328 ArduPPM V2.2.68 - Fixed possible logic flaw in throttle failsafe reset if _JITTER_FILTER_ is enabled 2012-06-04 22:55:15 +02:00
John Arne Birkeland eb84554d26 V2.2.67 - Implemented detection and failsafe (throttle = 900us) for missing throttle signal. 2012-06-03 02:42:39 +02:00
John Arne Birkeland 844e1c9695 ArduPPM V2.2.66
- Added APM2 (ATmega32U2) support for using TX and RX status leds to indicate PWM and PPM traffic

<RX><OFF> no pwm input detected
<RX><TOGGLE> speed of toggle indicate how many channels are active
<RX><ON> input lost (failsafe)
<TX><OFF> ppm output not started
<TX><FAST TOGGLE> normal PWM->PPM output or PPM passtrough failsafe
<TX><SLOW TOGGLE> PPM passtrough
2012-03-16 20:48:55 +01:00
Andrew Tridgell aab512636e ArduPPM: let the 2560 know when the USB is connected
this sets pin 23 on the 2560 according to whether the USB cable is
connected or not
2011-11-20 19:06:24 +11:00
John Arne Birkeland 893a0cca5a ArduPPM: New and improved PPM encoder firmware for APM 1.x boards with ATmega328p and new ones using ATMega32U2. 2011-10-01 00:12:22 +02:00