Skip to content

novval/UartRC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 

Repository files navigation

UartRC

Hover UART, Bluetooth, Wi-Fi remote control for Windows & Android.
The UART speed is 57600.

The format of the UART control command:

#define SERIAL_START_FRAME      0xABCD                  // [-] Start frame definition for serial commands

typedef enum {
    estJoystick = 0,
    estTank,
} TSteeringType;

typedef struct {
    TSteeringType   steeringType : sizeof(TSteeringType);
    uint16_t __reserved          : 16 - sizeof(TSteeringType);
} TMode;

typedef struct{
  uint16_t  start;
  int16_t   steer;
  int16_t   speed;
  TMode     mode;
  uint16_t  checksum;
} SerialCommand;

  cmd->start = SERIAL_START_FRAME;
  cmd->speed = m_speed;
  cmd->steer = m_steer;
  cmd->mode  = m_mode;
  cmd->checksum = (quint16)(cmd->start ^ cmd->steer ^ cmd->speed ^ cmd->mode);

Download app from releases https://github.com/novval/UartRC/releases

image

image

image

About

Hover UART, Bluetooth, Wi-Fi remote control

Resources

Stars

Watchers

Forks

Packages

No packages published