Spektrum DX2E (Fernsteuerung)

Aus Wiki
Wechseln zu: Navigation, Suche

Inhaltsverzeichnis

Fernsteuerung

Mikrocontroller

VCC
RA5 inversion switch throttle
RA4 inversion switch steering
RA3 bind button
RC5
RC4 X1TX0 pin 4 (SPI:MOSI)
RC3 X1TX0 pin 3 (SPI:SS)
RC6 X1TX0 pin 8 (SPI:SCLK)
RC7 trim potentiometer steering rate
RB7
GND
RA0
RA1
RA2
RC0
RC1 
RC2 throttle (yellow)
RB4 trim potentiometer steering
RB5 steering (blue)
RB5 trim potentiometer throttle
RB6

Sendemodul: X1TX0

18.37dBm 3E/3S/2S
Horizon Hobby Inc.
X1TX0 REVC
FCC ID: BRWDAMTX11
IC: 615 7A-AMTX11

Pinout (identisch mit AMTX11)

01 GND
02 3.3V power supply
03 SS (blue): from microcontroller pin RC3 to U2 pin 6 (P3[3], M)
04 MOSI (green): from microcontroller pin RC4 to U2 pin 19 (P3[2], M)
05 MISO; not used in remote control; connected to U2 pin 18 (P3[0], M)
06 n.c. in remote control, apparently[1] a PPM control channel? (white); to U2 pin 11 (P1[1], M, I2C, SPI)
07 n.c.
08 SCLK (brown): from microcontroller pin RC6
09 LED+ (grey): from green status LED
10 GND
11 n.c.
12 n.c.

In der Fernbedienung werden die Pins 3,4,8 und 9 zur Kommunikation zwischen Sendemodul und Mikrocontroller verwendet, Pin 6 kommt nicht zur Anwendung.

SS: SPI slave select

  • when low, data is transferred from microcontroller to sender module
  • at the same time data is sent back on pin 5, but not used by the remote control
  • pulse-to-pulse (rising edge): 5.5ms => ca. 180Hz
  • pulse duration: about 200us
  • voltage drop: 3.3V

MOSI: SPI master out / slave in - data from microcontroller to module

  • positive voltage signal pulses from microcontroller to sender module, while SS is low
  • pulse voltage: 3.3V
  • 4 blocks of pulses, each representing a binary encoded 16-bit value
    • unknown, steering, throttle, unknown
    • most significant bit first, first bit might be sign

SCLK: SPI clock

  • 8 x 8 bits
  • when SS goes low, 8 bursts of 28us length follow
  • each burst starts with a 4us pause
  • after the pause, 8x 3us-pulses follow
  • 64 bits in 200us equal a bitrate of 320 kBits/kHz
    • with BCM2835_SPI_CLOCK_DIVIDER_1024, the Raspberry Pi can output SPI at approx. 244 kHz

Anschluss an Raspberry Pi

Links

Empfänger

  • SR201

Links

Dual Channel Redundancy

dsm2fail1.jpg

Meine Werkzeuge
Namensräume
Varianten
Aktionen
Navigation
Werkzeuge