Forum Replies Created

  • In reply to: Using Flight Deck with BeagleBone Blue

    November 6, 2019 at 5:11 pm #26330
    7citiestyrent
    Participant

    4-Pin JST-SH is correct.
    The pin orentation might be upside down.

    The pinout diagram of the BB Blue is located:

    https://github.com/imfatant/test

    The UART5 pins in the diagram list the pins from left to right as:

    1: TxD
    2: RxD
    3: 3v3
    4: GND

    In reply to: Using Flight Deck with BeagleBone Blue

    November 6, 2019 at 4:33 pm #26328
    7citiestyrent
    Participant

    Hi Florent,

    As I’ve mentioned, ArduPilot is running on a BeagleBone Blue. It is a Linux SBC but the ArduPilot image has been compiled specific to the board.

    The ports are mapped with creation of the ArduPilot environment configuration text file:

    TELEM1=”-C /dev/ttyO1″
    TELEM2=”-A udp:<GCS IP address>:14550″
    GPS=”-B /dev/ttyO2″
    Unnamed=”-F /dev/ttyO5″

    Switch -C maps ArduPilot’s “Telem1” serial port (SERIAL1, default 57600) to the BBBlue’s UART. I have a Readytosky 3DR Radio 915Mhz 500MW Telemetry Kit Air and Ground Data Transmit Module connected to UART1. The Ground module is connected to USB on my GCS.
    Switch -A maps ArduPilot’s “Console” serial port (SERIAL0, default 115200) to a protocol, GCS IP address and port number. This is mavlink to GCS via wifi.
    Switch -B maps ArduPilot’s “GPS” serial port (SERIAL3, default 57600) to the BBBlue’s UART2 (marked ‘GPS’ on the board itself). I have a u-blox NEO-M8P connected to UART2.
    Switch -F maps one of ArduPilot’s “Unnamed” serial ports (SERIAL5, default 57600) to the BBBlue’s UART5. This is the port that is connected to the Frsky X8R SPort telemetry cable.

    It is also necessary to create the ArduPilot systemd service file, this one is for arducopter.service:

    [Unit]
    Description=ArduCopter Service
    After=networking.service
    StartLimitIntervalSec=0
    Conflicts=arduplane.service ardurover.service antennatracker.service

    [Service]
    EnvironmentFile=/etc/default/ardupilot
    ExecStartPre=/usr/bin/ardupilot/aphw
    ExecStart=/usr/bin/ardupilot/arducopter -C /dev/ttyO1 -A udp:192.168.0.69:14550 -B /dev/ttyO2 -F /dev/ttyO5

    Restart=on-failure
    RestartSec=1

    [Install]
    WantedBy=multi-user.target

    I have asked the person that created this port of Ardupilot for the BeagleBone Blue, Is it is possible to use the Frsky SPort telemetry?
    He has stated, ” FrsSky Telemetry will not work out of the box. You have to invert RX and TX and put them together “.

    I have browsed a few videos on YouTube that demonstrate the use of a program called BetaFlight and use of a special usb to SPort tool to make changes to Frsky Telemetry.

    How should I invert the RX and TX signals and put them together?

    Thank you for your time and assistance.
    Trent