SIK Telemetry Radio usage and documentation - Chr1st0h1/PHI-Copter GitHub Wiki

SiK Telemetry Radio V3 Documentation

Documentation SiK Radio from Holybro

SIK Telemetry Radio Usage and testing

1. Sending AT Commands to a SiK Radio on Ubuntu

Steps:

  1. Connect SiK Radio to USB Port:

    • Plug the SiK radio into a USB port on your Ubuntu laptop.
  2. Identify the Serial Port:

    • Run the following command to find the connected serial port:
      dmesg | grep ttyUSB
      
    • Look for an output like /dev/ttyUSB0.
  3. Install a Serial Communication Tool:

    • Install a terminal program like minicom:
      sudo apt update
      sudo apt install minicom
      
  4. Configure and Communicate:

    • Launch minicom and set the appropriate serial port and baud rate (e.g., 57600 or 115200).
      sudo minicom -s
      
    • Enter command mode by typing +++ (without pressing Enter). A response like OK confirms the radio is ready for AT commands.
    • Example AT commands:
      • ATI: Retrieve information about the SiK radio.
      • ATSx=yyy: Update specific settings (where x is the parameter, and yyy is the value).
    • Save settings using:
      AT&W
      

2. Transferring Data Using Two SiK Radios

Setup Overview

  • Two laptops, each with a connected SiK radio via USB.

Steps:

  1. Configure Radios:

    • Ensure both radios share matching configurations (e.g., baud rate, net ID, and frequency) using AT commands.
  2. Identify Serial Ports:

    • On each laptop, identify the respective serial ports:
      dmesg | grep ttyUSB
      
  3. Install Serial Communication Tools:

    • Install a tool like screen on both laptops:
      sudo apt install screen
      
  4. Open Communication:

    • On Laptop A:
      screen /dev/ttyUSB0 57600
      
    • On Laptop B:
      screen /dev/ttyUSB0 57600
      
  5. Send and Test Data:

    • Type messages in the terminal on Laptop A, and they should appear on Laptop B, and vice versa.
  6. Exit:

    • Exit screen with Ctrl+A, then K, and confirm with Y.

3. Filtering dmesg Logs for ttyUSB

To find the connected ttyUSB device:

dmesg | grep ttyUSB