Difference between revisions of "RC Receivers and Radios"

From PaparazziUAV
Jump to navigation Jump to search
Line 120: Line 120:


== PCM Systems ==
== PCM Systems ==
Most of the known PCM transmitter also can be set to PPM mode. If this is set, then the regular description for PPM applies since the PCM receiver like a JR/Gaupner SMC16 Scan can output PPM perfectly.
If PPM out is not setable on your transmitter then the following applies:
# Must use ppm encoder board. (See [[Get_Hardware|Get Hardware]] page for suppliers)
# Must use ppm encoder board. (See [[Get_Hardware|Get Hardware]] page for suppliers)
# Needs a three position switch
# Needs a three position switch

Revision as of 03:36, 19 June 2012

2.4GHz Systems

If using a Lisa/M or Lisa/L autopilot board the whole range of Specktrum/JR transmitters can be used with 1 or 2 Spektrum/JR/Hobbyking satellite receivers. For other autopilot boards to use a 2.4 GHz system a few requirements are necessary

  1. Must use PPM Encoder board. (See Get Hardware page for suppliers) (Except for the Futaba FASST 7 channel receiver R617FS that has a 5 (not 7) channels combined pulse)
  2. Needs a three position switch
  3. Ability to set failsafe to any or at least 1 channel (pprz-mode) as desired
  4. At least one extra channel beyond those needed to control the servos and motor. (throttle-roll-pitch-mode)

Radios

Futaba FASST 7-channel receiver

Rs617fasst.jpg
  • Pin 8 (upper right corner in picture) of the small IC on the right contains 5 PPM pulses and can go directly to paparazzi. Pulse 6 and 7 go directly to the servos.
  • Best is to remove the resistors of one of the channels and connect a small wire to pin 8 to get the combined 5 pulses on the robust 1/10th inch header.
  • Do not forget to use channel 3 (only failsafe channel) as mode switch with fail safe "throttle off" as mode 2.

Robbe RASST 7 & 8 channed receivers

Robbe has produced line of Futaba FASST compatible receivers that can output only PPM which results ablility to plug into autopilot without encoder.

Spektrum DX-7

DX7.jpg
  • 7 Channels
  • 20-Model memory
  • Airplane and Heli software
  • Switch assignment
  • P-mixes
  • Includes 4 powerful DS821 digital servos with high-tech resin gears
  • 3-axis dual rate & expo
  • 3-position flap (Airplane)
  • 5-point throttle curve (Heli)
  • 3 flight modes plus hold (Heli)
  • Gyro programming (Heli)
  • CCPM, 2-servo 90°, 3-servo 90°, & 3-servo 120°
  • Price $320-$350



Switch Assignment

To assign the three position switch to any other channel but channel 7 follow these steps:

  1. Set up aux2(refers to aux2 on rx not the switch on the tx. aka ch7) with its input selected as 3 pos switch.
  2. Set up this mix - Gear to Gear (Up=-100, Down=-100, Offset =0). This inhibits the gear switch.
  3. Set up another mix - Aux2 to Gear (Up=100, Down=100, Offset = 0).

Notes:

  1. Gear on a DX-7 Air is Channel 5 and AUX2 is CH7. Once again i am referring to the inputs which are labeled on the RX not what the switches are named on the TX. If your using a DX-7 heli please substitute the names for what the rx channels are named into this guide
  2. DX7 Heli the 3-pos switch is named "flight mode"
  3. DX7 Air the 3-pos switch is named "flaps"
Failsafe Setup

To set up the mode channel (3 pos switch) to default to auto2 if connection is lost between rx and tx follow these steps:

  1. Put 3 position Switch into AUTO2 Position
  2. Put in bind plug
  3. Power up
  4. REMOVE the bind plug
  5. Power up Tx while pushing bind button
  6. Wait until light becomes steady and not blinking (it may become steady right off but will then start blinking again so let it go at least 5 seconds)

Receivers

Jeti Duplex 2.4 GHz Receiver Rsat 2

Jeti RSat 2
  • Outputs PPM, no soldering or PPM board required
  • Only 12 gramms
  • Full duplex technology provides safe radio link and redundant telemetry to standard paparazzi telemetry.
  • Transmitter module can be installed in any receiver.

See the official Homepage of Jeti or the MikroKopter Wiki.

Spektrum 2.4Ghz Satellite Receiver - Lisa/L implementation

Connection View
Remote Receiver [SPM9545]
  • Specifications
  • Lisa/L Radio_Control_Spektrum_Primary_Port = Uart 3
  • Lisa/L Radio_Control_Spektrum_Secondary_Port = Uart 5
  • arch files:~/paparazzi/sw/airborne/arch/stm32/subsystems/radio_control/spektrum-arch.h and .c
  • Additional hardware -

