Commit Graph

44 Commits

Author SHA1 Message Date
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 dc9438e57f ArduPPM(experimental): bug fix
- Removed compiled firmware files to prevent acidentally spreading of experimental firmware.
2012-11-22 17:07:05 +01:00
John Arne Birkeland e077814e77 ArduPPM(experimental): Active input channel detection during init 2012-11-22 16:54:04 +01:00
John Arne Birkeland e596978756 ArduPPM: Experimental PPM encoder to test possible fail-safe detection improvements. 2012-11-22 14:24:53 +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
Olivier ADLER fe2cd2685c ArduPPM: Redundancy mode
Frame rate change for standard PPM extended format.
2012-11-02 16:32:58 +01:00
Olivier ADLER 1de5b9a209 ArduPPM: Redundancy mode
#define correction for sync symbol limits
2012-11-02 16:32:57 +01:00
Olivier ADLER f7d5c372b9 ArduPPM : Redundancy mode
#define modifications for sync symbol detection and center pwm value correction
2012-10-29 22:22:48 +01:00
Olivier ADLER c750abfbf2 ArduPPM : Redundancy mode
Switchover : wait for end of PPM frame before switching
2012-10-28 01:33:23 +02:00
Olivier ADLER 7618c082c3 ArduPPM: Redundancy mode
Fixed logic problem in the decoder (PPM channel increment)
2012-10-27 23:41:08 +02:00
Olivier ADLER e0393e541c ArduPPM: redundancy mode
Channel count auto detection post processing code
Added a #define : valid frames threshold before detection validation
2012-10-21 23:46:16 +02:00
Olivier ADLER 0b171178b5 ArduPPM: Redundancy mode
Reworked the PPM decoder (i did forget the sync symbol pre-pulse)
Splitted pre-pulse and pulse width variable for better reliability and easier processing
2012-10-17 16:28:05 +02:00
Olivier ADLER 3784f326e8 ArduPPM: Redundancy mode
Base algorithm added for channel count auto detection in the decoder himself.
Replaced the #define for PPM_CHx_CHANNELS by PPM_CHx_MAX_CHANNELS.
Channel count #define was not needed anymore thanks to the channel count auto detection.
Channel detection post processing to do.
2012-10-15 22:49:01 +02:00
Olivier ADLER f84a12a5cb ArduPPM: Redundancy mode switchover algorithm
Auto Switchover algorithm with primary receiver switchback.
Force switchover channel moved to channel 9
Manual modifications.
2012-10-14 23:58:00 +02:00
Olivier ADLER 6558731cff ArduPPM: Redundancy mode
Dual input PPM decoder rework
flags for frame and channel error control
decoder algorithm rework
2012-10-14 01:10:52 +02:00
Olivier ADLER 1ce9e5107f ArduPPM: Redundancy mode
Work in progress
adding a channel pre pulse lengt #define for each PPM mode
dual channels PPM input capture interrupt algorithm
2012-10-13 14:59:03 +02:00
Olivier ADLER e22a01682e ArduPPM: PPM Redundancy mode
Some rework and cleaning for #define stuff
2012-10-12 19:08:19 +02:00
Olivier ADLER 5e65e5ef8a ArduPPM : Redundancy mode
Work in progress on a new Redundancy dual PPM sum mode for PPM encoder.

- New library PPM_Encoder_v3.h and new manual manual_v3.txt

- New format conversion capability between input and output PPM frame timings and channel count.

This will be experimental until heavily tested. The main goal is to allow the use of low cost satellite receivers in a high safety setup, and allow a new teacher / student RC mode without link between the two pilot transmitters.
2012-10-12 14:32:14 +02:00
Olivier ADLER ee3df88dc3 Rename: file rename
Small cleaning removing space in filename.
2012-10-11 14:47:03 +02:00
Olivier ADLER 42e0aafcd9 Protocols : Jeti telemetry description
This is the Jeti Telemetry protocol. Common in Europe for RC multicopters telemetry through 2.4 Ghz Jeti Duplex links.
2012-10-11 11:42:45 +02:00
Craig Elder 472ec189a9 Housekeeping: Removed copies of Libraries from Tools/ArduPPM/Workbasket. 2012-09-21 16:51:37 -07: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
Pat Hickey ff0fc26484 Cleanup: rename files with spaces in their names, replace with underscores
* Skipped /Tools/ArdupilotMegaPlanner/Resources/new...
  and /archive/Configurator/Source/Utilities/TDMS/G...
  because I don't want to mess with that.
2012-02-28 16:14:31 -08:00
Pat Hickey cc36964a44 Rename Jeti\ Duplex directory Jeti_Duplex.
* Spaces in file and directory names are poor form.
2012-01-15 11:24:37 -08:00
Olivier ADLER 635047eece ArduPPM : Added "Binaries" folder with latest compiled versions.
Include 400 mA USB power request modification.
2011-12-06 22:35:45 +01:00
Olivier ADLER 65b26d1453 ArduPPM for Mega 32U2 : upped requested USB power to 400 mA inside Arduino USB code. 2011-12-05 21:56:42 +01:00
Olivier ADLER 32e67d5a74 ArduPPM 0.9.87 minor manual correction 2011-11-25 01:16:49 +01:00
Olivier ADLER fcdd12e5a3 ArduPPM 0.9.87 manual update
Corrected failsafe values
Minor modifications
2011-11-24 21:48:50 +01:00
Olivier ADLER 091f031d58 * ArduPPM 0.9.87 update :
#define to allow Radio Passthrough mode was not working. Corrected.
Removed older hex file
2011-11-23 23:36:23 +01:00
Olivier ADLER db8efd3287 ArduPPM 0.9.86 update :
#define to allow Radio Passthrough mode disabling on APM v1.4 (hardware failsafe for Arduplane)
This is to allow for safe use of CH8 with Arducopter.
2011-11-21 02:22:36 +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
Andrew Tridgell 5aa962c880 ArduPPM: fixed paths for includes
this allows it to build on linux/macos
2011-11-20 19:06:24 +11:00
John Arne Birkeland c85ebedc6e Added windows USB drivers for the ATMega32U2 in the /Drivers/ folder
- Arduino MEGA 2560
- Atmel USB DFU
2011-10-11 11:01:15 +02:00
Michael Oborne f2fa24375e usbtiny dfu programing on windows 2011-10-09 13:51:06 +08:00
Olivier ADLER 1ca4936fc7 Added Jeti and Spektrum base code to ArduPPM/WorkBasket folder 2011-10-01 16:36:35 +02:00
Olivier ADLER 6cd90471d1 ArduPPM : modified library path 2011-10-01 16:18:39 +02: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