Difference between revisions of "RC Receivers and Radios"
m (typo) |
|||
Line 15: | Line 15: | ||
* Do not forget to use channel 3 (only failsafe channel) as mode switch with fail safe "throttle off" as mode 2. | * 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 | ====Robbe RASST 7 & 8 channel receivers ==== | ||
Robbe has produced line of Futaba FASST compatible receivers that can output only PPM which results ablility to plug into autopilot without encoder. | Robbe has produced line of Futaba FASST compatible receivers that can output only PPM which results ablility to plug into autopilot without encoder. | ||
* [http://www.robbe.de/empfaenger-r-6007-sp-2-4-g-rasst.html R6007SP 2,4 GHz RASST] - 7 channel, for small aircraft | * [http://www.robbe.de/empfaenger-r-6007-sp-2-4-g-rasst.html R6007SP 2,4 GHz RASST] - 7 channel, for small aircraft |
Revision as of 14:42, 25 October 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
- 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)
- Needs a three position switch
- Ability to set failsafe to any or at least 1 channel (pprz-mode) as desired
- At least one extra channel beyond those needed to control the servos and motor. (throttle-roll-pitch-mode)
Radios
Futaba FASST 7-channel receiver
- 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 channel receivers
Robbe has produced line of Futaba FASST compatible receivers that can output only PPM which results ablility to plug into autopilot without encoder.
- R6007SP 2,4 GHz RASST - 7 channel, for small aircraft
- R6107SP 2,4 GHz RASST - 7 channel, >1000m range
- R6008SP 2,4 GHz RASST - 8 channel, upto 3000m range
Spektrum DX-7
- 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:
- Set up aux2(refers to aux2 on rx not the switch on the tx. aka ch7) with its input selected as 3 pos switch.
- Set up this mix - Gear to Gear (Up=-100, Down=-100, Offset =0). This inhibits the gear switch.
- Set up another mix - Aux2 to Gear (Up=100, Down=100, Offset = 0).
Notes:
- 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
- DX7 Heli the 3-pos switch is named "flight mode"
- 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:
- Put 3 position Switch into AUTO2 Position
- Put in bind plug
- Power up
- REMOVE the bind plug
- Power up Tx while pushing bind button
- 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
- 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
- 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
- Cut off original receiver connector and crimp molex connector terminals to the three wires.
- 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
- 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:
- Must use ppm encoder board. (See Get Hardware page for suppliers)
- Needs a three position switch
- Ability to set failsafe to any channel as desired
- 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
- Need a Transmitter with a three position switch
- At least one extra channel beyond those needed to control the servos and motor.
- 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.
- Disconnect the potentiometer being careful not to shorten the wires
- 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.
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:
- 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.
- 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.
- Note that on the Classix the PPM_in pin is FOO2...
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
- 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
- 41 MHz
- White wire is connected to PPM signal
Futaba R168DF 8 Channel dual FM receiver
- 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
- Available in 35 or 40 MHz versions
- White wire is connected to PPM signal
- Datasheet (German)
ACT 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
- Available in 35 and 40 MHz versions
- White wire is connected to PPM signal
JETI REX 5 plus (no MPD) receiver
- 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)
Receiver RX-7-SYNTH IPD receiver Multiplex-rc.de
- 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
Recommended 72Mhz R/C Receivers
Castle Creations 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:
- 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
- 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.
- 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.
- 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.
- I also used some hot glue to add more strain relief to the antenna
- 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.
Corona Synthesized Dual-Conv Receiver 8Ch
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
- Cut the 8th channel PWM output pin near the PCB.
- 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!
- Glue the wire down (CA works)
- 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).
433MHz UHF Systems
Note that in most countries an amateur radio license is required to use 433MHz UHF.
Scherrer UHF
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
The ImmersionRC EzUHF is a high quality diversity radio control system. The recent firmwares have a PPM output on Ch. 1, but this needs to be activated through the PC configuration software with the proper firmware loaded. It connects directly to EzOSD and the TrackR2 which enables RSSI monitoring and head tracking for FPV.
Some people had issues with the exact timing, where the ROLL channel disappeared. If the radio has more than 6 channels, there may be methods to slave another channel to the roll channel (usually for the operation of dual ailerons). The ezuhf configuration file is using this method, where channel 1 is copied to channel 6. The EzUHF modules receive the PPM output stream from the radio and need to interpret it. For this reason, the ezuhf configuration file should be verified for proper functioning and you may find that channels are remapped to others with different purposes.
Search "sander style" antennas for a way to build your own cheap, high-quality antennas for these rx modules and which provide a range well beyond the horizon.
See EzUHF manual+firmware for more information.
Flight mode switch
A important requirement is a three way flight mode switch to choose between the flight modes MANUAL, AUTO1 and AUTO2.
Cheap entry level radios often don't have this. As a workaround two two-position switches can be used.
The switch designated to RADIO_MODE will switch between MANUAL and AUTO And a second switch designated to RADIO_AUTO_MODE one will select between the different AUTO MODES if the first switch is set to AUTO.
File: conf/airframes/myplane.xml |
<firmware name="fixedwing or rotorcraft">
<define name="RADIO_MODE" value="RADIO_AUX2"/>
<define name="RADIO_AUTO_MODE" value="RADIO_AUX1"/>
</firmware>
|
This feature is available since v3.9.2.