Molex CONN HOUSING 5POS 1.25MM - 51021-0500,

Molex CONN HOUSING 8POS 1.25MM - 51021-0800,

Molex Socket to free end crimped lead,300mm L,

Molex CONN TERM FEMALE 26-28AWG TIN,

Molex HAND TOOL 26-32AWG CRIMP

  • Transmitter options - Spektrum DX6, DX7(see above), DX8, bind compatible JR units up to 12 channels and those bearing the Specktrum DM9 module - note these transmitters must be channel order compatible with Spektrum's protocol (in fact all transmitters that use Spektrum protocol have the same channel ordering regardless which stays consistent across different modes (ie throttle on left / right etc))) - here is an example
Installation
  1. Cut off original receiver connector and crimp molex connector terminals to the three wires.
  2. Insert terminals into appropriate positions-CON_USART3-of the 5 way connector - black to pos1 = GND, orange to pos3 = +3v3, grey to pos5 = STM_USART3_RX.
Bind plug
  1. Take the 8 way molex connecter and create a loop between pos1 = GND and pos4 = XXX_STM_SPARE_2. This plug is placed in the-CON_SPARE-receptacle housing before power-up to enable the receiver binding state.
Configuration
  • Set the spektrum radio parameters for Lisa/M or Lisa/L ap in ~/paparazzi/conf/airframes.xml file. Check 'esden' directory as a possible rotorcraft example. Refer to ~/paparazzi/sw/airborne/arch/stm32/subsystems/radio_control/spektrum-arch.h and .c for other options. Be sure to set actuators, rotor configuration/mixes and channel reversal parameters that are appropriate for the rotorcraft/aircraft (note "lisa_l_1.0" can also be "lisa_m_1.5" or "lisa_m_2.0"):
<firmware name="rotorcraft">
    <target name="ap" board="lisa_l_1.0">
      <subsystem name="radio_control" type="spektrum"/>
      <subsystem name="actuators"     type="mkk"/>
      <subsystem name="telemetry"     type="transparent"/>
      <define name="RADIO_MODE" value="RADIO_AUX1"/>
      <define name="RADIO_KILL_SWITCH" value="RADIO_GEAR"/>
    </target>
<target name="stm_passthrough" board="lisa_l_1.0">
      <subsystem name="radio_control" type="spektrum"/>
      <subsystem name="imu" type="b2_v1.2"/>
    </target>
  • Create a new transmitter 'airplane' model. Do not introduce any mixes or change the endpoints, subtrims etc. Note that a radio.xml file is not required for this implementation, unlike analogue RC directed autopilots.
  • Upload ap software in the usual way.
  • Unplug the aircraft battery. Turn transmitter off. Insert the bind plug (see above) in the 8 way CON_SPARE receptacle. Power up the aircraft - specktrum receiver LED should be flashing in readiness to bind. Press and hold bind button on transmitter while turning on. Receiver LED should stop flashing after a few moments to confirm it is bound. Turn everything off in preparation to start in the normal way. Note that the transmitter should now be turned on first to enable the spektrum receiver to acknowledge it.
  • Should be ready to fly.
  • Adding a second spektrum satellite receiver requires different wiring dependent on the Lisa board version. As the pinouts to uart5 differ between Lisa-L v1.0 and v1.1. Seek advice from the paparazzi mailing list prior to making this addition.

To enable the use of the secondary satellite receiver you have to add two lines to your firmware section in the airframe file:

<define name="RADIO_CONTROL_SPEKTRUM_SECONDARY_PORT" value="UART5"/>
<define name="OVERRIDE_UART5_IRQ_HANDLER"/>

PCM Systems

Most of the known PCM transmitter also can be set to PPM mode. If this is set, then the regular description for PPM applies since the PCM receiver like a JR/Gaupner SMC16 Scan can output PPM perfectly.

If PPM out is not setable on your transmitter then the following applies:

  1. Must use ppm encoder board. (See Get Hardware page for suppliers)
  2. Needs a three position switch
  3. Ability to set failsafe to any channel as desired
  4. At least one extra channel beyond those needed to control the servos and motor.

PPM Based Systems

Configuration

The Radio_Control page describes how to set up the radio.xml config file.

Requirements

To use a 26/27/35/40/41/72/ MHz **(uses PPM) system a few requirements are necessary

  1. Need a Transmitter with a three position switch
  2. At least one extra channel beyond those needed to control the servos and motor.
  3. A modified receiver which outputs a full ppm signal.

Adding a 3 position switch

Futaba T6EXAP

For this particular transmitter, the Potentiometer on channel 6 can be replaced with a 3 position switch. Channel 5 appears not to be connected to an ADC converter; therefore it will not support a 3 position switch.

  1. Disconnect the potentiometer being careful not to shorten the wires
  2. Solder the switch and resistors onto the wires using the wiring diagram as a reference. (Any two equal value resistors should work). I used 10k resistors.
Switch wiring diagram
Switch installed in transmitter


Suitable 3 position switches:
RS Components: 344-710
Mouser: 633-M202402-RO

R/C Receiver Interface

All versions of the Paparazzi autopilot include a connector to interface with a standard R/C receiver for manual or semi-autonomous control during the testing and tuning phases. Two interface options exist:

  1. Tap into the PPM signal running between the RF section and the servo driver of your receiver and route it to the Paparazzi. Let the Paparazzi generate individual servo signals and connect all servos directly to the autopilot. This method requires only 3 wires to the receiver (power and PPM), is compatible with all Paparazzi autopilots, and provides 8 manual R/C channels and the potential for more autonomous channels regardless of the capability of the R/C receiver.
  2. Cut the PPM trace and route it thru the autopilot and back to the receiver, using the servo driver IC on your R/C receiver to drive the servos. This option requires 4 wires (Ground, PPM-in, PPM-out, Reset) and your receiver must have a supported servo driver IC. This allows you to use the large servo connectors on your R/C receiver and does not require any modification to your servos or ESC but does require you to cut a trace on your R/C receiver and limits the number of servos to the capacity of your receiver. Compatible with Classix and Tiny 1.1.
  3. Note that on the Classix the PPM_in pin is FOO2...
PPM Timing DiagramNote 1: Exact value not critical. Depending on RC Transmitter type & Manufacturer.
Note 2: Depending on Transmitter number of Channels and t,,n,, durations.
Note 3: Not critical. Depending on Synchro detection method.
3-Wire setup, driving servos from the autopilot
4-Wire setup, driving servos from the R/C receiver


Common demux chips

Typical used chips are the cmos 4015 and 4017.

The 4015 uses either pin 1 or pin 9 for the clock and the input is on 7 and 15. The 4017 has just one shift register and has its clock input on pin 14 and the enable on pint 13.

In most receivers you are after the clock; though some may be pulsed; in which case you need the enable. Note that the 4017 enable has inverted logic (low to be enabled) whereas the input on the 4015 can be either (typically high). If the enable pin is held low (4017) or if the input pin (4015) is held high always;e.g. connected to the ground or the Vcc - then it is fair to assume that the PPM signal is most propably on the clock input.

Recommended 35/40Mhz R/C Receivers

Note that there is information on modifying other receiver models at mikrokopter.de. It's in German however the pictures contain most of the information or use google translate. Shielded wire is recommended for receiver and autopilot connection, as unshielded one may cause noise in receiver.

Futaba FP-R116FB 6 Channel FM 35MHz receiver
Wiring of a Futaba R136
  • Orange wire is connected to PPM signal
  • Red wire is connected to VCC
  • Brown wire is connected to GND


Futaba R136F 6 Channel FM receiver
Wiring of a Futaba R136
  • 41 MHz
  • White wire is connected to PPM signal


Futaba R168DF 8 Channel dual FM receiver
Wiring of a Futaba R168DF
  • 35 MHz
  • PPM wire is connected to 862 receiver pin on the board. VCC and GND is on the 8/B original position.


ACT Micro-6 FM receiver
Wiring of a ACT Micro-6
  • Available in 35 or 40 MHz versions
  • White wire is connected to PPM signal
  • Datasheet (German)


ACT DSL-4top mikrokopter.de version
DSL-4top mikrokopter.de version
  • Special version for mikrokopter.de - Only available in their shop!
  • Outputs PPM directly on the channel 1 connector!
  • No soldering necessary
  • ACT Lifetime warranty
  • Sells for ~45 euro


Futaba R115F 5 Channel FM receiver
Wiring of a Futaba R115
  • Available in 35 and 40 MHz versions
  • White wire is connected to PPM signal


JETI REX 5 plus (no MPD) receiver
Wiring of a REX 5
  • Popular Czech made micro r/c receiver, available in 35 or 40 MHz versions
  • ´folded´ PCB design with parts inside, mostly inaccessable
  • Small grey wire is connected to via with PPM signal
  • Unusual connector used for testing, soldering recommended
  • shielded wire recommended, this one taken from PC parts recycling (former soundcard to m/b connector cable)
  • Datasheet (English)


other Layout of REX 5


Receiver RX-7-SYNTH IPD receiver Multiplex-rc.de
Wiring of RX-7-SYNTH IPD
  • Available in 35, 36 and 40 MHz versions
  • A compact, high-quality 7-channel single-conversion FM / PPM IPD receiver
  • Easy modification through connectors, see pictures


Protech 5FM 35 mHz Receiver

The low cost Protech '5FM' receiver makes use of an SMD version of the standard 74AHC164[1] 8 bit shift register; you are after PIN 1 of this chip. The circuit board has a testpad for just this pin at the top side of the circuit board.

Two physical versions exist; the older one [2] and a newer one pictured (fig 1). It has been distributed by protech with various ready-to-fly planes; such as the Skyraider[3].

The solder/testpad you are after the one right next the 74x164 chip its pin 1. In this image it has a jellow wire soldered to it (the yellow wire at the top left is the normal antenna connector (fig 2). Note however that the signal is not very clean (1v/div) - which may cause issues - as shown in the above image (fig 3).

This is further compunded by the relatively noisy electrical engines; which are not brushless. A ferrite coil does not seem to help enough - Papparazi and GPS loose sync often through Xbee. Replacing the engine by a brushless outrunnen resolve the issue completely.

Profi Penta 35 MHz

DSC00547.JPG DSC00545.JPG

Recommended 72Mhz R/C Receivers

Castle Creations Berg 4L

Wiring of a Berg 4L
  • Expect fantastic performance from these $40 USD parts but be warned that they are known to have unreliable crystal sockets and brittle antenna wire. The Berg 7 channel receiver should work equally well and is known to have a better crystal socket - note that either receiver will provide 8 channels in manual R/C mode when used with Paparazzi. Note: the rugged Berg 4 cannot be modified, only the Berg 4L and Berg 7.

To Modify a Berg4L, follow these instructions:

  1. Remove the shrink wrap. Use a good knife and be careful to not damage any of the components on the receiver. I would recommend that you cut on the sides (edge of the PCB) to be sure to avoid damaging the shielding
  2. Desolder the headers. We will not use them with tiny AP as the servos are connected directly to the AP. This is pretty easy to do when you have a hot air rework station. If you don't have one, your best bet is to cut the header off and remove the left over pins one by one with a regular iron. There is a piece of shielding material that is connected to one of the ground pins of the header. You need to remove it carefully from the header without damaging it and re-solder it to the gnd pad.
  3. You need to solder 3 wires to the receiver. Gnd, +5V and PPM. To locate the PPM signal, first locate the PIC micro controller close to the location of the headers. The PPM signal is on the corner pin closest to the corner of the receiver. Soldering a 28guage wire directly to the PIN isn't very difficult. For the power connection, use the pads that were used for the header. The outside pin is Gnd, the second pin is +5V. What I did is solder the wires on the pad going straight down, then I looped the 3 wires 360 degrees and glued them to the PCB with hot glue. This provides good strain relief.
  4. While you have the PCB in your hands, take the opportunity to remove the crystal connector and solder your crystal directly to the PCB for added reliability.
  5. I also used some hot glue to add more strain relief to the antenna
  6. Use some large shrink wrap to cover the entire receiver again
Hitec Electron 6 72MHz Reciever

This was written for MNAV from crossbow but is still usable with PPRZ.
Electron6mod.jpg


Corona Synthesized Dual-Conv Receiver 8Ch

manual

This receiver is available in 27,35,36,40,72 mhz and a Synthesized receiver, meaning you do not need to change frequency crystals.

How to modify for combined signal

  1. Cut the 8th channel PWM output pin near the PCB.
  2. Connected a pin from the Atmel (see picture) to the 8th channel PWM signal. (optionally, weaving the wire through some holes on the board.) Make sure you have a fine tip on your soldering iron and a magnifying glass strapped to your head!
  3. Glue the wire down (CA works)
  4. Be sure to glue the pin that you cut in place (previously, being soldered to the board was holding the pin in place)

It is maybe possible to reprogram the atmel with your own firmware. If you succeed in this plz add relevant info here.

That pin provides a 1V to 2V signal, it works with the PPRZ, although its a bit gittery (the slew rate is not real good).

Corona Synthesized Receiver 72Mhz bottom.jpg
Corona Synthesized Receiver 72Mhz top.jpg

Corona Synthesized Receiver 72Mhz top atmel.jpg


433MHz UHF Systems

Note that in most countries an amateur radio license is required to use 433MHz UHF.

Scherrer UHF

Scherrer UHF Rx

The Scherrer UHF is a high quality diversity radio control system. It has a PPM output and can be connected directely to Paparazzi. A ppm encoder board is not required. It has an RSSI output.


ImmersionRC EzUHF

ImmersionRC Tx

The ImmersionRC EzUHF is a high quality diversity radio control system. It does not have a PPM output. A ppm encoder board is required to connect to Paparazzi. It connects directely to EzOSD and the TrackR2 which enables RSSI monitoring and head tracking for FPV.